From 655e5919b965becb0644cd8e989290967d878514 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 19 Mar 2025 18:09:46 +0530 Subject: [PATCH 01/57] feat: added command to set log forwarding configs --- .../__tests__/set-log-forwarding.test.js | 235 ++++++++++++++++++ src/commands/api-mesh/set-log-forwarding.js | 158 ++++++++++++ src/helpers.js | 18 ++ src/lib/devConsole.js | 63 +++++ src/utils.js | 16 ++ 5 files changed, 490 insertions(+) create mode 100644 src/commands/api-mesh/__tests__/set-log-forwarding.test.js create mode 100644 src/commands/api-mesh/set-log-forwarding.js diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js new file mode 100644 index 00000000..da031b05 --- /dev/null +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -0,0 +1,235 @@ +/* +Copyright 2021 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +const SetLogForwardingCommand = require('../set-log-forwarding'); +const { + initSdk, + promptConfirm, + promptSelect, + promptInput, + promptInputSecret, +} = require('../../../helpers'); +const { getMeshId, setLogForwarding } = require('../../../lib/devConsole'); + +jest.mock('../../../helpers', () => ({ + initSdk: jest.fn().mockResolvedValue({}), + initRequestId: jest.fn().mockResolvedValue({}), + promptConfirm: jest.fn().mockResolvedValue(true), + promptSelect: jest.fn().mockResolvedValue('newrelic'), + promptInput: jest.fn().mockResolvedValue('https://log-api.newrelic.com/log/v1'), + promptInputSecret: jest.fn().mockResolvedValue('abcdef0123456789abcdef0123456789abcdef01'), +})); +jest.mock('../../../lib/devConsole'); +jest.mock('../../../classes/logger'); + +describe('SetLogForwardingCommand', () => { + let parseSpy; + let logSpy; + + beforeEach(() => { + // Setup spies and mock functions + parseSpy = jest.spyOn(SetLogForwardingCommand.prototype, 'parse').mockResolvedValue({ + flags: { + destination: 'newrelic', + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + logSpy = jest.spyOn(SetLogForwardingCommand.prototype, 'log'); + + initSdk.mockResolvedValue({ + imsOrgId: 'orgId', + imsOrgCode: 'orgCode', + projectId: 'projectId', + workspaceId: 'workspaceId', + workspaceName: 'workspaceName', + }); + getMeshId.mockResolvedValue('meshId'); + setLogForwarding.mockResolvedValue({ success: true }); + global.requestId = 'dummy_request_id'; + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + test('sets log forwarding with valid parameters', async () => { + const command = new SetLogForwardingCommand([], {}); + const result = await command.run(); + + expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', { + destination: 'newrelic', + config: { + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + }, + }); + expect(logSpy).toHaveBeenCalledWith('Log forwarding details set successfully.'); + expect(result).toEqual({ + success: true, + destination: 'newrelic', + imsOrgId: 'orgId', + projectId: 'projectId', + workspaceId: 'workspaceId', + workspaceName: 'workspaceName', + }); + }); + + test('throws an error if mesh ID is not found', async () => { + getMeshId.mockResolvedValueOnce(null); + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Unable to get mesh ID. Please check the details and try again. RequestId: dummy_request_id', + ); + }); + + test('throws an error if set log forwarding call to SMS fails', async () => { + setLogForwarding.mockRejectedValueOnce(new Error('Failed to set log forwarding')); + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Failed to set log forwarding details. Please try again. RequestId: dummy_request_id', + ); + }); + + test('throws an error if base URI does not include protocol', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + destination: 'newrelic', + baseUri: 'log-api.newrelic.com/log/v1', // Missing https:// + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'The URI value must include the protocol (https://)', + ); + }); + + test('throws an error if license key has wrong format', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + destination: 'newrelic', + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'wrongformat', // Too short + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'License key has wrong format. Expected: 40 characters (received: 11)', + ); + }); + + test('skips confirmation when autoConfirmAction flag is set', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + destination: 'newrelic', + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + ignoreCache: false, + autoConfirmAction: true, // Auto-confirm enabled + json: false, + }, + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptConfirm).not.toHaveBeenCalled(); + expect(setLogForwarding).toHaveBeenCalled(); + }); + + test('prompts for missing destination', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + // No destination provided + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); + }); + + test('throws an error if destination selection is cancelled', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + // No destination provided + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + promptSelect.mockResolvedValueOnce(null); // User cancels selection + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow('Destination is required'); + }); + + test('prompts for missing base URI', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + destination: 'newrelic', + // No baseUri provided + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptInput).toHaveBeenCalledWith('Enter base URI:', undefined); + }); + + test('prompts for missing license key', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + destination: 'newrelic', + baseUri: 'https://log-api.newrelic.com/log/v1', + // No licenseKey provided + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptInputSecret).toHaveBeenCalledWith('Enter New Relic license key:', undefined); + }); +}); diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js new file mode 100644 index 00000000..f64bbe40 --- /dev/null +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -0,0 +1,158 @@ +/* +Copyright 2021 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +const { Command } = require('@oclif/core'); +const { + initSdk, + initRequestId, + promptConfirm, + promptSelect, + promptInput, + promptInputSecret, +} = require('../../helpers'); +const logger = require('../../classes/logger'); +const { + ignoreCacheFlag, + autoConfirmActionFlag, + jsonFlag, + logForwardingDestinationFlag, + logForwardingBaseUriFlag, + logForwardingLicenseKeyFlag, +} = require('../../utils'); +const { setLogForwarding, getMeshId } = require('../../lib/devConsole'); + +class SetLogForwardingCommand extends Command { + static flags = { + ignoreCache: ignoreCacheFlag, + autoConfirmAction: autoConfirmActionFlag, + json: jsonFlag, + destination: logForwardingDestinationFlag, + baseUri: logForwardingBaseUriFlag, + licenseKey: logForwardingLicenseKeyFlag, + }; + + static enableJsonFlag = true; + + async run() { + await initRequestId(); + + logger.info(`RequestId: ${global.requestId}`); + + const { flags } = await this.parse(SetLogForwardingCommand); + + const ignoreCache = await flags.ignoreCache; + const autoConfirmAction = await flags.autoConfirmAction; + const { imsOrgId, imsOrgCode, projectId, workspaceId, workspaceName } = await initSdk({ + ignoreCache, + }); + + // For MVP, only New Relic is supported + const destinations = ['newrelic']; + + let meshId = null; + try { + meshId = await getMeshId(imsOrgCode, projectId, workspaceId, meshId); + if (!meshId) { + throw new Error('MeshIdNotFound'); + } + } catch (error) { + this.error( + `Unable to get mesh ID. Please check the details and try again. RequestId: ${global.requestId}`, + ); + } + + let destination = flags.destination; + if (!destination) { + destination = await promptSelect('Select log forwarding destination:', destinations); + if (!destination) { + this.error('Destination is required'); + return; + } + } + + // Get base URI from flag or prompt + let baseUri = flags.baseUri; + if (!baseUri) { + baseUri = await promptInput('Enter base URI:', baseUri); + if (!baseUri) { + this.error('Base URI is required'); + return; + } + } + + // Validate base URI from flag + if (!baseUri.startsWith('https://')) { + this.error('The URI value must include the protocol (https://)'); + return; + } + + // Get license key from flag or prompt + let licenseKey = flags.licenseKey; + if (!licenseKey) { + licenseKey = await promptInputSecret('Enter New Relic license key:', licenseKey); + if (!licenseKey) { + this.error('License key is required'); + return; + } + } + + if (licenseKey.length !== 40) { + this.error( + `License key has wrong format. Expected: 40 characters (received: ${licenseKey.length})`, + ); + return; + } + + let shouldContinue = true; + + if (!autoConfirmAction) { + shouldContinue = await promptConfirm( + `Are you sure you want to set log forwarding to New Relic?`, + ); + } + + if (shouldContinue) { + try { + // This function would need to be implemented in the devConsole lib + await setLogForwarding(imsOrgCode, projectId, workspaceId, { + destination: 'newrelic', + config: { + baseUri, + licenseKey, + }, + }); + + this.log('Log forwarding details set successfully.'); + + return { + success: true, + destination: 'newrelic', + imsOrgId, + projectId, + workspaceId, + workspaceName, + }; + } catch (error) { + this.log(error.message); + this.error( + `Failed to set log forwarding details. Please try again. RequestId: ${global.requestId}`, + ); + } + } else { + this.log('set-log-forwarding cancelled'); + return 'set-log-forwarding cancelled'; + } + } +} + +SetLogForwardingCommand.description = 'Set log forwarding destination for API mesh'; + +module.exports = SetLogForwardingCommand; diff --git a/src/helpers.js b/src/helpers.js index 842ba312..36edc367 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -520,6 +520,23 @@ async function promptInput(message) { return selected.item; } +/** + * Function to run the CLI selectable list + * + * @param {string} message - prompt message + */ +async function promptInputSecret(message) { + const selected = await inquirer.prompt([ + { + name: 'item', + message, + type: 'password', + }, + ]); + + return selected.item; +} + /** * Import the files in the files array in meshConfig * @@ -949,6 +966,7 @@ module.exports = { objToString, promptInput, promptConfirm, + promptInputSecret, getLibConsoleCLI, getDevConsoleConfig, initSdk, diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index d25f4e57..5f543a7d 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1201,6 +1201,68 @@ const getLogsByRayId = async (organizationCode, projectId, workspaceId, meshId, } }; +/** + * Sets log forwarding configuration for a mesh + * @param {string} organizationCode - The IMS org code + * @param {string} projectId - The project ID + * @param {string} workspaceId - The workspace ID + * @param {Object} logConfig - The log forwarding configuration + * @returns {Promise} - The response from the API + */ +const setLogForwarding = async (organizationCode, projectId, workspaceId, logConfig) => { + const { accessToken } = await getDevConsoleConfig(); + const config = { + method: 'put', + url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh/log/forwarding`, + headers: { + 'Authorization': `Bearer ${accessToken}`, + 'Content-Type': 'application/json', + 'x-request-id': global.requestId, + 'x-api-key': SMS_API_KEY, + }, + data: JSON.stringify(logConfig), + }; + + logger.info( + 'Initiating PUT %s', + `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh/log/forwarding`, + ); + + try { + const response = await axios(config); + + logger.info('Response from PUT %s', response.status); + + if (response && response.status === 200) { + logger.info(`Log forwarding configuration: ${objToString(response, ['data'])}`); + return response.data; + } else { + // Non 200 response received + logger.error( + `Something went wrong: ${objToString( + response, + ['data'], + 'Unable to set log forwarding', + )}. Received ${response.status} response instead of 200`, + ); + + throw new Error( + `Something went wrong: ${objToString(response, ['data'], 'Unable to set log forwarding')}`, + ); + } + } catch (error) { + if (error.response && error.response.status === 404) { + // The request was made and the server responded with a 404 status code + logger.error('Mesh not found'); + throw new Error('Mesh not found'); + } else { + // The request was made and the server responded with a different status code + logger.error('Error while setting log forwarding'); + return null; + } + } +}; + module.exports = { getApiKeyCredential, describeMesh, @@ -1222,4 +1284,5 @@ module.exports = { getPresignedUrls, getLogsByRayId, cachePurge, + setLogForwarding, }; diff --git a/src/utils.js b/src/utils.js index 382deb1d..24c5763f 100644 --- a/src/utils.js +++ b/src/utils.js @@ -99,6 +99,19 @@ const logFilenameFlag = Flags.string({ required: true, }); +const logForwardingDestinationFlag = Flags.string({ + char: 'd', + description: 'Log forwarding destination (currently only supports "newrelic")', +}); + +const logForwardingBaseUriFlag = Flags.string({ + description: 'Base URI for the log forwarding destination', +}); + +const logForwardingLicenseKeyFlag = Flags.string({ + description: 'License key for the log forwarding destination', +}); + /** * Parse the meshConfig and get the list of (local) files to be imported * @@ -778,4 +791,7 @@ module.exports = { validateDateTimeFormat, localToUTCTime, cachePurgeAllActionFlag, + logForwardingDestinationFlag, + logForwardingBaseUriFlag, + logForwardingLicenseKeyFlag, }; From 94332ed1862ac42c3147eeb5976a10905198d5e7 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 19 Mar 2025 18:15:13 +0530 Subject: [PATCH 02/57] fix: function statements --- src/helpers.js | 3 ++- src/utils.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/helpers.js b/src/helpers.js index 36edc367..9e9c6fd5 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -521,9 +521,10 @@ async function promptInput(message) { } /** - * Function to run the CLI selectable list + * Function to prompt for a secret/password input that masks the characters * * @param {string} message - prompt message + * @returns {Promise} - the entered secret value */ async function promptInputSecret(message) { const selected = await inquirer.prompt([ diff --git a/src/utils.js b/src/utils.js index 24c5763f..46b7f596 100644 --- a/src/utils.js +++ b/src/utils.js @@ -101,7 +101,7 @@ const logFilenameFlag = Flags.string({ const logForwardingDestinationFlag = Flags.string({ char: 'd', - description: 'Log forwarding destination (currently only supports "newrelic")', + description: 'Log forwarding destination', }); const logForwardingBaseUriFlag = Flags.string({ From 84634689a5c36c90912abc5c6e1e67a54067b1eb Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 19 Mar 2025 21:01:21 +0530 Subject: [PATCH 03/57] fix: remove flags for configs --- .../__tests__/set-log-forwarding.test.js | 123 ++++++++++-------- src/commands/api-mesh/set-log-forwarding.js | 47 ++----- src/lib/devConsole.js | 3 +- src/utils.js | 16 --- 4 files changed, 84 insertions(+), 105 deletions(-) diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js index da031b05..3c81275f 100644 --- a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -39,13 +39,11 @@ describe('SetLogForwardingCommand', () => { // Setup spies and mock functions parseSpy = jest.spyOn(SetLogForwardingCommand.prototype, 'parse').mockResolvedValue({ flags: { - destination: 'newrelic', - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', ignoreCache: false, autoConfirmAction: false, json: false, }, + args: [], // Empty args since we'll use prompts }); logSpy = jest.spyOn(SetLogForwardingCommand.prototype, 'log'); @@ -66,10 +64,14 @@ describe('SetLogForwardingCommand', () => { jest.clearAllMocks(); }); + /** Success Case */ test('sets log forwarding with valid parameters', async () => { const command = new SetLogForwardingCommand([], {}); const result = await command.run(); + expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); + expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); + expect(promptInputSecret).toHaveBeenCalledWith('Enter New Relic license key:'); expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', { destination: 'newrelic', config: { @@ -88,6 +90,7 @@ describe('SetLogForwardingCommand', () => { }); }); + /** Error Cases */ test('throws an error if mesh ID is not found', async () => { getMeshId.mockResolvedValueOnce(null); @@ -106,17 +109,9 @@ describe('SetLogForwardingCommand', () => { ); }); + /** Input Validation */ test('throws an error if base URI does not include protocol', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - destination: 'newrelic', - baseUri: 'log-api.newrelic.com/log/v1', // Missing https:// - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', - ignoreCache: false, - autoConfirmAction: false, - json: false, - }, - }); + promptInput.mockResolvedValueOnce('log-api.newrelic.com/log/v1'); // Missing https:// const command = new SetLogForwardingCommand([], {}); await expect(command.run()).rejects.toThrow( @@ -125,16 +120,7 @@ describe('SetLogForwardingCommand', () => { }); test('throws an error if license key has wrong format', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - destination: 'newrelic', - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'wrongformat', // Too short - ignoreCache: false, - autoConfirmAction: false, - json: false, - }, - }); + promptInputSecret.mockResolvedValueOnce('wrongformat'); // Too short const command = new SetLogForwardingCommand([], {}); await expect(command.run()).rejects.toThrow( @@ -142,35 +128,16 @@ describe('SetLogForwardingCommand', () => { ); }); - test('skips confirmation when autoConfirmAction flag is set', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - destination: 'newrelic', - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', - ignoreCache: false, - autoConfirmAction: true, // Auto-confirm enabled - json: false, - }, - }); - - const command = new SetLogForwardingCommand([], {}); - await command.run(); - - expect(promptConfirm).not.toHaveBeenCalled(); - expect(setLogForwarding).toHaveBeenCalled(); - }); - + /** User Interaction */ test('prompts for missing destination', async () => { parseSpy.mockResolvedValueOnce({ flags: { // No destination provided - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', ignoreCache: false, autoConfirmAction: false, json: false, }, + args: [], }); const command = new SetLogForwardingCommand([], {}); @@ -183,12 +150,11 @@ describe('SetLogForwardingCommand', () => { parseSpy.mockResolvedValueOnce({ flags: { // No destination provided - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', ignoreCache: false, autoConfirmAction: false, json: false, }, + args: [], }); promptSelect.mockResolvedValueOnce(null); // User cancels selection @@ -200,36 +166,85 @@ describe('SetLogForwardingCommand', () => { test('prompts for missing base URI', async () => { parseSpy.mockResolvedValueOnce({ flags: { - destination: 'newrelic', - // No baseUri provided - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', ignoreCache: false, autoConfirmAction: false, json: false, }, + args: [], }); const command = new SetLogForwardingCommand([], {}); await command.run(); - expect(promptInput).toHaveBeenCalledWith('Enter base URI:', undefined); + expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); }); test('prompts for missing license key', async () => { parseSpy.mockResolvedValueOnce({ flags: { - destination: 'newrelic', - baseUri: 'https://log-api.newrelic.com/log/v1', - // No licenseKey provided ignoreCache: false, autoConfirmAction: false, json: false, }, + args: [], + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptInputSecret).toHaveBeenCalledWith('Enter New Relic license key:'); + }); + + test('throws an error if base URI is empty', async () => { + promptInput.mockResolvedValueOnce(''); // Empty base URI + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow('Base URI is required'); + }); + + test('throws an error if license key is empty', async () => { + promptInputSecret.mockResolvedValueOnce(''); // Empty license key + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow('License key is required'); + }); + + test('returns cancellation message when user declines confirmation', async () => { + promptConfirm.mockResolvedValueOnce(false); // User declines + + const command = new SetLogForwardingCommand([], {}); + const result = await command.run(); + + expect(result).toBe('set-log-forwarding cancelled'); + expect(setLogForwarding).not.toHaveBeenCalled(); + }); + + test('logs error message when setLogForwarding fails', async () => { + const errorMessage = 'API call failed'; + setLogForwarding.mockRejectedValueOnce(new Error(errorMessage)); + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Failed to set log forwarding details. Please try again. RequestId: dummy_request_id', + ); + expect(logSpy).toHaveBeenCalledWith(errorMessage); + }); + + /** Flag Handling */ + test('skips confirmation when autoConfirmAction flag is set', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + ignoreCache: false, + autoConfirmAction: true, // Auto-confirm enabled + json: false, + }, + args: [], }); const command = new SetLogForwardingCommand([], {}); await command.run(); - expect(promptInputSecret).toHaveBeenCalledWith('Enter New Relic license key:', undefined); + expect(promptConfirm).not.toHaveBeenCalled(); + expect(setLogForwarding).toHaveBeenCalled(); }); }); diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index f64bbe40..716d27a8 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -19,14 +19,7 @@ const { promptInputSecret, } = require('../../helpers'); const logger = require('../../classes/logger'); -const { - ignoreCacheFlag, - autoConfirmActionFlag, - jsonFlag, - logForwardingDestinationFlag, - logForwardingBaseUriFlag, - logForwardingLicenseKeyFlag, -} = require('../../utils'); +const { ignoreCacheFlag, autoConfirmActionFlag, jsonFlag } = require('../../utils'); const { setLogForwarding, getMeshId } = require('../../lib/devConsole'); class SetLogForwardingCommand extends Command { @@ -34,9 +27,6 @@ class SetLogForwardingCommand extends Command { ignoreCache: ignoreCacheFlag, autoConfirmAction: autoConfirmActionFlag, json: jsonFlag, - destination: logForwardingDestinationFlag, - baseUri: logForwardingBaseUriFlag, - licenseKey: logForwardingLicenseKeyFlag, }; static enableJsonFlag = true; @@ -69,39 +59,31 @@ class SetLogForwardingCommand extends Command { ); } - let destination = flags.destination; + // Prompt for destination + let destination = await promptSelect('Select log forwarding destination:', destinations); if (!destination) { - destination = await promptSelect('Select log forwarding destination:', destinations); - if (!destination) { - this.error('Destination is required'); - return; - } + this.error('Destination is required'); + return; } - // Get base URI from flag or prompt - let baseUri = flags.baseUri; + // Prompt for base URI + let baseUri = await promptInput('Enter base URI:'); if (!baseUri) { - baseUri = await promptInput('Enter base URI:', baseUri); - if (!baseUri) { - this.error('Base URI is required'); - return; - } + this.error('Base URI is required'); + return; } - // Validate base URI from flag + // Validate base URI if (!baseUri.startsWith('https://')) { this.error('The URI value must include the protocol (https://)'); return; } - // Get license key from flag or prompt - let licenseKey = flags.licenseKey; + // Prompt for license key + let licenseKey = await promptInputSecret('Enter New Relic license key:'); if (!licenseKey) { - licenseKey = await promptInputSecret('Enter New Relic license key:', licenseKey); - if (!licenseKey) { - this.error('License key is required'); - return; - } + this.error('License key is required'); + return; } if (licenseKey.length !== 40) { @@ -121,7 +103,6 @@ class SetLogForwardingCommand extends Command { if (shouldContinue) { try { - // This function would need to be implemented in the devConsole lib await setLogForwarding(imsOrgCode, projectId, workspaceId, { destination: 'newrelic', config: { diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 5f543a7d..10de265f 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1212,7 +1212,7 @@ const getLogsByRayId = async (organizationCode, projectId, workspaceId, meshId, const setLogForwarding = async (organizationCode, projectId, workspaceId, logConfig) => { const { accessToken } = await getDevConsoleConfig(); const config = { - method: 'put', + method: 'POST', url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh/log/forwarding`, headers: { 'Authorization': `Bearer ${accessToken}`, @@ -1230,7 +1230,6 @@ const setLogForwarding = async (organizationCode, projectId, workspaceId, logCon try { const response = await axios(config); - logger.info('Response from PUT %s', response.status); if (response && response.status === 200) { diff --git a/src/utils.js b/src/utils.js index 46b7f596..382deb1d 100644 --- a/src/utils.js +++ b/src/utils.js @@ -99,19 +99,6 @@ const logFilenameFlag = Flags.string({ required: true, }); -const logForwardingDestinationFlag = Flags.string({ - char: 'd', - description: 'Log forwarding destination', -}); - -const logForwardingBaseUriFlag = Flags.string({ - description: 'Base URI for the log forwarding destination', -}); - -const logForwardingLicenseKeyFlag = Flags.string({ - description: 'License key for the log forwarding destination', -}); - /** * Parse the meshConfig and get the list of (local) files to be imported * @@ -791,7 +778,4 @@ module.exports = { validateDateTimeFormat, localToUTCTime, cachePurgeAllActionFlag, - logForwardingDestinationFlag, - logForwardingBaseUriFlag, - logForwardingLicenseKeyFlag, }; From b0b6cc53b2a7d5f5340b9f19ffcf6036ddabc6a8 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 19 Mar 2025 21:05:14 +0530 Subject: [PATCH 04/57] fix: logging statement --- src/lib/devConsole.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 10de265f..f55cba80 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1224,7 +1224,7 @@ const setLogForwarding = async (organizationCode, projectId, workspaceId, logCon }; logger.info( - 'Initiating PUT %s', + 'Initiating POST %s', `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh/log/forwarding`, ); From 3d6eaee4265e17761c7c58631a7070be096676e3 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 19 Mar 2025 21:25:46 +0530 Subject: [PATCH 05/57] chore: added command description --- src/commands/api-mesh/set-log-forwarding.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index 716d27a8..8c8219f1 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -134,6 +134,9 @@ class SetLogForwardingCommand extends Command { } } -SetLogForwardingCommand.description = 'Set log forwarding destination for API mesh'; +SetLogForwardingCommand.description = `Set log forwarding destination for API mesh. +- Select a log forwarding destination: Choose from available options ( example : newrelic). +- Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : \`https://\`). +- Enter the license key: Provide the license key for authentication with the log forwarding service. The key must be 40 characters long.`; module.exports = SetLogForwardingCommand; From 7536856bd4598144d97c99044f1c53a2a2c8311c Mon Sep 17 00:00:00 2001 From: ajaz Date: Fri, 21 Mar 2025 17:29:22 +0530 Subject: [PATCH 06/57] feat: updated code to support more destinations --- .../__tests__/set-log-forwarding.test.js | 118 +++++++--------- src/commands/api-mesh/set-log-forwarding.js | 131 ++++++++++-------- src/lib/devConsole.js | 73 +++++++--- src/utils.js | 44 ++++++ 4 files changed, 213 insertions(+), 153 deletions(-) diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js index 3c81275f..90c47f3e 100644 --- a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -34,6 +34,7 @@ jest.mock('../../../classes/logger'); describe('SetLogForwardingCommand', () => { let parseSpy; let logSpy; + let errorSpy; beforeEach(() => { // Setup spies and mock functions @@ -43,10 +44,13 @@ describe('SetLogForwardingCommand', () => { autoConfirmAction: false, json: false, }, - args: [], // Empty args since we'll use prompts + args: [], // Empty args since we are using prompts }); logSpy = jest.spyOn(SetLogForwardingCommand.prototype, 'log'); + errorSpy = jest.spyOn(SetLogForwardingCommand.prototype, 'error').mockImplementation(() => { + throw new Error(errorSpy.mock.calls[0][0]); + }); initSdk.mockResolvedValue({ imsOrgId: 'orgId', @@ -56,7 +60,7 @@ describe('SetLogForwardingCommand', () => { workspaceName: 'workspaceName', }); getMeshId.mockResolvedValue('meshId'); - setLogForwarding.mockResolvedValue({ success: true }); + setLogForwarding.mockResolvedValue({ success: true, result: true }); global.requestId = 'dummy_request_id'; }); @@ -64,48 +68,31 @@ describe('SetLogForwardingCommand', () => { jest.clearAllMocks(); }); - /** Success Case */ + /** Success Scenario */ test('sets log forwarding with valid parameters', async () => { const command = new SetLogForwardingCommand([], {}); - const result = await command.run(); + await command.run(); expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); - expect(promptInputSecret).toHaveBeenCalledWith('Enter New Relic license key:'); - expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', { + expect(promptInputSecret).toHaveBeenCalledWith('Enter license key:'); + expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'meshId', { destination: 'newrelic', config: { baseUri: 'https://log-api.newrelic.com/log/v1', licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', }, }); - expect(logSpy).toHaveBeenCalledWith('Log forwarding details set successfully.'); - expect(result).toEqual({ - success: true, - destination: 'newrelic', - imsOrgId: 'orgId', - projectId: 'projectId', - workspaceId: 'workspaceId', - workspaceName: 'workspaceName', - }); + expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); }); - /** Error Cases */ + /** Error Scenarios */ test('throws an error if mesh ID is not found', async () => { getMeshId.mockResolvedValueOnce(null); const command = new SetLogForwardingCommand([], {}); await expect(command.run()).rejects.toThrow( - 'Unable to get mesh ID. Please check the details and try again. RequestId: dummy_request_id', - ); - }); - - test('throws an error if set log forwarding call to SMS fails', async () => { - setLogForwarding.mockRejectedValueOnce(new Error('Failed to set log forwarding')); - - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'Failed to set log forwarding details. Please try again. RequestId: dummy_request_id', + 'Unable to get meshId. No mesh found for Org(orgCode) -> Project(projectId) -> Workspace(workspaceId). Check the details and try again.', ); }); @@ -124,11 +111,10 @@ describe('SetLogForwardingCommand', () => { const command = new SetLogForwardingCommand([], {}); await expect(command.run()).rejects.toThrow( - 'License key has wrong format. Expected: 40 characters (received: 11)', + `The license key is in the wrong format. Expected: 40 characters (received: ${11})`, ); }); - /** User Interaction */ test('prompts for missing destination', async () => { parseSpy.mockResolvedValueOnce({ flags: { @@ -163,38 +149,6 @@ describe('SetLogForwardingCommand', () => { await expect(command.run()).rejects.toThrow('Destination is required'); }); - test('prompts for missing base URI', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - ignoreCache: false, - autoConfirmAction: false, - json: false, - }, - args: [], - }); - - const command = new SetLogForwardingCommand([], {}); - await command.run(); - - expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); - }); - - test('prompts for missing license key', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - ignoreCache: false, - autoConfirmAction: false, - json: false, - }, - args: [], - }); - - const command = new SetLogForwardingCommand([], {}); - await command.run(); - - expect(promptInputSecret).toHaveBeenCalledWith('Enter New Relic license key:'); - }); - test('throws an error if base URI is empty', async () => { promptInput.mockResolvedValueOnce(''); // Empty base URI @@ -219,19 +173,25 @@ describe('SetLogForwardingCommand', () => { expect(setLogForwarding).not.toHaveBeenCalled(); }); - test('logs error message when setLogForwarding fails', async () => { - const errorMessage = 'API call failed'; - setLogForwarding.mockRejectedValueOnce(new Error(errorMessage)); + /** Flag Handling */ + test('skips confirmation when autoConfirmAction flag is set', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + ignoreCache: false, + autoConfirmAction: true, // Auto-confirm enabled + json: false, + }, + args: [], + }); const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'Failed to set log forwarding details. Please try again. RequestId: dummy_request_id', - ); - expect(logSpy).toHaveBeenCalledWith(errorMessage); + await command.run(); + + expect(promptConfirm).not.toHaveBeenCalled(); + expect(setLogForwarding).toHaveBeenCalled(); }); - /** Flag Handling */ - test('skips confirmation when autoConfirmAction flag is set', async () => { + test('sets log forwarding with auto-confirmation', async () => { parseSpy.mockResolvedValueOnce({ flags: { ignoreCache: false, @@ -245,6 +205,24 @@ describe('SetLogForwardingCommand', () => { await command.run(); expect(promptConfirm).not.toHaveBeenCalled(); - expect(setLogForwarding).toHaveBeenCalled(); + expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'meshId', { + destination: 'newrelic', + config: { + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + }, + }); + expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); + }); + + test('logs error message when setLogForwarding fails', async () => { + const errorMessage = 'Unable to set log forwarding details'; + setLogForwarding.mockRejectedValueOnce(new Error(errorMessage)); + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Failed to set log forwarding details. Try again. RequestId: dummy_request_id', + ); + expect(logSpy).toHaveBeenCalledWith(errorMessage); }); }); diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index 8c8219f1..3acbe46c 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -19,7 +19,7 @@ const { promptInputSecret, } = require('../../helpers'); const logger = require('../../classes/logger'); -const { ignoreCacheFlag, autoConfirmActionFlag, jsonFlag } = require('../../utils'); +const { ignoreCacheFlag, autoConfirmActionFlag, jsonFlag, destinations } = require('../../utils'); const { setLogForwarding, getMeshId } = require('../../lib/devConsole'); class SetLogForwardingCommand extends Command { @@ -40,103 +40,112 @@ class SetLogForwardingCommand extends Command { const ignoreCache = await flags.ignoreCache; const autoConfirmAction = await flags.autoConfirmAction; - const { imsOrgId, imsOrgCode, projectId, workspaceId, workspaceName } = await initSdk({ + + let destinationConfig; + try { + destinationConfig = await this.inputAndValidateConfigs(destinations); + } catch (error) { + this.error(error.message); + return; + } + const { imsOrgCode, projectId, workspaceId, workspaceName } = await initSdk({ ignoreCache, }); - // For MVP, only New Relic is supported - const destinations = ['newrelic']; - let meshId = null; + try { - meshId = await getMeshId(imsOrgCode, projectId, workspaceId, meshId); - if (!meshId) { - throw new Error('MeshIdNotFound'); - } - } catch (error) { + meshId = await getMeshId(imsOrgCode, projectId, workspaceId, workspaceName); + } catch (err) { + this.log(err.message); this.error( `Unable to get mesh ID. Please check the details and try again. RequestId: ${global.requestId}`, ); } - // Prompt for destination - let destination = await promptSelect('Select log forwarding destination:', destinations); - if (!destination) { - this.error('Destination is required'); - return; - } - - // Prompt for base URI - let baseUri = await promptInput('Enter base URI:'); - if (!baseUri) { - this.error('Base URI is required'); - return; - } - - // Validate base URI - if (!baseUri.startsWith('https://')) { - this.error('The URI value must include the protocol (https://)'); - return; - } - - // Prompt for license key - let licenseKey = await promptInputSecret('Enter New Relic license key:'); - if (!licenseKey) { - this.error('License key is required'); - return; - } - - if (licenseKey.length !== 40) { + // mesh could not be found + if (!meshId) { this.error( - `License key has wrong format. Expected: 40 characters (received: ${licenseKey.length})`, + `Unable to get meshId. No mesh found for Org(${imsOrgCode}) -> Project(${projectId}) -> Workspace(${workspaceId}). Check the details and try again.`, ); - return; } let shouldContinue = true; if (!autoConfirmAction) { shouldContinue = await promptConfirm( - `Are you sure you want to set log forwarding to New Relic?`, + `Are you sure you want to set log forwarding to ${destinationConfig.destination}?`, ); } if (shouldContinue) { try { - await setLogForwarding(imsOrgCode, projectId, workspaceId, { - destination: 'newrelic', - config: { - baseUri, - licenseKey, - }, - }); - - this.log('Log forwarding details set successfully.'); - - return { - success: true, - destination: 'newrelic', - imsOrgId, + const response = await setLogForwarding( + imsOrgCode, projectId, workspaceId, - workspaceName, - }; + meshId, + destinationConfig, + ); + if (response && response.result) { + this.log('Log forwarding successfully.'); + return { destinationConfig, imsOrgCode, projectId, workspaceId, workspaceName }; + } else { + this.error( + `Unable to set log forwarding details. Please try again. RequestId: ${global.requestId}`, + ); + return; + } } catch (error) { this.log(error.message); this.error( - `Failed to set log forwarding details. Please try again. RequestId: ${global.requestId}`, + `Failed to set log forwarding details. Try again. RequestId: ${global.requestId}`, ); } } else { - this.log('set-log-forwarding cancelled'); + this.log('log-forwarding cancelled'); return 'set-log-forwarding cancelled'; } } + + async inputAndValidateConfigs(destinations) { + // Prompt for destination + const destinationKey = await promptSelect( + 'Select log forwarding destination:', + Object.keys(destinations), + ); + if (!destinationKey) { + throw new Error('Destination is required'); + } + + const destinationConfig = destinations[destinationKey]; + const inputs = {}; + + // For each input defined in the destination config, prompt and validate + for (const inputConfig of destinationConfig.inputs) { + // Prompt for input value (regular or secret based on config) + const promptFn = inputConfig.isSecret ? promptInputSecret : promptInput; + const value = await promptFn(inputConfig.promptMessage); + + // Validate the input + if (inputConfig.validate) { + inputConfig.validate(value); + } + + // Store the validated input + inputs[inputConfig.name] = value; + } + + return { + destination: destinationConfig.name, + config: inputs, + }; + } } -SetLogForwardingCommand.description = `Set log forwarding destination for API mesh. +SetLogForwardingCommand.description = `Sets the log forwarding destination for API mesh. - Select a log forwarding destination: Choose from available options ( example : newrelic). -- Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : \`https://\`). +- Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : \`https://www.adobe.com\`). - Enter the license key: Provide the license key for authentication with the log forwarding service. The key must be 40 characters long.`; module.exports = SetLogForwardingCommand; diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index f55cba80..6759c5d2 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1202,18 +1202,17 @@ const getLogsByRayId = async (organizationCode, projectId, workspaceId, meshId, }; /** - * Sets log forwarding configuration for a mesh * @param {string} organizationCode - The IMS org code * @param {string} projectId - The project ID * @param {string} workspaceId - The workspace ID + * @param {string} meshId - The mesh ID * @param {Object} logConfig - The log forwarding configuration - * @returns {Promise} - The response from the API */ -const setLogForwarding = async (organizationCode, projectId, workspaceId, logConfig) => { +const setLogForwarding = async (organizationCode, projectId, workspaceId, meshId, logConfig) => { const { accessToken } = await getDevConsoleConfig(); const config = { method: 'POST', - url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh/log/forwarding`, + url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/log/forwarding`, headers: { 'Authorization': `Bearer ${accessToken}`, 'Content-Type': 'application/json', @@ -1225,39 +1224,69 @@ const setLogForwarding = async (organizationCode, projectId, workspaceId, logCon logger.info( 'Initiating POST %s', - `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh/log/forwarding`, + `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/log/forwarding`, ); try { const response = await axios(config); - logger.info('Response from PUT %s', response.status); - if (response && response.status === 200) { + logger.info('Response from POST %s', response.status); + + if (response?.status === 200) { logger.info(`Log forwarding configuration: ${objToString(response, ['data'])}`); - return response.data; + return { + result: response.data.result, + message: response.data.message, + }; } else { - // Non 200 response received + // not 200 response logger.error( `Something went wrong: ${objToString( response, ['data'], - 'Unable to set log forwarding', - )}. Received ${response.status} response instead of 200`, - ); - - throw new Error( - `Something went wrong: ${objToString(response, ['data'], 'Unable to set log forwarding')}`, + 'Unable to set log forwarding details.', + )}. Received ${response.status}, expected 200`, ); + throw new Error(response.data.message); } } catch (error) { - if (error.response && error.response.status === 404) { - // The request was made and the server responded with a 404 status code - logger.error('Mesh not found'); - throw new Error('Mesh not found'); + if (error.response && error.response.status === 400) { + // The request was made and the server responded with a 400 status code + logger.error('Error setting log forwarding configuration: %j', error.response.data); + + throw new Error('Invalid input parameters.'); + } + // request made but no response received + else if (error.request && !error.response) { + logger.error('No response received from server when setting log forwarding configuration'); + throw new Error('Unable to set log forwarding details. Check the details and try again.'); + } + // response received with error + else if (error.response && error.response.data) { + logger.error( + 'Error setting log forwarding configuration: %s', + objToString(error, ['response', 'data'], 'Unable to set log forwarding'), + ); + + // response a message or messages field + + if (error.response.data.message || error.response.data.messages) { + const message = objToString( + error, + ['response', 'data', 'message' || 'messages'], + 'Unable to set log forwarding', + ); + throw new Error(message); + } + // response contains error but no specific message field + else { + const message = objToString(error, ['response', 'data'], 'Unable to set log forwarding'); + throw new Error(message); + } } else { - // The request was made and the server responded with a different status code - logger.error('Error while setting log forwarding'); - return null; + // Something else happened while setting up the request + logger.error('Error setting log forwarding configuration: %s', error.message); + throw new Error(`Something went wrong while setting log forwarding. ${error.message}`); } } }; diff --git a/src/utils.js b/src/utils.js index 382deb1d..e4e18bb9 100644 --- a/src/utils.js +++ b/src/utils.js @@ -99,6 +99,49 @@ const logFilenameFlag = Flags.string({ required: true, }); +// The `destinations` object to hold the configuration for log forwarding destinations. +// It prompts for the required inputs for the destination. +// Each destination can have different key/value pairs of configuration credentials. +// and applies the validation logic accordingly. +const destinations = { + // Configuration for the 'newrelic' destination + newrelic: { + name: 'newrelic', + // Required inputs for the 'newrelic' destination + inputs: [ + { + name: 'baseUri', + promptMessage: 'Enter base URI:', + isSecret: false, + validate: value => { + if (!value) { + throw new Error('Base URI is required'); + } + if (!value.startsWith('https://')) { + throw new Error('The URI value must include the protocol (https://)'); + } + }, + }, + { + name: 'licenseKey', + promptMessage: 'Enter license key:', + isSecret: true, + validate: value => { + if (!value) { + throw new Error('License key is required'); + } + if (value.length !== 40) { + throw new Error( + `The license key is in the wrong format. Expected: 40 characters (received: ${value.length})`, + ); + } + }, + }, + ], + }, + // Additional destinations can be added here +}; + /** * Parse the meshConfig and get the list of (local) files to be imported * @@ -778,4 +821,5 @@ module.exports = { validateDateTimeFormat, localToUTCTime, cachePurgeAllActionFlag, + destinations, }; From 440c798825fcdf5cee0216036b1c31bea91b91c4 Mon Sep 17 00:00:00 2001 From: ajaz Date: Fri, 21 Mar 2025 18:23:36 +0530 Subject: [PATCH 07/57] chore: updated test name for newrelic destination --- .../__tests__/set-log-forwarding.test.js | 276 +++++++++--------- 1 file changed, 145 insertions(+), 131 deletions(-) diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js index 90c47f3e..78d237cd 100644 --- a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -68,161 +68,175 @@ describe('SetLogForwardingCommand', () => { jest.clearAllMocks(); }); - /** Success Scenario */ - test('sets log forwarding with valid parameters', async () => { - const command = new SetLogForwardingCommand([], {}); - await command.run(); - - expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); - expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); - expect(promptInputSecret).toHaveBeenCalledWith('Enter license key:'); - expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'meshId', { - destination: 'newrelic', - config: { - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', - }, + describe('Test newrelic destination', () => { + /** Success Scenario */ + test('sets log forwarding with valid parameters', async () => { + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); + expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); + expect(promptInputSecret).toHaveBeenCalledWith('Enter license key:'); + expect(setLogForwarding).toHaveBeenCalledWith( + 'orgCode', + 'projectId', + 'workspaceId', + 'meshId', + { + destination: 'newrelic', + config: { + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + }, + }, + ); + expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); }); - expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); - }); - - /** Error Scenarios */ - test('throws an error if mesh ID is not found', async () => { - getMeshId.mockResolvedValueOnce(null); - - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'Unable to get meshId. No mesh found for Org(orgCode) -> Project(projectId) -> Workspace(workspaceId). Check the details and try again.', - ); - }); - - /** Input Validation */ - test('throws an error if base URI does not include protocol', async () => { - promptInput.mockResolvedValueOnce('log-api.newrelic.com/log/v1'); // Missing https:// - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'The URI value must include the protocol (https://)', - ); - }); - - test('throws an error if license key has wrong format', async () => { - promptInputSecret.mockResolvedValueOnce('wrongformat'); // Too short - - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow( - `The license key is in the wrong format. Expected: 40 characters (received: ${11})`, - ); - }); + /** Error Scenarios */ + test('throws an error if mesh ID is not found', async () => { + getMeshId.mockResolvedValueOnce(null); - test('prompts for missing destination', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - // No destination provided - ignoreCache: false, - autoConfirmAction: false, - json: false, - }, - args: [], + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Unable to get meshId. No mesh found for Org(orgCode) -> Project(projectId) -> Workspace(workspaceId). Check the details and try again.', + ); }); - const command = new SetLogForwardingCommand([], {}); - await command.run(); + /** Input Validation */ + test('throws an error if base URI does not include protocol', async () => { + promptInput.mockResolvedValueOnce('log-api.newrelic.com/log/v1'); // Missing https:// - expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); - }); - - test('throws an error if destination selection is cancelled', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - // No destination provided - ignoreCache: false, - autoConfirmAction: false, - json: false, - }, - args: [], + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'The URI value must include the protocol (https://)', + ); }); - promptSelect.mockResolvedValueOnce(null); // User cancels selection + test('throws an error if license key has wrong format', async () => { + promptInputSecret.mockResolvedValueOnce('wrongformat'); // Too short - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow('Destination is required'); - }); - - test('throws an error if base URI is empty', async () => { - promptInput.mockResolvedValueOnce(''); // Empty base URI - - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow('Base URI is required'); - }); + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + `The license key is in the wrong format. Expected: 40 characters (received: ${11})`, + ); + }); - test('throws an error if license key is empty', async () => { - promptInputSecret.mockResolvedValueOnce(''); // Empty license key + test('prompts for missing destination', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + // No destination provided + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + args: [], + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); + }); - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow('License key is required'); - }); + test('throws an error if destination selection is cancelled', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + // No destination provided + ignoreCache: false, + autoConfirmAction: false, + json: false, + }, + args: [], + }); + + promptSelect.mockResolvedValueOnce(null); // User cancels selection + + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow('Destination is required'); + }); - test('returns cancellation message when user declines confirmation', async () => { - promptConfirm.mockResolvedValueOnce(false); // User declines + test('throws an error if base URI is empty', async () => { + promptInput.mockResolvedValueOnce(''); // Empty base URI - const command = new SetLogForwardingCommand([], {}); - const result = await command.run(); + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow('Base URI is required'); + }); - expect(result).toBe('set-log-forwarding cancelled'); - expect(setLogForwarding).not.toHaveBeenCalled(); - }); + test('throws an error if license key is empty', async () => { + promptInputSecret.mockResolvedValueOnce(''); // Empty license key - /** Flag Handling */ - test('skips confirmation when autoConfirmAction flag is set', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - ignoreCache: false, - autoConfirmAction: true, // Auto-confirm enabled - json: false, - }, - args: [], + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow('License key is required'); }); - const command = new SetLogForwardingCommand([], {}); - await command.run(); + test('returns cancellation message when user declines confirmation', async () => { + promptConfirm.mockResolvedValueOnce(false); // User declines - expect(promptConfirm).not.toHaveBeenCalled(); - expect(setLogForwarding).toHaveBeenCalled(); - }); + const command = new SetLogForwardingCommand([], {}); + const result = await command.run(); - test('sets log forwarding with auto-confirmation', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - ignoreCache: false, - autoConfirmAction: true, // Auto-confirm enabled - json: false, - }, - args: [], + expect(result).toBe('set-log-forwarding cancelled'); + expect(setLogForwarding).not.toHaveBeenCalled(); }); - const command = new SetLogForwardingCommand([], {}); - await command.run(); + /** Flag Handling */ + test('skips confirmation when autoConfirmAction flag is set', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + ignoreCache: false, + autoConfirmAction: true, // Auto-confirm enabled + json: false, + }, + args: [], + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptConfirm).not.toHaveBeenCalled(); + expect(setLogForwarding).toHaveBeenCalled(); + }); - expect(promptConfirm).not.toHaveBeenCalled(); - expect(setLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'meshId', { - destination: 'newrelic', - config: { - baseUri: 'https://log-api.newrelic.com/log/v1', - licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', - }, + test('sets log forwarding with auto-confirmation', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + ignoreCache: false, + autoConfirmAction: true, // Auto-confirm enabled + json: false, + }, + args: [], + }); + + const command = new SetLogForwardingCommand([], {}); + await command.run(); + + expect(promptConfirm).not.toHaveBeenCalled(); + expect(setLogForwarding).toHaveBeenCalledWith( + 'orgCode', + 'projectId', + 'workspaceId', + 'meshId', + { + destination: 'newrelic', + config: { + baseUri: 'https://log-api.newrelic.com/log/v1', + licenseKey: 'abcdef0123456789abcdef0123456789abcdef01', + }, + }, + ); + expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); }); - expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); - }); - test('logs error message when setLogForwarding fails', async () => { - const errorMessage = 'Unable to set log forwarding details'; - setLogForwarding.mockRejectedValueOnce(new Error(errorMessage)); + test('logs error message when setLogForwarding fails', async () => { + const errorMessage = 'Unable to set log forwarding details'; + setLogForwarding.mockRejectedValueOnce(new Error(errorMessage)); - const command = new SetLogForwardingCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'Failed to set log forwarding details. Try again. RequestId: dummy_request_id', - ); - expect(logSpy).toHaveBeenCalledWith(errorMessage); + const command = new SetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Failed to set log forwarding details. Try again. RequestId: dummy_request_id', + ); + expect(logSpy).toHaveBeenCalledWith(errorMessage); + }); }); }); From 64770d5d02d65eda15730ea2032313660b801db4 Mon Sep 17 00:00:00 2001 From: Sumaiya <108254100+AjazSumaiya@users.noreply.github.com> Date: Fri, 21 Mar 2025 18:25:02 +0530 Subject: [PATCH 08/57] Update error statement Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/set-log-forwarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index 3acbe46c..3a403a7f 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -59,7 +59,7 @@ class SetLogForwardingCommand extends Command { } catch (err) { this.log(err.message); this.error( - `Unable to get mesh ID. Please check the details and try again. RequestId: ${global.requestId}`, + `Unable to get mesh ID. Check the details and try again. RequestId: ${global.requestId}`, ); } From b4cc15eca93716495340864bfbfc856b6dbce3d5 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 26 Mar 2025 16:41:49 +0530 Subject: [PATCH 09/57] fix: review comments --- .mesh/.meshrc.json | 1 + .mesh/index.js | 213 + .mesh/package.json | 1 + .mesh/schema.graphql | 14556 ++ .../AdobeCommerceAPI/introspectionSchema.js | 126338 +++++++++++++++ .mesh/sources/AdobeCommerceAPI/schema.graphql | 14556 ++ .mesh/sources/AdobeCommerceAPI/types.js | 3 + .../__tests__/set-log-forwarding.test.js | 16 +- src/commands/api-mesh/set-log-forwarding.js | 6 +- src/utils.js | 8 +- 10 files changed, 155685 insertions(+), 13 deletions(-) create mode 100755 .mesh/.meshrc.json create mode 100644 .mesh/index.js create mode 100644 .mesh/package.json create mode 100644 .mesh/schema.graphql create mode 100644 .mesh/sources/AdobeCommerceAPI/introspectionSchema.js create mode 100644 .mesh/sources/AdobeCommerceAPI/schema.graphql create mode 100644 .mesh/sources/AdobeCommerceAPI/types.js diff --git a/.mesh/.meshrc.json b/.mesh/.meshrc.json new file mode 100755 index 00000000..f3b17a04 --- /dev/null +++ b/.mesh/.meshrc.json @@ -0,0 +1 @@ +{"sources":[{"name":"AdobeCommerceAPI","handler":{"graphql":{"endpoint":"https://venia.magento.com/graphql"}}}],"plugins":[{"httpDetailsExtensions":{}}],"additionalResolvers":[]} \ No newline at end of file diff --git a/.mesh/index.js b/.mesh/index.js new file mode 100644 index 00000000..7396b5f6 --- /dev/null +++ b/.mesh/index.js @@ -0,0 +1,213 @@ +"use strict"; +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.subscribe = exports.execute = exports.getBuiltMesh = exports.createBuiltMeshHTTPHandler = exports.getMeshOptions = exports.rawServeConfig = void 0; +var utils_1 = require("@graphql-mesh/utils"); +var utils_2 = require("@graphql-mesh/utils"); +var cache_localforage_1 = __importDefault(require("@graphql-mesh/cache-localforage")); +var fetch_1 = require("@whatwg-node/fetch"); +var graphql_1 = __importDefault(require("@graphql-mesh/graphql")); +var plugin_http_details_extensions_1 = __importDefault(require("../src/plugins/httpDetailsExtensions")); +var merger_bare_1 = __importDefault(require("@graphql-mesh/merger-bare")); +var http_1 = require("@graphql-mesh/http"); +var runtime_1 = require("@graphql-mesh/runtime"); +var store_1 = require("@graphql-mesh/store"); +var cross_helpers_1 = require("@graphql-mesh/cross-helpers"); +var importedModule$0 = __importStar(require("./sources/AdobeCommerceAPI/introspectionSchema")); +var baseDir = cross_helpers_1.path.join(typeof __dirname === 'string' ? __dirname : '/', '..'); +var importFn = function (moduleId) { + var relativeModuleId = (cross_helpers_1.path.isAbsolute(moduleId) ? cross_helpers_1.path.relative(baseDir, moduleId) : moduleId).split('\\').join('/').replace(baseDir + '/', ''); + switch (relativeModuleId) { + case ".mesh/sources/AdobeCommerceAPI/introspectionSchema": + return Promise.resolve(importedModule$0); + default: + return Promise.reject(new Error("Cannot find module '".concat(relativeModuleId, "'."))); + } +}; +var rootStore = new store_1.MeshStore('.mesh', new store_1.FsStoreStorageAdapter({ + cwd: baseDir, + importFn: importFn, + fileType: "ts", +}), { + readonly: true, + validate: false +}); +exports.rawServeConfig = undefined; +function getMeshOptions() { + return __awaiter(this, void 0, Promise, function () { + var pubsub, sourcesStore, logger, cache, sources, transforms, additionalEnvelopPlugins, adobeCommerceApiTransforms, additionalTypeDefs, adobeCommerceApiHandler, _a, _b, additionalResolvers, merger; + return __generator(this, function (_c) { + switch (_c.label) { + case 0: + pubsub = new utils_1.PubSub(); + sourcesStore = rootStore.child('sources'); + logger = new utils_2.DefaultLogger("🕸️ Mesh"); + cache = new cache_localforage_1.default(__assign(__assign({}, {}), { importFn: importFn, store: rootStore.child('cache'), pubsub: pubsub, logger: logger })); + sources = []; + transforms = []; + additionalEnvelopPlugins = []; + adobeCommerceApiTransforms = []; + additionalTypeDefs = []; + adobeCommerceApiHandler = new graphql_1.default({ + name: "AdobeCommerceAPI", + config: { "endpoint": "https://venia.magento.com/graphql" }, + baseDir: baseDir, + cache: cache, + pubsub: pubsub, + store: sourcesStore.child("AdobeCommerceAPI"), + logger: logger.child("AdobeCommerceAPI"), + importFn: importFn, + }); + sources[0] = { + name: 'AdobeCommerceAPI', + handler: adobeCommerceApiHandler, + transforms: adobeCommerceApiTransforms + }; + _a = additionalEnvelopPlugins; + _b = 0; + return [4 /*yield*/, (0, plugin_http_details_extensions_1.default)(__assign(__assign({}, ({})), { logger: logger.child("httpDetailsExtensions"), cache: cache, pubsub: pubsub, baseDir: baseDir, importFn: importFn }))]; + case 1: + _a[_b] = _c.sent(); + additionalResolvers = []; + merger = new merger_bare_1.default({ + cache: cache, + pubsub: pubsub, + logger: logger.child('bareMerger'), + store: rootStore.child('bareMerger') + }); + return [2 /*return*/, { + sources: sources, + transforms: transforms, + additionalTypeDefs: additionalTypeDefs, + additionalResolvers: additionalResolvers, + cache: cache, + pubsub: pubsub, + merger: merger, + logger: logger, + additionalEnvelopPlugins: additionalEnvelopPlugins, + get documents() { + return []; + }, + fetchFn: fetch_1.fetch, + }]; + } + }); + }); +} +exports.getMeshOptions = getMeshOptions; +function createBuiltMeshHTTPHandler() { + return (0, http_1.createMeshHTTPHandler)({ + baseDir: baseDir, + getBuiltMesh: getBuiltMesh, + rawServeConfig: undefined, + }); +} +exports.createBuiltMeshHTTPHandler = createBuiltMeshHTTPHandler; +var meshInstance$; +function getBuiltMesh() { + if (meshInstance$ == null) { + meshInstance$ = getMeshOptions().then(function (meshOptions) { return (0, runtime_1.getMesh)(meshOptions); }).then(function (mesh) { + var id = mesh.pubsub.subscribe('destroy', function () { + meshInstance$ = undefined; + mesh.pubsub.unsubscribe(id); + }); + return mesh; + }); + } + return meshInstance$; +} +exports.getBuiltMesh = getBuiltMesh; +var execute = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return getBuiltMesh().then(function (_a) { + var execute = _a.execute; + return execute.apply(void 0, args); + }); +}; +exports.execute = execute; +var subscribe = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return getBuiltMesh().then(function (_a) { + var subscribe = _a.subscribe; + return subscribe.apply(void 0, args); + }); +}; +exports.subscribe = subscribe; diff --git a/.mesh/package.json b/.mesh/package.json new file mode 100644 index 00000000..c759ce69 --- /dev/null +++ b/.mesh/package.json @@ -0,0 +1 @@ +{"name":"mesh-artifacts","private":true,"type":"commonjs","main":"index.js","module":"index.mjs","sideEffects":false,"typings":"index.d.ts","typescript":{"definition":"index.d.ts"},"exports":{".":{"require":"./index.js","import":"./index.mjs"},"./*":{"require":"./*.js","import":"./*.mjs"}}} \ No newline at end of file diff --git a/.mesh/schema.graphql b/.mesh/schema.graphql new file mode 100644 index 00000000..30ced4f2 --- /dev/null +++ b/.mesh/schema.graphql @@ -0,0 +1,14556 @@ +schema { + query: Query + mutation: Mutation +} + +type Query { + """ + Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options. + """ + attributesForm( + """Form code.""" + formCode: String! + ): AttributesFormOutput! + """Returns a list of attributes metadata for a given entity type.""" + attributesList( + """Entity type.""" + entityType: AttributeEntityTypeEnum! + """Identifies which filter inputs to search for and return.""" + filters: AttributeFilterInput + ): AttributesMetadataOutput + """ + Return details about custom EAV attributes, and optionally, system attributes. + """ + attributesMetadata( + """The type of entity to search.""" + entityType: AttributeEntityTypeEnum! + """An array of attribute IDs to search.""" + attributeUids: [ID!] + """Indicates whether to return matching system attributes as well.""" + showSystemAttributes: Boolean + ): AttributesMetadata @deprecated(reason: "Use Adobe Commerce `customAttributeMetadataV2` query instead") + """Get a list of available store views and their config information.""" + availableStores( + """Filter store views by the current store group.""" + useCurrentGroup: Boolean + ): [StoreConfig] + """Return information about the specified shopping cart.""" + cart( + """The unique ID of the cart to query.""" + cart_id: String! + ): Cart + """Return a list of categories that match the specified filter.""" + categories( + """Identifies which Category filter inputs to search for and return.""" + filters: CategoryFilterInput + """ + Specifies the maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): CategoryResult + """ + Search for categories that match the criteria specified in the `search` and `filter` attributes. + """ + category( + """The category ID to use as the root of the search.""" + id: Int + ): CategoryTree @deprecated(reason: "Use `categories` instead.") + """Return an array of categories based on the specified filters.""" + categoryList( + """Identifies which Category filter inputs to search for and return.""" + filters: CategoryFilterInput + """ + Specifies the maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): [CategoryTree] @deprecated(reason: "Use `categories` instead.") + """Return Terms and Conditions configuration information.""" + checkoutAgreements: [CheckoutAgreement] + """Return information about CMS blocks.""" + cmsBlocks( + """An array of CMS block IDs.""" + identifiers: [String] + ): CmsBlocks + """Return details about a CMS page.""" + cmsPage( + """The ID of the CMS page.""" + id: Int + """The identifier of the CMS page.""" + identifier: String + ): CmsPage + """ + Return detailed information about the customer's company within the current company context. + """ + company: Company + """Return products that have been added to the specified compare list.""" + compareList( + """The unique ID of the compare list to be queried.""" + uid: ID! + ): CompareList + """The countries query provides information for all countries.""" + countries: [Country] + """The countries query provides information for a single country.""" + country(id: String): Country + """Return information about the store's currency.""" + currency: Currency + """Return the attribute type, given an attribute code and entity type.""" + customAttributeMetadata( + """ + An input object that specifies the attribute code and entity type to search. + """ + attributes: [AttributeInput!]! + ): CustomAttributeMetadata @deprecated(reason: "Use `customAttributeMetadataV2` query instead.") + """Retrieve EAV attributes metadata.""" + customAttributeMetadataV2(attributes: [AttributeInput!]): AttributesMetadataOutput! + """Return detailed information about a customer account.""" + customer: Customer + """Return information about the customer's shopping cart.""" + customerCart: Cart! + """Return a list of downloadable products the customer has purchased.""" + customerDownloadableProducts: CustomerDownloadableProducts + customerOrders: CustomerOrders @deprecated(reason: "Use the `customer` query instead.") + """Return a list of customer payment tokens stored in the vault.""" + customerPaymentTokens: CustomerPaymentTokens + """Return a list of dynamic blocks filtered by type, location, or UIDs.""" + dynamicBlocks( + """Defines the filter for returning matching dynamic blocks.""" + input: DynamicBlocksFilterInput + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): DynamicBlocks! + """ + Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction. + """ + getHostedProUrl( + """An input object that specifies the cart ID.""" + input: HostedProUrlInput! + ): HostedProUrl + """ + Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods. + """ + getPayflowLinkToken( + """ + An input object that defines the requirements to receive a payment token. + """ + input: PayflowLinkTokenInput! + ): PayflowLinkToken + """Retrieves the payment configuration for a given location""" + getPaymentConfig( + """Defines the origin location for that payment request""" + location: PaymentLocation! + ): PaymentConfigOutput + """Retrieves the payment details for the order""" + getPaymentOrder( + """The customer cart ID""" + cartId: String! + """PayPal order ID""" + id: String! + ): PaymentOrderOutput + """Gets the payment SDK urls and values""" + getPaymentSDK( + """Defines the origin location for that payment request""" + location: PaymentLocation! + ): GetPaymentSDKOutput + """Retrieves the vault configuration""" + getVaultConfig: VaultConfigOutput + """Return details about a specific gift card.""" + giftCardAccount( + """An input object that specifies the gift card code.""" + input: GiftCardAccountInput! + ): GiftCardAccount + """ + Return the specified gift registry. Some details will not be available to guests. + """ + giftRegistry( + """The unique ID of the registry to search for.""" + giftRegistryUid: ID! + ): GiftRegistry + """Search for gift registries by specifying a registrant email address.""" + giftRegistryEmailSearch( + """The registrant's email.""" + email: String! + ): [GiftRegistrySearchResult] + """Search for gift registries by specifying a registry URL key.""" + giftRegistryIdSearch( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + ): [GiftRegistrySearchResult] + """ + Search for gift registries by specifying the registrant name and registry type ID. + """ + giftRegistryTypeSearch( + """The first name of the registrant.""" + firstName: String! + """The last name of the registrant.""" + lastName: String! + """The type UID of the registry.""" + giftRegistryTypeUid: ID + ): [GiftRegistrySearchResult] + """Get a list of available gift registry types.""" + giftRegistryTypes: [GiftRegistryType] + """Retrieve guest order details based on number, email and postcode.""" + guestOrder(input: OrderInformationInput!): CustomerOrder! + """Retrieve guest order details based on token.""" + guestOrderByToken(input: OrderTokenInput!): CustomerOrder! + """ + Check whether the specified email can be used to register a company admin. + """ + isCompanyAdminEmailAvailable(email: String!): IsCompanyAdminEmailAvailableOutput + """ + Check whether the specified email can be used to register a new company. + """ + isCompanyEmailAvailable(email: String!): IsCompanyEmailAvailableOutput + """Check whether the specified role name is valid for the company.""" + isCompanyRoleNameAvailable(name: String!): IsCompanyRoleNameAvailableOutput + """ + Check whether the specified email can be used to register a company user. + """ + isCompanyUserEmailAvailable(email: String!): IsCompanyUserEmailAvailableOutput + """ + Check whether the specified email has already been used to create a customer account. + """ + isEmailAvailable( + """The email address to check.""" + email: String! + ): IsEmailAvailableOutput + """Retrieve the specified negotiable quote.""" + negotiableQuote(uid: ID!): NegotiableQuote + """Retrieve the specified negotiable quote template.""" + negotiableQuoteTemplate(templateId: ID!): NegotiableQuoteTemplate + """ + Return a list of negotiable quote templates that can be viewed by the logged-in customer. + """ + negotiableQuoteTemplates( + """ + The filter to use to determine which negotiable quote templates to return. + """ + filter: NegotiableQuoteTemplateFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteTemplateSortInput + ): NegotiableQuoteTemplatesOutput + """ + Return a list of negotiable quotes that can be viewed by the logged-in customer. + """ + negotiableQuotes( + """The filter to use to determine which negotiable quotes to return.""" + filter: NegotiableQuoteFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteSortInput + ): NegotiableQuotesOutput + """ + The pickup locations query searches for locations that match the search request requirements. + """ + pickupLocations( + """Perform search by location using radius and search term.""" + area: AreaInput + """Apply filters by attributes.""" + filters: PickupLocationFilterInput + """ + Specifies which attribute to sort on, and whether to return the results in ascending or descending order. + """ + sort: PickupLocationSortInput + """ + The maximum number of pickup locations to return at once. The attribute is optional. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + """Information about products which should be delivered.""" + productsInfo: [ProductInfoInput] + ): PickupLocations + """ + Return the active ratings attributes and the values each rating can have. + """ + productReviewRatingsMetadata: ProductReviewRatingsMetadata! + """ + Search for products that match the criteria specified in the `search` and `filter` attributes. + """ + products( + """One or more keywords to use in a full-text search.""" + search: String + """The product attributes to search for and return.""" + filter: ProductAttributeFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + Specifies which attributes to sort on, and whether to return the results in ascending or descending order. + """ + sort: ProductAttributeSortInput + ): Products + """Returns details about Google reCAPTCHA V3-Invisible configuration.""" + recaptchaV3Config: ReCaptchaConfigurationV3 + """ + Return the full details for a specified product, category, or CMS page. + """ + route( + """A `url_key` appended by the `url_suffix, if one exists.""" + url: String! + ): RoutableInterface + searchTerm( + """An input of Search Term""" + Search: String + ): SearchTerm + """Return details about the store's configuration.""" + storeConfig: StoreConfig + """Return the relative URL for a specified product, category or CMS page.""" + urlResolver( + """A `url_key` appended by the `url_suffix, if one exists.""" + url: String! + ): EntityUrl @deprecated(reason: "Use the `route` query instead.") + """Return the contents of a customer's wish list.""" + wishlist: WishlistOutput @deprecated(reason: "Moved under `Customer.wishlist`.") +} + +type Mutation { + """Accept invitation to the company.""" + acceptCompanyInvitation(input: CompanyInvitationInput!): CompanyInvitationOutput + """Update an existing negotiable quote template.""" + acceptNegotiableQuoteTemplate( + """ + An input object that contains the data to update a negotiable quote template. + """ + input: AcceptNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """ + Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addBundleProductsToCart( + """An input object that defines which bundle products to add to the cart.""" + input: AddBundleProductsToCartInput + ): AddBundleProductsToCartOutput + """ + Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addConfigurableProductsToCart( + """ + An input object that defines which configurable products to add to the cart. + """ + input: AddConfigurableProductsToCartInput + ): AddConfigurableProductsToCartOutput + """ + Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addDownloadableProductsToCart( + """ + An input object that defines which downloadable products to add to the cart. + """ + input: AddDownloadableProductsToCartInput + ): AddDownloadableProductsToCartOutput + """Add registrants to the specified gift registry.""" + addGiftRegistryRegistrants( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array registrants to add.""" + registrants: [AddGiftRegistryRegistrantInput!]! + ): AddGiftRegistryRegistrantsOutput + """Add any type of product to the cart.""" + addProductsToCart( + """The cart ID of the shopper.""" + cartId: String! + """An array that defines the products to add to the cart.""" + cartItems: [CartItemInput!]! + ): AddProductsToCartOutput + """Add products to the specified compare list.""" + addProductsToCompareList( + """ + An input object that defines which products to add to an existing compare list. + """ + input: AddProductsToCompareListInput + ): CompareList + """Add items to the specified requisition list.""" + addProductsToRequisitionList( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """An array of products to be added to the requisition list.""" + requisitionListItems: [RequisitionListItemsInput!]! + ): AddProductsToRequisitionListOutput + """ + Add one or more products to the specified wish list. This mutation supports all product types. + """ + addProductsToWishlist( + """The ID of a wish list.""" + wishlistId: ID! + """An array of products to add to the wish list.""" + wishlistItems: [WishlistItemInput!]! + ): AddProductsToWishlistOutput + """Add a comment to an existing purchase order.""" + addPurchaseOrderComment(input: AddPurchaseOrderCommentInput!): AddPurchaseOrderCommentOutput + """Add purchase order items to the shopping cart.""" + addPurchaseOrderItemsToCart(input: AddPurchaseOrderItemsToCartInput!): AddProductsToCartOutput + """Add items in the requisition list to the customer's cart.""" + addRequisitionListItemsToCart( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """ + An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the requisition list will be added to the cart. + """ + requisitionListItemUids: [ID!] + ): AddRequisitionListItemsToCartOutput + """Add a comment to an existing return.""" + addReturnComment( + """An input object that defines a return comment.""" + input: AddReturnCommentInput! + ): AddReturnCommentOutput + """Add tracking information to the return.""" + addReturnTracking( + """An input object that defines tracking information.""" + input: AddReturnTrackingInput! + ): AddReturnTrackingOutput + """ + Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addSimpleProductsToCart( + """An input object that defines which simple products to add to the cart.""" + input: AddSimpleProductsToCartInput + ): AddSimpleProductsToCartOutput + """ + Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addVirtualProductsToCart( + """ + An input object that defines which virtual products to add to the cart. + """ + input: AddVirtualProductsToCartInput + ): AddVirtualProductsToCartOutput + """Add items in the specified wishlist to the customer's cart.""" + addWishlistItemsToCart( + """The unique ID of the wish list""" + wishlistId: ID! + """ + An array of IDs representing products to be added to the cart. If no IDs are specified, all items in the wishlist will be added to the cart + """ + wishlistItemIds: [ID!] + ): AddWishlistItemsToCartOutput + """Apply a pre-defined coupon code to the specified cart.""" + applyCouponToCart( + """An input object that defines the coupon code to apply to the cart.""" + input: ApplyCouponToCartInput + ): ApplyCouponToCartOutput + """Apply a pre-defined coupon code to the specified cart.""" + applyCouponsToCart( + """An input object that defines the coupon code to apply to the cart.""" + input: ApplyCouponsToCartInput + ): ApplyCouponToCartOutput + """Apply a pre-defined gift card code to the specified cart.""" + applyGiftCardToCart( + """An input object that specifies the gift card code and cart.""" + input: ApplyGiftCardToCartInput + ): ApplyGiftCardToCartOutput + """ + Apply all available points, up to the cart total. Partial redemption is not available. + """ + applyRewardPointsToCart(cartId: ID!): ApplyRewardPointsToCartOutput + """Apply store credit to the specified cart.""" + applyStoreCreditToCart( + """An input object that specifies the cart ID.""" + input: ApplyStoreCreditToCartInput! + ): ApplyStoreCreditToCartOutput + """Approve purchase orders.""" + approvePurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput + """Assign the specified compare list to the logged in customer.""" + assignCompareListToCustomer( + """The unique ID of the compare list to be assigned.""" + uid: ID! + ): AssignCompareListToCustomerOutput + """Assign a logged-in customer to the specified guest shopping cart.""" + assignCustomerToGuestCart(cart_id: String!): Cart! + """Cancel a negotiable quote template""" + cancelNegotiableQuoteTemplate( + """An input object that cancels a negotiable quote template.""" + input: CancelNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """Cancel the specified customer order.""" + cancelOrder(input: CancelOrderInput!): CancelOrderOutput + """Cancel purchase orders.""" + cancelPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput + """Change the password for the logged-in customer.""" + changeCustomerPassword( + """The customer's original password.""" + currentPassword: String! + """The customer's updated password.""" + newPassword: String! + ): Customer + """Remove all items from the specified cart.""" + clearCart( + """An input object that defines cart ID of the shopper.""" + input: ClearCartInput! + ): ClearCartOutput! + """Remove all items from the specified cart.""" + clearCustomerCart( + """The masked ID of the cart.""" + cartUid: String! + ): ClearCustomerCartOutput + """ + Mark a negotiable quote as closed. The negotiable quote is still visible on the storefront. + """ + closeNegotiableQuotes( + """An input object that closes a negotiable quote.""" + input: CloseNegotiableQuotesInput! + ): CloseNegotiableQuotesOutput + """Confirms the email address for a customer.""" + confirmEmail( + """An input object to identify the customer to confirm the email.""" + input: ConfirmEmailInput! + ): CustomerOutput + """Send a 'Contact Us' email to the merchant.""" + contactUs( + """An input object that defines shopper information.""" + input: ContactUsInput! + ): ContactUsOutput + """Copy items from one requisition list to another.""" + copyItemsBetweenRequisitionLists( + """The unique ID of the source requisition list.""" + sourceRequisitionListUid: ID! + """ + The unique ID of the destination requisition list. If null, a new requisition list will be created. + """ + destinationRequisitionListUid: ID + """The list of products to copy.""" + requisitionListItem: CopyItemsBetweenRequisitionListsInput + ): CopyItemsFromRequisitionListsOutput + """ + Copy products from one wish list to another. The original wish list is unchanged. + """ + copyProductsBetweenWishlists( + """The ID of the original wish list.""" + sourceWishlistUid: ID! + """The ID of the target wish list.""" + destinationWishlistUid: ID! + """An array of items to copy.""" + wishlistItems: [WishlistItemCopyInput!]! + ): CopyProductsBetweenWishlistsOutput + """Creates Client Token for Braintree Javascript SDK initialization.""" + createBraintreeClientToken: String! + """ + Creates Client Token for Braintree PayPal Javascript SDK initialization. + """ + createBraintreePayPalClientToken: String! + """ + Creates Client Token for Braintree PayPal Vault Javascript SDK initialization. + """ + createBraintreePayPalVaultClientToken(input: BraintreeVaultInput): String! + """Create a company at the request of either a customer or a guest.""" + createCompany(input: CompanyCreateInput!): CreateCompanyOutput + """Create a new company role.""" + createCompanyRole(input: CompanyRoleCreateInput!): CreateCompanyRoleOutput + """ + Create a new team for the customer's company within the current company context. + """ + createCompanyTeam(input: CompanyTeamCreateInput!): CreateCompanyTeamOutput + """Create a new company user at the request of an existing customer.""" + createCompanyUser(input: CompanyUserCreateInput!): CreateCompanyUserOutput + """ + Create a new compare list. The compare list is saved for logged in customers. + """ + createCompareList(input: CreateCompareListInput): CompareList + """Use `createCustomerV2` instead.""" + createCustomer( + """An input object that defines the customer to be created.""" + input: CustomerInput! + ): CustomerOutput + """Create a billing or shipping address for a customer or guest.""" + createCustomerAddress(input: CustomerAddressInput!): CustomerAddress + """Create a customer account.""" + createCustomerV2( + """An input object that defines the customer to be created.""" + input: CustomerCreateInput! + ): CustomerOutput + """Create an empty shopping cart for a guest or logged in user""" + createEmptyCart( + """An optional input object that assigns the specified ID to the cart.""" + input: createEmptyCartInput + ): String @deprecated(reason: "Use `Mutation.createGuestCart` or `Query.customerCart` for logged in customer") + """Create a gift registry on behalf of the customer.""" + createGiftRegistry( + """An input object that defines a new gift registry.""" + giftRegistry: CreateGiftRegistryInput! + ): CreateGiftRegistryOutput + """Create a new shopping cart""" + createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput + """ + Initiate a transaction and receive a token. Use this mutation for Payflow Pro and Payments Pro payment methods + """ + createPayflowProToken( + """ + An input object that defines the requirements to fetch payment token information. + """ + input: PayflowProTokenInput! + ): CreatePayflowProTokenOutput + """Creates a payment order for further payment processing""" + createPaymentOrder( + """ + Contains payment order details that are used while processing the payment order + """ + input: CreatePaymentOrderInput! + ): CreatePaymentOrderOutput + """ + Initiate an Express Checkout transaction and receive a token. Use this mutation for Express Checkout and Payments Standard payment methods. + """ + createPaypalExpressToken( + """ + An input object that defines the requirements to receive a payment token. + """ + input: PaypalExpressTokenInput! + ): PaypalExpressTokenOutput + """Create a product review for the specified product.""" + createProductReview( + """ + An input object that contains the details necessary to create a product review. + """ + input: CreateProductReviewInput! + ): CreateProductReviewOutput! + """Create a purchase order approval rule.""" + createPurchaseOrderApprovalRule(input: PurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule + """Create an empty requisition list.""" + createRequisitionList(input: CreateRequisitionListInput): CreateRequisitionListOutput + """Creates a vault payment token""" + createVaultCardPaymentToken( + """Describe the variables needed to create a vault card payment token""" + input: CreateVaultCardPaymentTokenInput! + ): CreateVaultCardPaymentTokenOutput + """Creates a vault card setup token""" + createVaultCardSetupToken( + """Describe the variables needed to create a vault card setup token""" + input: CreateVaultCardSetupTokenInput! + ): CreateVaultCardSetupTokenOutput + """Create a new wish list.""" + createWishlist( + """An input object that defines a new wish list.""" + input: CreateWishlistInput! + ): CreateWishlistOutput + """Delete the specified company role.""" + deleteCompanyRole(id: ID!): DeleteCompanyRoleOutput + """Delete the specified company team.""" + deleteCompanyTeam(id: ID!): DeleteCompanyTeamOutput + """Delete the specified company user.""" + deleteCompanyUser(id: ID!): DeleteCompanyUserOutput @deprecated(reason: "Use deleteCompanyUserV2 instead. The current method only deactivates the user account associated with the company.") + """Delete the specified company user.""" + deleteCompanyUserV2(id: ID!): DeleteCompanyUserOutput + """Delete the specified compare list.""" + deleteCompareList( + """The unique ID of the compare list to be deleted.""" + uid: ID! + ): DeleteCompareListOutput + """Delete customer account""" + deleteCustomer: Boolean + """Delete the billing or shipping address of a customer.""" + deleteCustomerAddress( + """The ID of the customer address to be deleted.""" + id: Int! + ): Boolean + """Delete a negotiable quote template""" + deleteNegotiableQuoteTemplate( + """An input object that cancels a negotiable quote template.""" + input: DeleteNegotiableQuoteTemplateInput! + ): Boolean! + """ + Delete a negotiable quote. The negotiable quote will not be displayed on the storefront. + """ + deleteNegotiableQuotes( + """An input object that deletes a negotiable quote.""" + input: DeleteNegotiableQuotesInput! + ): DeleteNegotiableQuotesOutput + """Delete a customer's payment token.""" + deletePaymentToken( + """The reusable payment token securely stored in the vault.""" + public_hash: String! + ): DeletePaymentTokenOutput + """Delete existing purchase order approval rules.""" + deletePurchaseOrderApprovalRule(input: DeletePurchaseOrderApprovalRuleInput!): DeletePurchaseOrderApprovalRuleOutput + """Delete a requisition list.""" + deleteRequisitionList( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + ): DeleteRequisitionListOutput + """Delete items from a requisition list.""" + deleteRequisitionListItems( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """ + An array of UIDs representing products to be removed from the requisition list. + """ + requisitionListItemUids: [ID!]! + ): DeleteRequisitionListItemsOutput + """ + Delete the specified wish list. You cannot delete the customer's default (first) wish list. + """ + deleteWishlist( + """The ID of the wish list to delete.""" + wishlistId: ID! + ): DeleteWishlistOutput + """Negotiable Quote resulting from duplication operation.""" + duplicateNegotiableQuote( + """An input object that defines ID of the quote to be duplicated.""" + input: DuplicateNegotiableQuoteInput! + ): DuplicateNegotiableQuoteOutput + """Estimate shipping method(s) for cart based on address""" + estimateShippingMethods( + """ + An input object that specifies details for estimation of available shipping methods + """ + input: EstimateTotalsInput! + ): [AvailableShippingMethod] + """Estimate totals for cart based on the address""" + estimateTotals( + """An input object that specifies details for cart totals estimation""" + input: EstimateTotalsInput! + ): EstimateTotalsOutput! + """Generate a token for specified customer.""" + generateCustomerToken( + """The customer's email address.""" + email: String! + """The customer's password.""" + password: String! + ): CustomerToken + """ + Request a customer token so that an administrator can perform remote shopping assistance. + """ + generateCustomerTokenAsAdmin( + """An input object that defines the customer email address.""" + input: GenerateCustomerTokenAsAdminInput! + ): GenerateCustomerTokenAsAdminOutput + """Generate a negotiable quote from an accept quote template.""" + generateNegotiableQuoteFromTemplate( + """ + An input object that contains the data to generate a negotiable quote from quote template. + """ + input: GenerateNegotiableQuoteFromTemplateInput! + ): GenerateNegotiableQuoteFromTemplateOutput + """ + Handle a payment response and save the payment in Quote. Use this mutation for Payflow Pro and Payments Pro payment methods. + """ + handlePayflowProResponse( + """ + An input object that includes the payload returned by PayPal and the cart ID. + """ + input: PayflowProResponseInput! + ): PayflowProResponseOutput + """ + Transfer the contents of a guest cart into the cart of a logged-in customer. + """ + mergeCarts( + """The guest's cart ID before they login.""" + source_cart_id: String! + """The cart ID after the guest logs in.""" + destination_cart_id: String + ): Cart! + """Move all items from the cart to a gift registry.""" + moveCartItemsToGiftRegistry( + """ + The unique ID of the cart containing items to be moved to a gift registry. + """ + cartUid: ID! + """The unique ID of the target gift registry.""" + giftRegistryUid: ID! + ): MoveCartItemsToGiftRegistryOutput + """Move Items from one requisition list to another.""" + moveItemsBetweenRequisitionLists( + """The unique ID of the source requisition list.""" + sourceRequisitionListUid: ID! + """ + The unique ID of the destination requisition list. If null, a new requisition list will be created. + """ + destinationRequisitionListUid: ID + """The list of products to move.""" + requisitionListItem: MoveItemsBetweenRequisitionListsInput + ): MoveItemsBetweenRequisitionListsOutput + """Move negotiable quote item to requisition list.""" + moveLineItemToRequisitionList( + """ + An input object that defines the quote item and requisition list moved to. + """ + input: MoveLineItemToRequisitionListInput! + ): MoveLineItemToRequisitionListOutput + """Move products from one wish list to another.""" + moveProductsBetweenWishlists( + """The ID of the original wish list.""" + sourceWishlistUid: ID! + """The ID of the target wish list.""" + destinationWishlistUid: ID! + """An array of items to move.""" + wishlistItems: [WishlistItemMoveInput!]! + ): MoveProductsBetweenWishlistsOutput + """Open an existing negotiable quote template.""" + openNegotiableQuoteTemplate( + """ + An input object that contains the data to open a negotiable quote template. + """ + input: OpenNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """Convert a negotiable quote into an order.""" + placeNegotiableQuoteOrder( + """An input object that specifies the negotiable quote.""" + input: PlaceNegotiableQuoteOrderInput! + ): PlaceNegotiableQuoteOrderOutput + """Convert the quote into an order.""" + placeOrder( + """An input object that defines the shopper's cart ID.""" + input: PlaceOrderInput + ): PlaceOrderOutput + """Convert the purchase order into an order.""" + placeOrderForPurchaseOrder(input: PlaceOrderForPurchaseOrderInput!): PlaceOrderForPurchaseOrderOutput + """Place a purchase order.""" + placePurchaseOrder(input: PlacePurchaseOrderInput!): PlacePurchaseOrderOutput + """Redeem a gift card for store credit.""" + redeemGiftCardBalanceAsStoreCredit( + """An input object that specifies the gift card code to redeem.""" + input: GiftCardAccountInput! + ): GiftCardAccount + """Reject purchase orders.""" + rejectPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput + """ + Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. + """ + removeCouponFromCart( + """ + An input object that defines which coupon code to remove from the cart. + """ + input: RemoveCouponFromCartInput + ): RemoveCouponFromCartOutput + """ + Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. + """ + removeCouponsFromCart( + """ + An input object that defines which coupon code to remove from the cart. + """ + input: RemoveCouponsFromCartInput + ): RemoveCouponFromCartOutput + """Removes a gift card from the cart.""" + removeGiftCardFromCart( + """ + An input object that specifies which gift card code to remove from the cart. + """ + input: RemoveGiftCardFromCartInput + ): RemoveGiftCardFromCartOutput + """Delete the specified gift registry.""" + removeGiftRegistry( + """The unique ID of the gift registry to delete.""" + giftRegistryUid: ID! + ): RemoveGiftRegistryOutput + """Delete the specified items from a gift registry.""" + removeGiftRegistryItems( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of item IDs to remove from the gift registry.""" + itemsUid: [ID!]! + ): RemoveGiftRegistryItemsOutput + """Removes registrants from a gift registry.""" + removeGiftRegistryRegistrants( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of registrant IDs to remove.""" + registrantsUid: [ID!]! + ): RemoveGiftRegistryRegistrantsOutput + """ + Delete the entire quantity of a specified item from the cart. If you remove all items from the cart, the cart continues to exist. + """ + removeItemFromCart( + """An input object that defines which products to remove from the cart.""" + input: RemoveItemFromCartInput + ): RemoveItemFromCartOutput + """Remove one or more products from a negotiable quote.""" + removeNegotiableQuoteItems( + """ + An input object that removes one or more items from a negotiable quote. + """ + input: RemoveNegotiableQuoteItemsInput! + ): RemoveNegotiableQuoteItemsOutput + """Remove one or more products from a negotiable quote template.""" + removeNegotiableQuoteTemplateItems( + """ + An input object that removes one or more items from a negotiable quote template. + """ + input: RemoveNegotiableQuoteTemplateItemsInput! + ): NegotiableQuoteTemplate + """Remove products from the specified compare list.""" + removeProductsFromCompareList( + """ + An input object that defines which products to remove from a compare list. + """ + input: RemoveProductsFromCompareListInput + ): CompareList + """Remove one or more products from the specified wish list.""" + removeProductsFromWishlist( + """The ID of a wish list.""" + wishlistId: ID! + """An array of item IDs representing products to be removed.""" + wishlistItemsIds: [ID!]! + ): RemoveProductsFromWishlistOutput + """Remove a tracked shipment from a return.""" + removeReturnTracking( + """An input object that removes tracking information.""" + input: RemoveReturnTrackingInput! + ): RemoveReturnTrackingOutput + """Cancel the application of reward points to the cart.""" + removeRewardPointsFromCart(cartId: ID!): RemoveRewardPointsFromCartOutput + """Remove store credit that has been applied to the specified cart.""" + removeStoreCreditFromCart( + """An input object that specifies the cart ID.""" + input: RemoveStoreCreditFromCartInput! + ): RemoveStoreCreditFromCartOutput + """Rename negotiable quote.""" + renameNegotiableQuote( + """An input object that defines the quote item name and comment.""" + input: RenameNegotiableQuoteInput! + ): RenameNegotiableQuoteOutput + """Add all products from a customer's previous order to the cart.""" + reorderItems(orderNumber: String!): ReorderItemsOutput + """Request a new negotiable quote on behalf of the buyer.""" + requestNegotiableQuote( + """ + An input object that contains a request to initiate a negotiable quote. + """ + input: RequestNegotiableQuoteInput! + ): RequestNegotiableQuoteOutput + """Request a new negotiable quote on behalf of the buyer.""" + requestNegotiableQuoteTemplateFromQuote( + """ + An input object that contains a request to initiate a negotiable quote template. + """ + input: RequestNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """ + Request an email with a reset password token for the registered customer identified by the specified email. + """ + requestPasswordResetEmail( + """The customer's email address.""" + email: String! + ): Boolean + """Initiates a buyer's request to return items for replacement or refund.""" + requestReturn( + """ + An input object that contains the fields needed to start a return request. + """ + input: RequestReturnInput! + ): RequestReturnOutput + """ + Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`. + """ + resetPassword( + """The customer's email address.""" + email: String! + """A runtime token generated by the `requestPasswordResetEmail` mutation.""" + resetPasswordToken: String! + """The customer's new password.""" + newPassword: String! + ): Boolean + """Revoke the customer token.""" + revokeCustomerToken: RevokeCustomerTokenOutput + """ + Send a message on behalf of a customer to the specified email addresses. + """ + sendEmailToFriend( + """An input object that defines sender, recipients, and product.""" + input: SendEmailToFriendInput + ): SendEmailToFriendOutput + """Send the negotiable quote to the seller for review.""" + sendNegotiableQuoteForReview( + """ + An input object that sends a request for the merchant to review a negotiable quote. + """ + input: SendNegotiableQuoteForReviewInput! + ): SendNegotiableQuoteForReviewOutput + """Set the billing address on a specific cart.""" + setBillingAddressOnCart( + """ + An input object that defines the billing address to be assigned to the cart. + """ + input: SetBillingAddressOnCartInput + ): SetBillingAddressOnCartOutput + """ + Set gift options, including gift messages, gift wrapping, gift receipts, and printed cards. + """ + setGiftOptionsOnCart( + """An input object that defines the selected gift options.""" + input: SetGiftOptionsOnCartInput + ): SetGiftOptionsOnCartOutput + """Assign the email address of a guest to the cart.""" + setGuestEmailOnCart( + """An input object that defines a guest email address.""" + input: SetGuestEmailOnCartInput + ): SetGuestEmailOnCartOutput + """Add buyer's note to a negotiable quote item.""" + setLineItemNote( + """An input object that defines the quote item note.""" + input: LineItemNoteInput! + ): SetLineItemNoteOutput + """Assign a billing address to a negotiable quote.""" + setNegotiableQuoteBillingAddress( + """ + An input object that defines the billing address to be assigned to a negotiable quote. + """ + input: SetNegotiableQuoteBillingAddressInput! + ): SetNegotiableQuoteBillingAddressOutput + """Set the payment method on a negotiable quote.""" + setNegotiableQuotePaymentMethod( + """ + An input object that defines the payment method for the specified negotiable quote. + """ + input: SetNegotiableQuotePaymentMethodInput! + ): SetNegotiableQuotePaymentMethodOutput + """ + Assign a previously-defined address as the shipping address for a negotiable quote. + """ + setNegotiableQuoteShippingAddress( + """ + An input object that defines the shipping address to be assigned to a negotiable quote. + """ + input: SetNegotiableQuoteShippingAddressInput! + ): SetNegotiableQuoteShippingAddressOutput + """Assign the shipping methods on the negotiable quote.""" + setNegotiableQuoteShippingMethods( + """ + An input object that defines the shipping methods to be assigned to a negotiable quote. + """ + input: SetNegotiableQuoteShippingMethodsInput! + ): SetNegotiableQuoteShippingMethodsOutput + """ + Assign a previously-defined address as the shipping address for a negotiable quote template. + """ + setNegotiableQuoteTemplateShippingAddress( + """ + An input object that defines the shipping address to be assigned to a negotiable quote template. + """ + input: SetNegotiableQuoteTemplateShippingAddressInput! + ): NegotiableQuoteTemplate + """Set the cart payment method and convert the cart into an order.""" + setPaymentMethodAndPlaceOrder(input: SetPaymentMethodAndPlaceOrderInput): PlaceOrderOutput @deprecated(reason: "Should use setPaymentMethodOnCart and placeOrder mutations in single request.") + """Apply a payment method to the cart.""" + setPaymentMethodOnCart( + """ + An input object that defines which payment method to apply to the cart. + """ + input: SetPaymentMethodOnCartInput + ): SetPaymentMethodOnCartOutput + """Add buyer's note to a negotiable quote template item.""" + setQuoteTemplateLineItemNote( + """An input object that defines the quote template item note.""" + input: QuoteTemplateLineItemNoteInput! + ): NegotiableQuoteTemplate + """Set one or more shipping addresses on a specific cart.""" + setShippingAddressesOnCart( + """ + An input object that defines one or more shipping addresses to be assigned to the cart. + """ + input: SetShippingAddressesOnCartInput + ): SetShippingAddressesOnCartOutput + """Set one or more delivery methods on a cart.""" + setShippingMethodsOnCart( + """An input object that applies one or more shipping methods to the cart.""" + input: SetShippingMethodsOnCartInput + ): SetShippingMethodsOnCartOutput + """Send an email about the gift registry to a list of invitees.""" + shareGiftRegistry( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """The sender's email address and gift message.""" + sender: ShareGiftRegistrySenderInput! + """An array containing invitee names and email addresses.""" + invitees: [ShareGiftRegistryInviteeInput!]! + ): ShareGiftRegistryOutput + """Accept an existing negotiable quote template.""" + submitNegotiableQuoteTemplateForReview( + """ + An input object that contains the data to update a negotiable quote template. + """ + input: SubmitNegotiableQuoteTemplateForReviewInput! + ): NegotiableQuoteTemplate + """Subscribe the specified email to the store's newsletter.""" + subscribeEmailToNewsletter( + """The email address that will receive the store's newsletter.""" + email: String! + ): SubscribeEmailToNewsletterOutput + """Synchronizes the payment order details for further payment processing""" + syncPaymentOrder( + """ + Describes the variables needed to synchronize the payment order details + """ + input: SyncPaymentOrderInput + ): Boolean + """Modify items in the cart.""" + updateCartItems( + """An input object that defines products to be updated.""" + input: UpdateCartItemsInput + ): UpdateCartItemsOutput + """Update company information.""" + updateCompany(input: CompanyUpdateInput!): UpdateCompanyOutput + """Update company role information.""" + updateCompanyRole(input: CompanyRoleUpdateInput!): UpdateCompanyRoleOutput + """ + Change the parent node of a company team within the current company context. + """ + updateCompanyStructure(input: CompanyStructureUpdateInput!): UpdateCompanyStructureOutput + """Update company team data.""" + updateCompanyTeam(input: CompanyTeamUpdateInput!): UpdateCompanyTeamOutput + """Update an existing company user.""" + updateCompanyUser(input: CompanyUserUpdateInput!): UpdateCompanyUserOutput + """Use `updateCustomerV2` instead.""" + updateCustomer( + """An input object that defines the customer characteristics to update.""" + input: CustomerInput! + ): CustomerOutput + """Update the billing or shipping address of a customer or guest.""" + updateCustomerAddress( + """The ID assigned to the customer address.""" + id: Int! + """An input object that contains changes to the customer address.""" + input: CustomerAddressInput + ): CustomerAddress + """Change the email address for the logged-in customer.""" + updateCustomerEmail( + """The customer's email address.""" + email: String! + """The customer's password.""" + password: String! + ): CustomerOutput + """Update the customer's personal information.""" + updateCustomerV2( + """An input object that defines the customer characteristics to update.""" + input: CustomerUpdateInput! + ): CustomerOutput + """Update the specified gift registry.""" + updateGiftRegistry( + """The unique ID of an existing gift registry.""" + giftRegistryUid: ID! + """An input object that defines which fields to update.""" + giftRegistry: UpdateGiftRegistryInput! + ): UpdateGiftRegistryOutput + """Update the specified items in the gift registry.""" + updateGiftRegistryItems( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of items to be updated.""" + items: [UpdateGiftRegistryItemInput!]! + ): UpdateGiftRegistryItemsOutput + """Modify the properties of one or more gift registry registrants.""" + updateGiftRegistryRegistrants( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of registrants to update.""" + registrants: [UpdateGiftRegistryRegistrantInput!]! + ): UpdateGiftRegistryRegistrantsOutput + """ + Change the quantity of one or more items in an existing negotiable quote. + """ + updateNegotiableQuoteQuantities( + """ + An input object that changes the quantity of one or more items in a negotiable quote. + """ + input: UpdateNegotiableQuoteQuantitiesInput! + ): UpdateNegotiableQuoteItemsQuantityOutput + """ + Change the quantity of one or more items in an existing negotiable quote template. + """ + updateNegotiableQuoteTemplateQuantities( + """ + An input object that changes the quantity of one or more items in a negotiable quote template. + """ + input: UpdateNegotiableQuoteTemplateQuantitiesInput! + ): UpdateNegotiableQuoteTemplateItemsQuantityOutput + """Update one or more products in the specified wish list.""" + updateProductsInWishlist( + """The ID of a wish list.""" + wishlistId: ID! + """An array of items to be updated.""" + wishlistItems: [WishlistItemUpdateInput!]! + ): UpdateProductsInWishlistOutput + """Update existing purchase order approval rules.""" + updatePurchaseOrderApprovalRule(input: UpdatePurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule + """Rename a requisition list and change its description.""" + updateRequisitionList( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + input: UpdateRequisitionListInput + ): UpdateRequisitionListOutput + """Update items in a requisition list.""" + updateRequisitionListItems( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """Items to be updated in the requisition list.""" + requisitionListItems: [UpdateRequisitionListItemsInput!]! + ): UpdateRequisitionListItemsOutput + """Change the name and visibility of the specified wish list.""" + updateWishlist( + """The ID of the wish list to update.""" + wishlistId: ID! + """The name assigned to the wish list.""" + name: String + """Indicates the visibility of the wish list.""" + visibility: WishlistVisibilityEnum + ): UpdateWishlistOutput + """Validate purchase orders.""" + validatePurchaseOrders(input: ValidatePurchaseOrdersInput!): ValidatePurchaseOrdersOutput +} + +"""Defines the comparison operators that can be used in a filter.""" +input FilterTypeInput { + """Equals.""" + eq: String + finset: [String] + """From. Must be used with the `to` field.""" + from: String + """Greater than.""" + gt: String + """Greater than or equal to.""" + gteq: String + """In. The value can contain a set of comma-separated values.""" + in: [String] + """ + Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters. + """ + like: String + """Less than.""" + lt: String + """Less than or equal to.""" + lteq: String + """More than or equal to.""" + moreq: String + """Not equal to.""" + neq: String + """Not in. The value can contain a set of comma-separated values.""" + nin: [String] + """Not null.""" + notnull: String + """Is null.""" + null: String + """To. Must be used with the `from` field.""" + to: String +} + +"""Defines a filter that matches the input exactly.""" +input FilterEqualTypeInput { + """ + Use this attribute to exactly match the specified string. For example, to filter on a specific category ID, specify a value such as `5`. + """ + eq: String + """ + Use this attribute to filter on an array of values. For example, to filter on category IDs 4, 5, and 6, specify a value of `["4", "5", "6"]`. + """ + in: [String] +} + +""" +Defines a filter that matches a range of values, such as prices or dates. +""" +input FilterRangeTypeInput { + """Use this attribute to specify the lowest possible value in the range.""" + from: String + """Use this attribute to specify the highest possible value in the range.""" + to: String +} + +"""Defines a filter that performs a fuzzy search.""" +input FilterMatchTypeInput { + """ + Use this attribute to fuzzy match the specified string. For example, to filter on a specific SKU, specify a value such as `24-MB01`. + """ + match: String + """ + Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match. + """ + match_type: FilterMatchTypeEnum +} + +enum FilterMatchTypeEnum { + FULL + PARTIAL +} + +"""Defines a filter for an input string.""" +input FilterStringTypeInput { + """Filters items that are exactly the same as the specified string.""" + eq: String + """ + Filters items that are exactly the same as entries specified in an array of strings. + """ + in: [String] + """ + Defines a filter that performs a fuzzy search using the specified string. + """ + match: String +} + +"""Provides navigation for the query response.""" +type SearchResultPageInfo { + """The specific page to return.""" + current_page: Int + """The maximum number of items to return per page of results.""" + page_size: Int + """The total number of pages in the response.""" + total_pages: Int +} + +"""Indicates whether to return results in ascending or descending order.""" +enum SortEnum { + ASC + DESC +} + +type ComplexTextValue { + """Text that can contain HTML tags.""" + html: String! +} + +""" +Defines a monetary value, including a numeric value and a currency code. +""" +type Money { + """A three-letter currency code, such as USD or EUR.""" + currency: CurrencyEnum + """A number expressing a monetary value.""" + value: Float +} + +"""The list of available currency codes.""" +enum CurrencyEnum { + AFN + ALL + AZN + DZD + AOA + ARS + AMD + AWG + AUD + BSD + BHD + BDT + BBD + BYN + BZD + BMD + BTN + BOB + BAM + BWP + BRL + GBP + BND + BGN + BUK + BIF + KHR + CAD + CVE + CZK + KYD + GQE + CLP + CNY + COP + KMF + CDF + CRC + HRK + CUP + DKK + DJF + DOP + XCD + EGP + SVC + ERN + EEK + ETB + EUR + FKP + FJD + GMD + GEK + GEL + GHS + GIP + GTQ + GNF + GYD + HTG + HNL + HKD + HUF + ISK + INR + IDR + IRR + IQD + ILS + JMD + JPY + JOD + KZT + KES + KWD + KGS + LAK + LVL + LBP + LSL + LRD + LYD + LTL + MOP + MKD + MGA + MWK + MYR + MVR + LSM + MRO + MUR + MXN + MDL + MNT + MAD + MZN + MMK + NAD + NPR + ANG + YTL + NZD + NIC + NGN + KPW + NOK + OMR + PKR + PAB + PGK + PYG + PEN + PHP + PLN + QAR + RHD + RON + RUB + RWF + SHP + STD + SAR + RSD + SCR + SLL + SGD + SKK + SBD + SOS + ZAR + KRW + LKR + SDG + SRD + SZL + SEK + CHF + SYP + TWD + TJS + TZS + THB + TOP + TTD + TND + TMM + USD + UGX + UAH + AED + UYU + UZS + VUV + VEB + VEF + VND + CHE + CHW + XOF + WST + YER + ZMK + ZWD + TRY + AZM + ROL + TRL + XPF +} + +"""Defines a customer-entered option.""" +input EnteredOptionInput { + """ + The unique ID for a `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. + """ + uid: ID! + """Text the customer entered.""" + value: String! +} + +enum BatchMutationStatus { + SUCCESS + FAILURE + MIXED_RESULTS +} + +interface ErrorInterface { + """The returned error message.""" + message: String! +} + +"""Contains an error message when an invalid UID was specified.""" +type NoSuchEntityUidError implements ErrorInterface { + """The returned error message.""" + message: String! + """The specified invalid unique ID of an object.""" + uid: ID! +} + +"""Contains an error message when an internal error occurred.""" +type InternalError implements ErrorInterface { + """The returned error message.""" + message: String! +} + +"""Defines an array of custom attributes.""" +type CustomAttributeMetadata { + """An array of attributes.""" + items: [Attribute] +} + +"""Contains details about the attribute, including the code and type.""" +type Attribute { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + attribute_code: String + """Attribute options list.""" + attribute_options: [AttributeOption] + """The data type of the attribute.""" + attribute_type: String + """The type of entity that defines the attribute.""" + entity_type: String + """The frontend input type of the attribute.""" + input_type: String + """Details about the storefront properties configured for the attribute.""" + storefront_properties: StorefrontProperties +} + +"""Indicates where an attribute can be displayed.""" +type StorefrontProperties { + """ + The relative position of the attribute in the layered navigation block. + """ + position: Int + """ + Indicates whether the attribute is filterable with results, without results, or not at all. + """ + use_in_layered_navigation: UseInLayeredNavigationOptions + """Indicates whether the attribute is displayed in product listings.""" + use_in_product_listing: Boolean + """ + Indicates whether the attribute can be used in layered navigation on search results pages. + """ + use_in_search_results_layered_navigation: Boolean + """Indicates whether the attribute is displayed on product pages.""" + visible_on_catalog_pages: Boolean +} + +"""Defines whether the attribute is filterable in layered navigation.""" +enum UseInLayeredNavigationOptions { + NO + FILTERABLE_WITH_RESULTS + FILTERABLE_NO_RESULT +} + +"""Defines an attribute option.""" +type AttributeOption implements AttributeOptionInterface { + """Indicates if option is set to be used as default value.""" + is_default: Boolean + """The label assigned to the attribute option.""" + label: String + """The unique ID of an attribute option.""" + uid: ID! + """The attribute option value.""" + value: String +} + +""" +Defines the attribute characteristics to search for the `attribute_code` and `entity_type` to search. +""" +input AttributeInput { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + attribute_code: String + """The type of entity that defines the attribute.""" + entity_type: String +} + +"""Metadata of EAV attributes.""" +type AttributesMetadataOutput { + """Errors of retrieving certain attributes metadata.""" + errors: [AttributeMetadataError]! + """Requested attributes metadata.""" + items: [CustomAttributeMetadataInterface]! +} + +"""Attribute metadata retrieval error.""" +type AttributeMetadataError { + """Attribute metadata retrieval error message.""" + message: String! + """Attribute metadata retrieval error type.""" + type: AttributeMetadataErrorType! +} + +"""Attribute metadata retrieval error types.""" +enum AttributeMetadataErrorType { + """The requested entity was not found.""" + ENTITY_NOT_FOUND + """The requested attribute was not found.""" + ATTRIBUTE_NOT_FOUND + """The filter cannot be applied as it does not belong to the entity""" + FILTER_NOT_FOUND + """Not categorized error, see the error message.""" + UNDEFINED +} + +"""An interface containing fields that define the EAV attribute.""" +interface CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """Attribute options.""" + options: [CustomAttributeOptionInterface]! +} + +interface CustomAttributeOptionInterface { + """Is the option value default.""" + is_default: Boolean! + """The label assigned to the attribute option.""" + label: String! + """The attribute option value.""" + value: String! +} + +"""Base EAV implementation of CustomAttributeOptionInterface.""" +type AttributeOptionMetadata implements CustomAttributeOptionInterface { + """Is the option value default.""" + is_default: Boolean! + """The label assigned to the attribute option.""" + label: String! + """The attribute option value.""" + value: String! +} + +"""Base EAV implementation of CustomAttributeMetadataInterface.""" +type AttributeMetadata implements CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """Attribute options.""" + options: [CustomAttributeOptionInterface]! +} + +""" +List of all entity types. Populated by the modules introducing EAV entities. +""" +enum AttributeEntityTypeEnum { + CATALOG_PRODUCT + CATALOG_CATEGORY + CUSTOMER + CUSTOMER_ADDRESS + PRODUCT + RMA_ITEM +} + +"""EAV attribute frontend input types.""" +enum AttributeFrontendInputEnum { + BOOLEAN + DATE + DATETIME + FILE + GALLERY + HIDDEN + IMAGE + MEDIA_IMAGE + MULTILINE + MULTISELECT + PRICE + SELECT + TEXT + TEXTAREA + WEIGHT + UNDEFINED +} + +"""Metadata of EAV attributes associated to form""" +type AttributesFormOutput { + """Errors of retrieving certain attributes metadata.""" + errors: [AttributeMetadataError]! + """Requested attributes metadata.""" + items: [CustomAttributeMetadataInterface]! +} + +interface AttributeValueInterface { + """The attribute code.""" + code: ID! +} + +type AttributeValue implements AttributeValueInterface { + """The attribute code.""" + code: ID! + """The attribute value.""" + value: String! +} + +type AttributeSelectedOptions implements AttributeValueInterface { + """The attribute code.""" + code: ID! + selected_options: [AttributeSelectedOptionInterface]! +} + +interface AttributeSelectedOptionInterface { + """The attribute selected option label.""" + label: String! + """The attribute selected option value.""" + value: String! +} + +type AttributeSelectedOption implements AttributeSelectedOptionInterface { + """The attribute selected option label.""" + label: String! + """The attribute selected option value.""" + value: String! +} + +"""Specifies the value for attribute.""" +input AttributeValueInput { + """The code of the attribute.""" + attribute_code: String! + """ + An array containing selected options for a select or multiselect attribute. + """ + selected_options: [AttributeInputSelectedOption] + """The value assigned to the attribute.""" + value: String +} + +"""Specifies selected option for a select or multiselect attribute value.""" +input AttributeInputSelectedOption { + """The attribute option value.""" + value: String! +} + +"""An input object that specifies the filters used for attributes.""" +input AttributeFilterInput { + """ + Whether a product or category attribute can be compared against another or not. + """ + is_comparable: Boolean + """Whether a product or category attribute can be filtered or not.""" + is_filterable: Boolean + """ + Whether a product or category attribute can be filtered in search or not. + """ + is_filterable_in_search: Boolean + """Whether a product or category attribute can use HTML on front or not.""" + is_html_allowed_on_front: Boolean + """Whether a product or category attribute can be searched or not.""" + is_searchable: Boolean + """ + Whether a customer or customer address attribute is used for customer segment or not. + """ + is_used_for_customer_segment: Boolean + """ + Whether a product or category attribute can be used for price rules or not. + """ + is_used_for_price_rules: Boolean + """ + Whether a product or category attribute is used for promo rules or not. + """ + is_used_for_promo_rules: Boolean + """ + Whether a product or category attribute is visible in advanced search or not. + """ + is_visible_in_advanced_search: Boolean + """Whether a product or category attribute is visible on front or not.""" + is_visible_on_front: Boolean + """Whether a product or category attribute has WYSIWYG enabled or not.""" + is_wysiwyg_enabled: Boolean + """ + Whether a product or category attribute is used in product listing or not. + """ + used_in_product_listing: Boolean +} + +"""Contains information about a store's configuration.""" +type StoreConfig { + """ + Contains scripts that must be included in the HTML before the closing `` tag. + """ + absolute_footer: String + """ + Indicates if the gift sender has the option to send a gift receipt. Possible values: 1 (Yes) and 0 (No). + """ + allow_gift_receipt: String + """ + Indicates whether gift wrapping can be added for the entire order. Possible values: 1 (Yes) and 0 (No). + """ + allow_gift_wrapping_on_order: String + """ + Indicates whether gift wrapping can be added for individual order items. Possible values: 1 (Yes) and 0 (No). + """ + allow_gift_wrapping_on_order_items: String + """ + Indicates whether guest users can write product reviews. Possible values: 1 (Yes) and 0 (No). + """ + allow_guests_to_write_product_reviews: String + """The value of the Allow Gift Messages for Order Items option""" + allow_items: String + """The value of the Allow Gift Messages on Order Level option""" + allow_order: String + """ + Indicates if a printed card can accompany an order. Possible values: 1 (Yes) and 0 (No). + """ + allow_printed_card: String + """ + Indicates whether to enable autocomplete on login and forgot password forms. + """ + autocomplete_on_storefront: Boolean + """The base currency code.""" + base_currency_code: String + """ + A fully-qualified URL that is used to create relative links to the `base_url`. + """ + base_link_url: String + """The fully-qualified URL that specifies the location of media files.""" + base_media_url: String + """ + The fully-qualified URL that specifies the location of static view files. + """ + base_static_url: String + """The store’s fully-qualified base URL.""" + base_url: String + """Braintree 3D Secure, should 3D Secure be used for specific countries.""" + braintree_3dsecure_allowspecific: Boolean + """Braintree 3D Secure, always request 3D Secure flag.""" + braintree_3dsecure_always_request_3ds: Boolean + """ + Braintree 3D Secure, the specific countries to use 3D Secure in, to be used if allow specific is status is enabled. + """ + braintree_3dsecure_specificcountry: String + """ + Braintree 3D Secure, threshold above which 3D Secure should be requested. + """ + braintree_3dsecure_threshold_amount: String + """Braintree 3D Secure enabled/active status.""" + braintree_3dsecure_verify_3dsecure: Boolean + """Braintree ACH vault status.""" + braintree_ach_direct_debit_vault_active: Boolean + """Braintree Apple Pay merchant name.""" + braintree_applepay_merchant_name: String + """Braintree Apple Pay vault status.""" + braintree_applepay_vault_active: Boolean + """Braintree cc vault status.""" + braintree_cc_vault_active: String + """Braintree cc vault CVV re-verification enabled status.""" + braintree_cc_vault_cvv: Boolean + """Braintree environment.""" + braintree_environment: String + """Braintree Google Pay button color.""" + braintree_googlepay_btn_color: String + """Braintree Google Pay Card types supported.""" + braintree_googlepay_cctypes: String + """Braintree Google Pay merchant ID.""" + braintree_googlepay_merchant_id: String + """Braintree Google Pay vault status.""" + braintree_googlepay_vault_active: Boolean + """Braintree Local Payment Methods allowed payment methods.""" + braintree_local_payment_allowed_methods: String + """Braintree Local Payment Methods fallback button text.""" + braintree_local_payment_fallback_button_text: String + """Braintree Local Payment Methods redirect URL on failed payment.""" + braintree_local_payment_redirect_on_fail: String + """Braintree Merchant Account ID.""" + braintree_merchant_account_id: String + """Braintree PayPal Credit mini-cart & cart button style color.""" + braintree_paypal_button_location_cart_type_credit_color: String + """Braintree PayPal Credit mini-cart & cart button style label.""" + braintree_paypal_button_location_cart_type_credit_label: String + """Braintree PayPal Credit mini-cart & cart button style shape.""" + braintree_paypal_button_location_cart_type_credit_shape: String + """Braintree PayPal Credit mini-cart & cart button show status.""" + braintree_paypal_button_location_cart_type_credit_show: Boolean + """Braintree PayPal Pay Later messaging mini-cart & cart style layout.""" + braintree_paypal_button_location_cart_type_messaging_layout: String + """Braintree PayPal Pay Later messaging mini-cart & cart style logo.""" + braintree_paypal_button_location_cart_type_messaging_logo: String + """ + Braintree PayPal Pay Later messaging mini-cart & cart style logo position. + """ + braintree_paypal_button_location_cart_type_messaging_logo_position: String + """Braintree PayPal Pay Later messaging mini-cart & cart show status.""" + braintree_paypal_button_location_cart_type_messaging_show: Boolean + """Braintree PayPal Pay Later messaging checkout style text color.""" + braintree_paypal_button_location_cart_type_messaging_text_color: String + """Braintree PayPal Pay Later mini-cart & cart button style color.""" + braintree_paypal_button_location_cart_type_paylater_color: String + """Braintree PayPal Pay Later mini-cart & cart button style label.""" + braintree_paypal_button_location_cart_type_paylater_label: String + """Braintree PayPal Pay Later mini-cart & cart button style shape.""" + braintree_paypal_button_location_cart_type_paylater_shape: String + """Braintree PayPal Pay Later mini-cart & cart button show status.""" + braintree_paypal_button_location_cart_type_paylater_show: Boolean + """Braintree PayPal mini-cart & cart button style color.""" + braintree_paypal_button_location_cart_type_paypal_color: String + """Braintree PayPal mini-cart & cart button style label.""" + braintree_paypal_button_location_cart_type_paypal_label: String + """Braintree PayPal mini-cart & cart button style shape.""" + braintree_paypal_button_location_cart_type_paypal_shape: String + """Braintree PayPal mini-cart & cart button show.""" + braintree_paypal_button_location_cart_type_paypal_show: Boolean + """Braintree PayPal Credit checkout button style color.""" + braintree_paypal_button_location_checkout_type_credit_color: String + """Braintree PayPal Credit checkout button style label.""" + braintree_paypal_button_location_checkout_type_credit_label: String + """Braintree PayPal Credit checkout button style shape.""" + braintree_paypal_button_location_checkout_type_credit_shape: String + """Braintree PayPal Credit checkout button show status.""" + braintree_paypal_button_location_checkout_type_credit_show: Boolean + """Braintree PayPal Pay Later messaging checkout style layout.""" + braintree_paypal_button_location_checkout_type_messaging_layout: String + """Braintree PayPal Pay Later messaging checkout style logo.""" + braintree_paypal_button_location_checkout_type_messaging_logo: String + """Braintree PayPal Pay Later messaging checkout style logo position.""" + braintree_paypal_button_location_checkout_type_messaging_logo_position: String + """Braintree PayPal Pay Later messaging checkout show status.""" + braintree_paypal_button_location_checkout_type_messaging_show: Boolean + """Braintree PayPal Pay Later messaging checkout style text color.""" + braintree_paypal_button_location_checkout_type_messaging_text_color: String + """Braintree PayPal Pay Later checkout button style color.""" + braintree_paypal_button_location_checkout_type_paylater_color: String + """Braintree PayPal Pay Later checkout button style label.""" + braintree_paypal_button_location_checkout_type_paylater_label: String + """Braintree PayPal Pay Later checkout button style shape.""" + braintree_paypal_button_location_checkout_type_paylater_shape: String + """Braintree PayPal Pay Later checkout button show status.""" + braintree_paypal_button_location_checkout_type_paylater_show: Boolean + """Braintree PayPal checkout button style color.""" + braintree_paypal_button_location_checkout_type_paypal_color: String + """Braintree PayPal checkout button style label.""" + braintree_paypal_button_location_checkout_type_paypal_label: String + """Braintree PayPal checkout button style shape.""" + braintree_paypal_button_location_checkout_type_paypal_shape: String + """Braintree PayPal checkout button show.""" + braintree_paypal_button_location_checkout_type_paypal_show: Boolean + """Braintree PayPal Credit PDP button style color.""" + braintree_paypal_button_location_productpage_type_credit_color: String + """Braintree PayPal Credit PDP button style label.""" + braintree_paypal_button_location_productpage_type_credit_label: String + """Braintree PayPal Credit PDP button style shape.""" + braintree_paypal_button_location_productpage_type_credit_shape: String + """Braintree PayPal Credit PDP button show status.""" + braintree_paypal_button_location_productpage_type_credit_show: Boolean + """Braintree PayPal Pay Later messaging PDP style layout.""" + braintree_paypal_button_location_productpage_type_messaging_layout: String + """Braintree PayPal Pay Later messaging PDP style logo.""" + braintree_paypal_button_location_productpage_type_messaging_logo: String + """Braintree PayPal Pay Later messaging PDP style logo position.""" + braintree_paypal_button_location_productpage_type_messaging_logo_position: String + """Braintree PayPal Pay Later messaging PDP show status.""" + braintree_paypal_button_location_productpage_type_messaging_show: Boolean + """Braintree PayPal Pay Later messaging PDP style text color.""" + braintree_paypal_button_location_productpage_type_messaging_text_color: String + """Braintree PayPal Pay Later PDP button style color.""" + braintree_paypal_button_location_productpage_type_paylater_color: String + """Braintree PayPal Pay Later PDP button style label.""" + braintree_paypal_button_location_productpage_type_paylater_label: String + """Braintree PayPal Pay Later PDP button style shape.""" + braintree_paypal_button_location_productpage_type_paylater_shape: String + """Braintree PayPal Pay Later PDP button show status.""" + braintree_paypal_button_location_productpage_type_paylater_show: Boolean + """Braintree PayPal PDP button style color.""" + braintree_paypal_button_location_productpage_type_paypal_color: String + """Braintree PayPal PDP button style label.""" + braintree_paypal_button_location_productpage_type_paypal_label: String + """Braintree PayPal PDP button style shape.""" + braintree_paypal_button_location_productpage_type_paypal_shape: String + """Braintree PayPal PDP button show.""" + braintree_paypal_button_location_productpage_type_paypal_show: Boolean + """Braintree PayPal Credit Merchant Name on the FCA Register.""" + braintree_paypal_credit_uk_merchant_name: String + """Should display Braintree PayPal in mini-cart & cart?""" + braintree_paypal_display_on_shopping_cart: Boolean + """Braintree PayPal merchant's country.""" + braintree_paypal_merchant_country: String + """Braintree PayPal override for Merchant Name.""" + braintree_paypal_merchant_name_override: String + """Does Braintree PayPal require the customer's billing address?""" + braintree_paypal_require_billing_address: Boolean + """Does Braintree PayPal require the order line items?""" + braintree_paypal_send_cart_line_items: Boolean + """Braintree PayPal vault status.""" + braintree_paypal_vault_active: Boolean + """Extended Config Data - checkout/cart/delete_quote_after""" + cart_expires_in_days: Int + """ + Indicates if gift wrapping prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). + """ + cart_gift_wrapping: String + """ + Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). + """ + cart_printed_card: String + """Extended Config Data - checkout/cart_link/use_qty""" + cart_summary_display_quantity: Int + """The default sort order of the search results list.""" + catalog_default_sort_by: String + """ + Corresponds to the 'Display Prices In Product Lists' field in the Admin. It indicates how FPT information is displayed on category pages. + """ + category_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings + """The suffix applied to category pages, such as `.htm` or `.html`.""" + category_url_suffix: String + """Indicates whether only specific countries can use this payment method.""" + check_money_order_enable_for_specific_countries: Boolean + """Indicates whether the Check/Money Order payment method is enabled.""" + check_money_order_enabled: Boolean + """The name of the party to whom the check must be payable.""" + check_money_order_make_check_payable_to: String + """ + The maximum order amount required to qualify for the Check/Money Order payment method. + """ + check_money_order_max_order_total: String + """ + The minimum order amount required to qualify for the Check/Money Order payment method. + """ + check_money_order_min_order_total: String + """ + The status of new orders placed using the Check/Money Order payment method. + """ + check_money_order_new_order_status: String + """ + A comma-separated list of specific countries allowed to use the Check/Money Order payment method. + """ + check_money_order_payment_from_specific_countries: String + """The full street address or PO Box where the checks are mailed.""" + check_money_order_send_check_to: String + """ + A number indicating the position of the Check/Money Order payment method in the list of available payment methods during checkout. + """ + check_money_order_sort_order: Int + """ + The title of the Check/Money Order payment method displayed on the storefront. + """ + check_money_order_title: String + """The name of the CMS page that identifies the home page for the store.""" + cms_home_page: String + """ + A specific CMS page that displays when cookies are not enabled for the browser. + """ + cms_no_cookies: String + """ + A specific CMS page that displays when a 404 'Page Not Found' error occurs. + """ + cms_no_route: String + """A code assigned to the store to identify it.""" + code: String @deprecated(reason: "Use `store_code` instead.") + """ + Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products. + """ + configurable_thumbnail_source: String + """Indicates whether the Contact Us form in enabled.""" + contact_enabled: Boolean! + """The copyright statement that appears at the bottom of each page.""" + copyright: String + """Extended Config Data - general/region/state_required""" + countries_with_required_region: String + """Indicates if the new accounts need confirmation.""" + create_account_confirmation: Boolean + """Customer access token lifetime.""" + customer_access_token_lifetime: Float + """Extended Config Data - general/country/default""" + default_country: String + """ + The description that provides a summary of your site for search engine listings. It should not be more than 160 characters in length. + """ + default_description: String + """The default display currency code.""" + default_display_currency_code: String + """ + A series of keywords that describe your store, each separated by a comma. + """ + default_keywords: String + """ + The title that appears at the title bar of each page when viewed in a browser. + """ + default_title: String + """ + Controls the display of the demo store notice at the top of the page. Options: 0 (No) or 1 (Yes). + """ + demonotice: Int + """Extended Config Data - general/region/display_all""" + display_state_if_optional: Boolean + """ + Indicates whether customers can have multiple wish lists. Possible values: 1 (Yes) and 0 (No). + """ + enable_multiple_wishlists: String + """The landing page that is associated with the base URL.""" + front: String + """The default number of products per page in Grid View.""" + grid_per_page: Int + """ + A list of numbers that define how many products can be displayed in Grid View. + """ + grid_per_page_values: String + """ + Scripts that must be included in the HTML before the closing `` tag. + """ + head_includes: String + """ + The small graphic image (favicon) that appears in the address bar and tab of the browser. + """ + head_shortcut_icon: String + """The path to the logo that appears in the header.""" + header_logo_src: String + """The ID number assigned to the store.""" + id: Int @deprecated(reason: "Use `store_code` instead.") + """ + Indicates whether the store view has been designated as the default within the store group. + """ + is_default_store: Boolean + """ + Indicates whether the store group has been designated as the default within the website. + """ + is_default_store_group: Boolean + """Extended Config Data - checkout/options/guest_checkout""" + is_guest_checkout_enabled: Boolean + """Indicates whether negotiable quote functionality is enabled.""" + is_negotiable_quote_active: Boolean + """Extended Config Data - checkout/options/onepage_checkout_enabled""" + is_one_page_checkout_enabled: Boolean + """ + Indicates whether requisition lists are enabled. Possible values: 1 (Yes) and 0 (No). + """ + is_requisition_list_active: String + """The format of the search results list.""" + list_mode: String + """The default number of products per page in List View.""" + list_per_page: Int + """ + A list of numbers that define how many products can be displayed in List View. + """ + list_per_page_values: String + """The store locale.""" + locale: String + """The Alt text that is associated with the logo.""" + logo_alt: String + """The height of the logo image, in pixels.""" + logo_height: Int + """The width of the logo image, in pixels.""" + logo_width: Int + """ + Indicates whether reward points functionality is enabled. Possible values: 1 (Enabled) and 0 (Disabled). + """ + magento_reward_general_is_enabled: String + """ + Indicates whether reward points functionality is enabled on the storefront. Possible values: 1 (Enabled) and 0 (Disabled). + """ + magento_reward_general_is_enabled_on_front: String + """ + The minimum point balance customers must have before they can redeem them. A null value indicates no minimum. + """ + magento_reward_general_min_points_balance: String + """ + When enabled, customers can see a detailed history of their reward points. Possible values: 1 (Enabled) and 0 (Disabled). + """ + magento_reward_general_publish_history: String + """ + The number of points for a referral when an invitee registers on the site. + """ + magento_reward_points_invitation_customer: String + """ + The maximum number of registration referrals that will qualify for rewards. A null value indicates no limit. + """ + magento_reward_points_invitation_customer_limit: String + """ + The number of points for a referral, when an invitee places their first order on the site. + """ + magento_reward_points_invitation_order: String + """ + The number of order conversions that can earn points for the customer who sends the invitation. A null value indicates no limit. + """ + magento_reward_points_invitation_order_limit: String + """ + The number of points earned by registered customers who subscribe to a newsletter. + """ + magento_reward_points_newsletter: String + """ + Indicates customers earn points for shopping according to the reward point exchange rate. In Luma, this also controls whether to show a message in the shopping cart about the rewards points earned for the purchase, as well as the customer’s current reward point balance. + """ + magento_reward_points_order: String + """The number of points customer gets for registering.""" + magento_reward_points_register: String + """The number of points for writing a review.""" + magento_reward_points_review: String + """ + The maximum number of reviews that will qualify for the rewards. A null value indicates no limit. + """ + magento_reward_points_review_limit: String + """Indicates whether wishlists are enabled (1) or disabled (0).""" + magento_wishlist_general_is_enabled: String + """Extended Config Data - checkout/options/max_items_display_count""" + max_items_in_order_summary: Int + """ + If multiple wish lists are enabled, the maximum number of wish lists the customer can have. + """ + maximum_number_of_wishlists: String + """Extended Config Data - checkout/sidebar/display""" + minicart_display: Boolean + """Extended Config Data - checkout/sidebar/count""" + minicart_max_items: Int + """The minimum number of characters required for a valid password.""" + minimum_password_length: String + """Indicates whether newsletters are enabled.""" + newsletter_enabled: Boolean! + """ + The default page that displays when a 404 'Page not Found' error occurs. + """ + no_route: String + """Extended Config Data - general/country/optional_zip_countries""" + optional_zip_countries: String + """Indicates whether orders can be cancelled by customers or not.""" + order_cancellation_enabled: Boolean! + """An array containing available cancellation reasons.""" + order_cancellation_reasons: [CancellationReason]! + """Payflow Pro vault status.""" + payment_payflowpro_cc_vault_active: String + """The default price of a printed card that accompanies an order.""" + printed_card_price: String + """ + Corresponds to the 'Display Prices On Product View Page' field in the Admin. It indicates how FPT information is displayed on product pages. + """ + product_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings + """ + Indicates whether product reviews are enabled. Possible values: 1 (Yes) and 0 (No). + """ + product_reviews_enabled: String + """The suffix applied to product pages, such as `.htm` or `.html`.""" + product_url_suffix: String + """Indicates whether quick order functionality is enabled.""" + quickorder_active: Boolean! + """ + The number of different character classes (lowercase, uppercase, digits, special characters) required in a password. + """ + required_character_classes_number: String + """ + Indicates whether RMA is enabled on the storefront. Possible values: enabled/disabled. + """ + returns_enabled: String! + """The ID of the root category.""" + root_category_id: Int @deprecated(reason: "Use `root_category_uid` instead.") + """The unique ID for a `CategoryInterface` object.""" + root_category_uid: ID + """ + Corresponds to the 'Display Prices In Sales Modules' field in the Admin. It indicates how FPT information is displayed on cart, checkout, and order pages. + """ + sales_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings + """ + Indicates if gift wrapping prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). + """ + sales_gift_wrapping: String + """ + Indicates if printed card prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). + """ + sales_printed_card: String + """ + A secure fully-qualified URL that is used to create relative links to the `base_url`. + """ + secure_base_link_url: String + """ + The secure fully-qualified URL that specifies the location of media files. + """ + secure_base_media_url: String + """ + The secure fully-qualified URL that specifies the location of static view files. + """ + secure_base_static_url: String + """The store’s fully-qualified secure base URL.""" + secure_base_url: String + """Email to a Friend configuration.""" + send_friend: SendFriendConfiguration + """Extended Config Data - tax/cart_display/full_summary""" + shopping_cart_display_full_summary: Boolean + """Extended Config Data - tax/cart_display/grandtotal""" + shopping_cart_display_grand_total: Boolean + """Extended Config Data - tax/cart_display/price""" + shopping_cart_display_price: Int + """Extended Config Data - tax/cart_display/shipping""" + shopping_cart_display_shipping: Int + """Extended Config Data - tax/cart_display/subtotal""" + shopping_cart_display_subtotal: Int + """Extended Config Data - tax/cart_display/gift_wrapping""" + shopping_cart_display_tax_gift_wrapping: TaxWrappingEnum + """Extended Config Data - tax/cart_display/zero_tax""" + shopping_cart_display_zero_tax: Boolean + """ + Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes). + """ + show_cms_breadcrumbs: Int + """ + The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope. + """ + store_code: ID + """ + The unique ID assigned to the store group. In the Admin, this is called the Store Name. + """ + store_group_code: ID + """The label assigned to the store group.""" + store_group_name: String + """The label assigned to the store view.""" + store_name: String + """The store view sort order.""" + store_sort_order: Int + """The time zone of the store.""" + timezone: String + """ + A prefix that appears before the title to create a two- or three-part title. + """ + title_prefix: String + """ + The character that separates the category name and subcategory in the browser title bar. + """ + title_separator: String + """ + A suffix that appears after the title to create a two- or three-part title. + """ + title_suffix: String + """Indicates whether the store code should be used in the URL.""" + use_store_in_url: Boolean + """The unique ID for the website.""" + website_code: ID + """The ID number assigned to the website store.""" + website_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """The label assigned to the website.""" + website_name: String + """The unit of weight.""" + weight_unit: String + """ + Text that appears in the header of the page and includes the name of the logged in customer. + """ + welcome: String + """Indicates whether only specific countries can use this payment method.""" + zero_subtotal_enable_for_specific_countries: Boolean + """Indicates whether the Zero Subtotal payment method is enabled.""" + zero_subtotal_enabled: Boolean + """ + The status of new orders placed using the Zero Subtotal payment method. + """ + zero_subtotal_new_order_status: String + """ + When the new order status is 'Processing', this can be set to `authorize_capture` to automatically invoice all items that have a zero balance. + """ + zero_subtotal_payment_action: String + """ + A comma-separated list of specific countries allowed to use the Zero Subtotal payment method. + """ + zero_subtotal_payment_from_specific_countries: String + """ + A number indicating the position of the Zero Subtotal payment method in the list of available payment methods during checkout. + """ + zero_subtotal_sort_order: Int + """ + The title of the Zero Subtotal payment method displayed on the storefront. + """ + zero_subtotal_title: String +} + +"""Contains details about a CMS page.""" +type CmsPage implements RoutableInterface { + """The content of the CMS page in raw HTML.""" + content: String + """The heading that displays at the top of the CMS page.""" + content_heading: String + """The ID of a CMS page.""" + identifier: String + """A brief description of the page for search results listings.""" + meta_description: String + """A brief description of the page for search results listings.""" + meta_keywords: String + """ + A page title that is indexed by search engines and appears in search results listings. + """ + meta_title: String + """ + The design layout of the page, indicating the number of columns and navigation features used on the page. + """ + page_layout: String + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """ + The name that appears in the breadcrumb trail navigation and in the browser title bar and tab. + """ + title: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + The URL key of the CMS page, which is often based on the `content_heading`. + """ + url_key: String +} + +"""Contains an array CMS block items.""" +type CmsBlocks { + """An array of CMS blocks.""" + items: [CmsBlock] +} + +"""Contains details about a specific CMS block.""" +type CmsBlock { + """The content of the CMS block in raw HTML.""" + content: String + """The CMS block identifier.""" + identifier: String + """The title assigned to the CMS block.""" + title: String +} + +""" +Deprecated. It should not be used on the storefront. Contains information about a website. +""" +type Website { + """A code assigned to the website to identify it.""" + code: String @deprecated(reason: "The field should not be used on the storefront.") + """The default group ID of the website.""" + default_group_id: String @deprecated(reason: "The field should not be used on the storefront.") + """The ID number assigned to the website.""" + id: Int @deprecated(reason: "The field should not be used on the storefront.") + """Indicates whether this is the default website.""" + is_default: Boolean @deprecated(reason: "The field should not be used on the storefront.") + """The website name. Websites use this name to identify it easier.""" + name: String @deprecated(reason: "The field should not be used on the storefront.") + """The attribute to use for sorting websites.""" + sort_order: Int @deprecated(reason: "The field should not be used on the storefront.") +} + +"""Contains an array of custom and system attributes.""" +type AttributesMetadata { + """An array of attributes.""" + items: [AttributeMetadataInterface] +} + +"""An interface containing fields that define attributes.""" +interface AttributeMetadataInterface { + """An array of attribute labels defined for the current store.""" + attribute_labels: [StoreLabels] + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: String + """The data type of the attribute.""" + data_type: ObjectDataTypeEnum + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum + """Indicates whether the attribute is a system attribute.""" + is_system: Boolean + """The label assigned to the attribute.""" + label: String + """The relative position of the attribute.""" + sort_order: Int + """Frontend UI properties of the attribute.""" + ui_input: UiInputTypeInterface + """The unique ID of an attribute.""" + uid: ID +} + +"""Defines frontend UI properties of an attribute.""" +interface UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Defines attribute options.""" +interface AttributeOptionsInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] +} + +"""Defines selectable input types of the attribute.""" +interface SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] +} + +"""Defines attribute options.""" +interface AttributeOptionInterface { + """Indicates if option is set to be used as default value.""" + is_default: Boolean + """The label assigned to the attribute option.""" + label: String + """The unique ID of an attribute option.""" + uid: ID! +} + +type AttributeOptions implements AttributeOptionsInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] +} + +type UiAttributeTypeSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeMultiSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeBoolean implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeAny implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeTextarea implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeTextEditor implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Contains the store code and label of an attribute.""" +type StoreLabels { + """The label assigned to the attribute.""" + label: String + """The assigned store code.""" + store_code: String +} + +enum ObjectDataTypeEnum { + STRING + FLOAT + INT + BOOLEAN + COMPLEX +} + +enum UiInputTypeEnum { + BOOLEAN + DATE + DATETIME + GALLERY + IMAGE + MEDIA_IMAGE + MULTISELECT + PRICE + SELECT + TEXT + TEXTAREA + TEXTEDITOR + WEIGHT + PAGEBUILDER + FIXED_PRODUCT_TAX +} + +"""Contains custom attribute value and metadata details.""" +type CustomAttribute { + """Attribute metadata details.""" + attribute_metadata: AttributeMetadataInterface + """ + Attribute value represented as entered data using input type like text field. + """ + entered_attribute_value: EnteredAttributeValue + """ + Attribute value represented as selected options using input type like select. + """ + selected_attribute_options: SelectedAttributeOption +} + +type SelectedAttributeOption { + """Selected attribute option details.""" + attribute_option: [AttributeOptionInterface] +} + +type EnteredAttributeValue { + """Attribute value.""" + value: String +} + +"""Contains fields that are common to all types of products.""" +interface ProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """An array of related products.""" + related_products: [ProductInterface] + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") +} + +""" +This enumeration states whether a product stock status is in stock or out of stock +""" +enum ProductStockStatus { + IN_STOCK + OUT_OF_STOCK +} + +""" +Deprecated. Use `ProductPrice` instead. Defines the price of a product as well as any tax-related adjustments. +""" +type Price { + """ + An array that provides information about tax, weee, or weee_tax adjustments. + """ + adjustments: [PriceAdjustment] @deprecated(reason: "Use `ProductPrice` instead.") + """The price of a product plus a three-letter currency code.""" + amount: Money @deprecated(reason: "Use `ProductPrice` instead.") +} + +""" +Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment. +""" +type PriceAdjustment { + """The amount of the price adjustment and its currency code.""" + amount: Money + """Indicates whether the adjustment involves tax, weee, or weee_tax.""" + code: PriceAdjustmentCodesEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") + """ + Indicates whether the entity described by the code attribute is included or excluded from the adjustment. + """ + description: PriceAdjustmentDescriptionEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") +} + +"""`PriceAdjustment.code` is deprecated.""" +enum PriceAdjustmentCodesEnum { + TAX @deprecated(reason: "`PriceAdjustmentCodesEnum` is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog.") + WEEE @deprecated(reason: "WEEE code is deprecated. Use `fixed_product_taxes.label` instead.") + WEEE_TAX @deprecated(reason: "Use `fixed_product_taxes` instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog.") +} + +""" +`PriceAdjustmentDescriptionEnum` is deprecated. States whether a price adjustment is included or excluded. +""" +enum PriceAdjustmentDescriptionEnum { + INCLUDED + EXCLUDED +} + +"""Defines the price type.""" +enum PriceTypeEnum { + FIXED + PERCENT + DYNAMIC +} + +"""Defines the customizable date type.""" +enum CustomizableDateTypeEnum { + DATE + DATE_TIME + TIME +} + +""" +Deprecated. Use `PriceRange` instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price. +""" +type ProductPrices { + """ + The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `to` value. + """ + maximalPrice: Price @deprecated(reason: "Use `PriceRange.maximum_price` instead.") + """ + The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `from` value. + """ + minimalPrice: Price @deprecated(reason: "Use `PriceRange.minimum_price` instead.") + """The base price of a product.""" + regularPrice: Price @deprecated(reason: "Use `regular_price` from `PriceRange.minimum_price` or `PriceRange.maximum_price` instead.") +} + +""" +Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same. +""" +type PriceRange { + """The highest possible price for the product.""" + maximum_price: ProductPrice + """The lowest possible price for the product.""" + minimum_price: ProductPrice! +} + +"""Represents a product price.""" +type ProductPrice { + """ + The price discount. Represents the difference between the regular and final price. + """ + discount: ProductDiscount + """The final price of the product after applying discounts.""" + final_price: Money! + """ + An array of the multiple Fixed Product Taxes that can be applied to a product price. + """ + fixed_product_taxes: [FixedProductTax] + """The regular price of the product.""" + regular_price: Money! +} + +"""Contains the discount applied to a product price.""" +type ProductDiscount { + """The actual value of the discount.""" + amount_off: Float + """The discount expressed a percentage.""" + percent_off: Float +} + +"""An implementation of `ProductLinksInterface`.""" +type ProductLinks implements ProductLinksInterface { + """One of related, associated, upsell, or crosssell.""" + link_type: String + """The SKU of the linked product.""" + linked_product_sku: String + """ + The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). + """ + linked_product_type: String + """The position within the list of product links.""" + position: Int + """The identifier of the linked product.""" + sku: String +} + +""" +Contains information about linked products, including the link type and product type of each item. +""" +interface ProductLinksInterface { + """One of related, associated, upsell, or crosssell.""" + link_type: String + """The SKU of the linked product.""" + linked_product_sku: String + """ + The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). + """ + linked_product_type: String + """The position within the list of product links.""" + position: Int + """The identifier of the linked product.""" + sku: String +} + +"""Contains attributes specific to tangible products.""" +interface PhysicalProductInterface { + """The weight of the item, in units defined by the store.""" + weight: Float +} + +""" +Contains information about a text area that is defined as part of a customizable option. +""" +type CustomizableAreaOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a text area.""" + value: CustomizableAreaValue +} + +""" +Defines the price and sku of a product whose page contains a customized text area. +""" +type CustomizableAreaValue { + """ + The maximum number of characters that can be entered for this customizable option. + """ + max_characters: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The unique ID for a `CustomizableAreaValue` object.""" + uid: ID! +} + +"""Contains the hierarchy of categories.""" +type CategoryTree implements CategoryInterface & RoutableInterface { + automatic_sorting: String + available_sort_by: [String] + """An array of breadcrumb items.""" + breadcrumbs: [Breadcrumb] + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. + """ + canonical_url: String + """A tree of child categories.""" + children: [CategoryTree] + children_count: String + """Contains a category CMS block.""" + cms_block: CmsBlock + """The timestamp indicating when the category was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + custom_layout_update_file: String + """The attribute to use for sorting.""" + default_sort_by: String + """An optional description of the category.""" + description: String + display_mode: String + filter_price_range: Float + """An ID that uniquely identifies the category.""" + id: Int @deprecated(reason: "Use `uid` instead.") + image: String + include_in_menu: Int + is_anchor: Int + landing_page: Int + """The depth of the category within the tree.""" + level: Int + meta_description: String + meta_keywords: String + meta_title: String + """The display name of the category.""" + name: String + """The full category path.""" + path: String + """The category path within the store.""" + path_in_store: String + """ + The position of the category relative to other categories at the same level in tree. + """ + position: Int + """ + The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + product_count: Int + """The list of products assigned to the category.""" + products( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + The attributes to sort on, and whether to return the results in ascending or descending order. + """ + sort: ProductAttributeSortInput + ): CategoryProducts + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """Indicates whether the category is staged for a future campaign.""" + staged: Boolean! + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """The unique ID for a `CategoryInterface` object.""" + uid: ID! + """The timestamp indicating when the category was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """The URL key assigned to the category.""" + url_key: String + """The URL path assigned to the category.""" + url_path: String + """The part of the category URL that is appended after the url key""" + url_suffix: String +} + +""" +Contains a collection of `CategoryTree` objects and pagination information. +""" +type CategoryResult { + """A list of categories that match the filter criteria.""" + items: [CategoryTree] + """ + An object that includes the `page_info` and `currentPage` values specified in the query. + """ + page_info: SearchResultPageInfo + """The total number of categories that match the criteria.""" + total_count: Int +} + +""" +Contains information about a date picker that is defined as part of a customizable option. +""" +type CustomizableDateOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a date field in a customizable option.""" + value: CustomizableDateValue +} + +""" +Defines the price and sku of a product whose page contains a customized date picker. +""" +type CustomizableDateValue { + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """DATE, DATE_TIME or TIME""" + type: CustomizableDateTypeEnum + """The unique ID for a `CustomizableDateValue` object.""" + uid: ID! +} + +""" +Contains information about a drop down menu that is defined as part of a customizable option. +""" +type CustomizableDropDownOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines the set of options for a drop down menu.""" + value: [CustomizableDropDownValue] +} + +""" +Defines the price and sku of a product whose page contains a customized drop down menu. +""" +type CustomizableDropDownValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableDropDownValue` object.""" + uid: ID! +} + +""" +Contains information about a multiselect that is defined as part of a customizable option. +""" +type CustomizableMultipleOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines the set of options for a multiselect.""" + value: [CustomizableMultipleValue] +} + +""" +Defines the price and sku of a product whose page contains a customized multiselect. +""" +type CustomizableMultipleValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableMultipleValue` object.""" + uid: ID! +} + +""" +Contains information about a text field that is defined as part of a customizable option. +""" +type CustomizableFieldOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a text field.""" + value: CustomizableFieldValue +} + +""" +Defines the price and sku of a product whose page contains a customized text field. +""" +type CustomizableFieldValue { + """ + The maximum number of characters that can be entered for this customizable option. + """ + max_characters: Int + """The price of the custom value.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The unique ID for a `CustomizableFieldValue` object.""" + uid: ID! +} + +""" +Contains information about a file picker that is defined as part of a customizable option. +""" +type CustomizableFileOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a file value.""" + value: CustomizableFileValue +} + +""" +Defines the price and sku of a product whose page contains a customized file picker. +""" +type CustomizableFileValue { + """The file extension to accept.""" + file_extension: String + """The maximum width of an image.""" + image_size_x: Int + """The maximum height of an image.""" + image_size_y: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The unique ID for a `CustomizableFileValue` object.""" + uid: ID! +} + +"""Contains basic information about a product image or video.""" +interface MediaGalleryInterface { + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The label of the product image or video.""" + label: String + """The media item's position after it has been sorted.""" + position: Int + """The URL of the product image or video.""" + url: String +} + +"""Contains product image information, including the image URL and label.""" +type ProductImage implements MediaGalleryInterface { + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The label of the product image or video.""" + label: String + """The media item's position after it has been sorted.""" + position: Int + """The URL of the product image or video.""" + url: String +} + +"""Contains information about a product video.""" +type ProductVideo implements MediaGalleryInterface { + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The label of the product image or video.""" + label: String + """The media item's position after it has been sorted.""" + position: Int + """The URL of the product image or video.""" + url: String + """Contains a `ProductMediaGalleryEntriesVideoContent` object.""" + video_content: ProductMediaGalleryEntriesVideoContent +} + +""" +Contains basic information about a customizable option. It can be implemented by several types of configurable options. +""" +interface CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! +} + +"""Contains information about customizable product options.""" +interface CustomizableProductInterface { + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] +} + +""" +Contains the full set of attributes that can be returned in a category search. +""" +interface CategoryInterface { + automatic_sorting: String + available_sort_by: [String] + """An array of breadcrumb items.""" + breadcrumbs: [Breadcrumb] + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. + """ + canonical_url: String + children_count: String + """Contains a category CMS block.""" + cms_block: CmsBlock + """The timestamp indicating when the category was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + custom_layout_update_file: String + """The attribute to use for sorting.""" + default_sort_by: String + """An optional description of the category.""" + description: String + display_mode: String + filter_price_range: Float + """An ID that uniquely identifies the category.""" + id: Int @deprecated(reason: "Use `uid` instead.") + image: String + include_in_menu: Int + is_anchor: Int + landing_page: Int + """The depth of the category within the tree.""" + level: Int + meta_description: String + meta_keywords: String + meta_title: String + """The display name of the category.""" + name: String + """The full category path.""" + path: String + """The category path within the store.""" + path_in_store: String + """ + The position of the category relative to other categories at the same level in tree. + """ + position: Int + """ + The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + product_count: Int + """The list of products assigned to the category.""" + products( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + The attributes to sort on, and whether to return the results in ascending or descending order. + """ + sort: ProductAttributeSortInput + ): CategoryProducts + """Indicates whether the category is staged for a future campaign.""" + staged: Boolean! + """The unique ID for a `CategoryInterface` object.""" + uid: ID! + """The timestamp indicating when the category was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """The URL key assigned to the category.""" + url_key: String + """The URL path assigned to the category.""" + url_path: String + """The part of the category URL that is appended after the url key""" + url_suffix: String +} + +""" +Contains details about an individual category that comprises a breadcrumb. +""" +type Breadcrumb { + """The ID of the category.""" + category_id: Int @deprecated(reason: "Use `category_uid` instead.") + """The category level.""" + category_level: Int + """The display name of the category.""" + category_name: String + """The unique ID for a `Breadcrumb` object.""" + category_uid: ID! + """The URL key of the category.""" + category_url_key: String + """The URL path of the category.""" + category_url_path: String +} + +""" +Contains information about a set of radio buttons that are defined as part of a customizable option. +""" +type CustomizableRadioOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines a set of radio buttons.""" + value: [CustomizableRadioValue] +} + +""" +Defines the price and sku of a product whose page contains a customized set of radio buttons. +""" +type CustomizableRadioValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the radio button is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableRadioValue` object.""" + uid: ID! +} + +""" +Contains information about a set of checkbox values that are defined as part of a customizable option. +""" +type CustomizableCheckboxOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines a set of checkbox values.""" + value: [CustomizableCheckboxValue] +} + +""" +Defines the price and sku of a product whose page contains a customized set of checkbox values. +""" +type CustomizableCheckboxValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the checkbox value is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableCheckboxValue` object.""" + uid: ID! +} + +""" +Defines a virtual product, which is a non-tangible product that does not require shipping and is not kept in inventory. +""" +type VirtualProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") +} + +""" +Defines a simple product, which is tangible and is usually sold in single units or in fixed quantities. +""" +type SimpleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +"""Contains the results of a `products` query.""" +type Products { + """ + A bucket that contains the attribute code and label for each filterable option. + """ + aggregations(filter: AggregationsFilterInput): [Aggregation] + """Layered navigation filters array.""" + filters: [LayerFilter] @deprecated(reason: "Use `aggregations` instead.") + """An array of products that match the specified search criteria.""" + items: [ProductInterface] + """ + An object that includes the page_info and currentPage values specified in the query. + """ + page_info: SearchResultPageInfo + """ + An object that includes the default sort field and all available sort fields. + """ + sort_fields: SortFields + """ + An array of search suggestions for case when search query have no results. + """ + suggestions: [SearchSuggestion] + """ + The number of products that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + total_count: Int +} + +""" +An input object that specifies the filters used in product aggregations. +""" +input AggregationsFilterInput { + """Filter category aggregations in layered navigation.""" + category: AggregationsCategoryFilterInput +} + +"""Filter category aggregations in layered navigation.""" +input AggregationsCategoryFilterInput { + """ + Indicates whether to include only direct subcategories or all children categories at all levels. + """ + includeDirectChildrenOnly: Boolean +} + +"""Contains details about the products assigned to a category.""" +type CategoryProducts { + """An array of products that are assigned to the category.""" + items: [ProductInterface] + """Pagination metadata.""" + page_info: SearchResultPageInfo + """ + The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + total_count: Int +} + +""" +Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. +""" +input ProductAttributeFilterInput { + """Attribute label: Brand""" + accessory_brand: FilterEqualTypeInput + """Attribute label: Gemstone Addon""" + accessory_gemstone_addon: FilterEqualTypeInput + """Attribute label: Recyclable Material""" + accessory_recyclable_material: FilterEqualTypeInput + """Deprecated: use `category_uid` to filter product by category ID.""" + category_id: FilterEqualTypeInput + """Filter product by the unique ID for a `CategoryInterface` object.""" + category_uid: FilterEqualTypeInput + """Filter product by category URL path.""" + category_url_path: FilterEqualTypeInput + """Attribute label: Color""" + color: FilterEqualTypeInput + """Attribute label: Description""" + description: FilterMatchTypeInput + """Attribute label: Color""" + fashion_color: FilterEqualTypeInput + """Attribute label: Material""" + fashion_material: FilterEqualTypeInput + """Attribute label: Style""" + fashion_style: FilterEqualTypeInput + """Attribute label: Format""" + format: FilterEqualTypeInput + """Attribute label: Has Video""" + has_video: FilterEqualTypeInput + """Attribute label: Product Name""" + name: FilterMatchTypeInput + """Attribute label: Price""" + price: FilterRangeTypeInput + """Attribute label: Short Description""" + short_description: FilterMatchTypeInput + """Attribute label: SKU""" + sku: FilterEqualTypeInput + """The part of the URL that identifies the product""" + url_key: FilterEqualTypeInput +} + +""" +Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. +""" +input CategoryFilterInput { + """Filter by the unique category ID for a `CategoryInterface` object.""" + category_uid: FilterEqualTypeInput + """ + Deprecated: use 'category_uid' to filter uniquely identifiers of categories. + """ + ids: FilterEqualTypeInput + """Filter by the display name of the category.""" + name: FilterMatchTypeInput + """ + Filter by the unique parent category ID for a `CategoryInterface` object. + """ + parent_category_uid: FilterEqualTypeInput + """ + Filter by the unique parent category ID for a `CategoryInterface` object. + """ + parent_id: FilterEqualTypeInput + """Filter by the part of the URL that identifies the category.""" + url_key: FilterEqualTypeInput + """Filter by the URL path for the category.""" + url_path: FilterEqualTypeInput +} + +""" +ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. +""" +input ProductFilterInput { + """The category ID the product belongs to.""" + category_id: FilterTypeInput + """The product's country of origin.""" + country_of_manufacture: FilterTypeInput + """The timestamp indicating when the product was created.""" + created_at: FilterTypeInput + """The name of a custom layout.""" + custom_layout: FilterTypeInput + """XML code that is applied as a layout update to the product page.""" + custom_layout_update: FilterTypeInput + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: FilterTypeInput + """Indicates whether a gift message is available.""" + gift_message_available: FilterTypeInput + """ + Indicates whether additional attributes have been created for the product. + """ + has_options: FilterTypeInput + """The relative path to the main image on the product page.""" + image: FilterTypeInput + """The label assigned to a product image.""" + image_label: FilterTypeInput + """Indicates whether the product can be returned.""" + is_returnable: FilterTypeInput + """A number representing the product's manufacturer.""" + manufacturer: FilterTypeInput + """ + The numeric maximal price of the product. Do not include the currency code. + """ + max_price: FilterTypeInput + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: FilterTypeInput + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: FilterTypeInput + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: FilterTypeInput + """ + The numeric minimal price of the product. Do not include the currency code. + """ + min_price: FilterTypeInput + """The product name. Customers use this name to identify the product.""" + name: FilterTypeInput + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + news_from_date: FilterTypeInput + """The end date for new product listings.""" + news_to_date: FilterTypeInput + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: FilterTypeInput + """The keyword required to perform a logical OR comparison.""" + or: ProductFilterInput + """The price of an item.""" + price: FilterTypeInput + """Indicates whether the product has required options.""" + required_options: FilterTypeInput + """A short description of the product. Its use depends on the theme.""" + short_description: FilterTypeInput + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: FilterTypeInput + """The relative path to the small image, which is used on catalog pages.""" + small_image: FilterTypeInput + """The label assigned to a product's small image.""" + small_image_label: FilterTypeInput + """The beginning date that a product has a special price.""" + special_from_date: FilterTypeInput + """The discounted price of the product. Do not include the currency code.""" + special_price: FilterTypeInput + """The end date that a product has a special price.""" + special_to_date: FilterTypeInput + """The file name of a swatch image.""" + swatch_image: FilterTypeInput + """The relative path to the product's thumbnail image.""" + thumbnail: FilterTypeInput + """The label assigned to a product's thumbnail image.""" + thumbnail_label: FilterTypeInput + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: FilterTypeInput + """The timestamp indicating when the product was updated.""" + updated_at: FilterTypeInput + """The part of the URL that identifies the product""" + url_key: FilterTypeInput + url_path: FilterTypeInput + """The weight of the item, in units defined by the store.""" + weight: FilterTypeInput +} + +""" +Contains an image in base64 format and basic information about the image. +""" +type ProductMediaGalleryEntriesContent { + """The image in base64 format.""" + base64_encoded_data: String + """The file name of the image.""" + name: String + """The MIME type of the file, such as image/png.""" + type: String +} + +"""Contains a link to a video file and basic information about the video.""" +type ProductMediaGalleryEntriesVideoContent { + """Must be external-video.""" + media_type: String + """A description of the video.""" + video_description: String + """Optional data about the video.""" + video_metadata: String + """Describes the video source.""" + video_provider: String + """The title of the video.""" + video_title: String + """The URL to the video.""" + video_url: String +} + +""" +Deprecated. Use `ProductAttributeSortInput` instead. Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. +""" +input ProductSortInput { + """The product's country of origin.""" + country_of_manufacture: SortEnum + """The timestamp indicating when the product was created.""" + created_at: SortEnum + """The name of a custom layout.""" + custom_layout: SortEnum + """XML code that is applied as a layout update to the product page.""" + custom_layout_update: SortEnum + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: SortEnum + """Indicates whether a gift message is available.""" + gift_message_available: SortEnum + """ + Indicates whether additional attributes have been created for the product. + """ + has_options: SortEnum + """The relative path to the main image on the product page.""" + image: SortEnum + """The label assigned to a product image.""" + image_label: SortEnum + """Indicates whether the product can be returned.""" + is_returnable: SortEnum + """A number representing the product's manufacturer.""" + manufacturer: SortEnum + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: SortEnum + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: SortEnum + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: SortEnum + """The product name. Customers use this name to identify the product.""" + name: SortEnum + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + news_from_date: SortEnum + """The end date for new product listings.""" + news_to_date: SortEnum + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: SortEnum + """The price of the item.""" + price: SortEnum + """Indicates whether the product has required options.""" + required_options: SortEnum + """A short description of the product. Its use depends on the theme.""" + short_description: SortEnum + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: SortEnum + """The relative path to the small image, which is used on catalog pages.""" + small_image: SortEnum + """The label assigned to a product's small image.""" + small_image_label: SortEnum + """The beginning date that a product has a special price.""" + special_from_date: SortEnum + """The discounted price of the product.""" + special_price: SortEnum + """The end date that a product has a special price.""" + special_to_date: SortEnum + """Indicates the criteria to sort swatches.""" + swatch_image: SortEnum + """The relative path to the product's thumbnail image.""" + thumbnail: SortEnum + """The label assigned to a product's thumbnail image.""" + thumbnail_label: SortEnum + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: SortEnum + """The timestamp indicating when the product was updated.""" + updated_at: SortEnum + """The part of the URL that identifies the product""" + url_key: SortEnum + url_path: SortEnum + """The weight of the item, in units defined by the store.""" + weight: SortEnum +} + +""" +Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option +""" +input ProductAttributeSortInput { + """Attribute label: Brand""" + accessory_brand: SortEnum + """Attribute label: Product Name""" + name: SortEnum + """Sort by the position assigned to each product.""" + position: SortEnum + """Attribute label: Price""" + price: SortEnum + """Sort by the search relevance score (default).""" + relevance: SortEnum +} + +""" +Defines characteristics about images and videos associated with a specific product. +""" +type MediaGalleryEntry { + """Details about the content of the media gallery item.""" + content: ProductMediaGalleryEntriesContent + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The path of the image on the server.""" + file: String + """The identifier assigned to the object.""" + id: Int @deprecated(reason: "Use `uid` instead.") + """ + The alt text displayed on the storefront when the user points to the image. + """ + label: String + """Either `image` or `video`.""" + media_type: String + """The media item's position after it has been sorted.""" + position: Int + """ + Array of image types. It can have the following values: image, small_image, thumbnail. + """ + types: [String] + """The unique ID for a `MediaGalleryEntry` object.""" + uid: ID! + """Details about the content of a video item.""" + video_content: ProductMediaGalleryEntriesVideoContent +} + +"""Contains information for rendering layered navigation.""" +type LayerFilter { + """An array of filter items.""" + filter_items: [LayerFilterItemInterface] @deprecated(reason: "Use `Aggregation.options` instead.") + """The count of filter items in filter group.""" + filter_items_count: Int @deprecated(reason: "Use `Aggregation.count` instead.") + """The name of a layered navigation filter.""" + name: String @deprecated(reason: "Use `Aggregation.label` instead.") + """The request variable name for a filter query.""" + request_var: String @deprecated(reason: "Use `Aggregation.attribute_code` instead.") +} + +interface LayerFilterItemInterface { + """The count of items per filter.""" + items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") + """The label for a filter.""" + label: String @deprecated(reason: "Use `AggregationOption.label` instead.") + """The value of a filter request variable to be used in query.""" + value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") +} + +type LayerFilterItem implements LayerFilterItemInterface { + """The count of items per filter.""" + items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") + """The label for a filter.""" + label: String @deprecated(reason: "Use `AggregationOption.label` instead.") + """The value of a filter request variable to be used in query.""" + value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") +} + +""" +Contains information for each filterable option (such as price, category `UID`, and custom attributes). +""" +type Aggregation { + """Attribute code of the aggregation group.""" + attribute_code: String! + """The number of options in the aggregation group.""" + count: Int + """The aggregation display name.""" + label: String + """Array of options for the aggregation.""" + options: [AggregationOption] + """The relative position of the attribute in a layered navigation block.""" + position: Int +} + +"""A string that contains search suggestion""" +type SearchSuggestion { + """The search suggestion of existing product.""" + search: String! +} + +"""Defines aggregation option fields.""" +interface AggregationOptionInterface { + """The number of items that match the aggregation option.""" + count: Int + """The display label for an aggregation option.""" + label: String + """The internal ID that represents the value of the option.""" + value: String! +} + +"""An implementation of `AggregationOptionInterface`.""" +type AggregationOption implements AggregationOptionInterface { + """The number of items that match the aggregation option.""" + count: Int + """The display label for an aggregation option.""" + label: String + """The internal ID that represents the value of the option.""" + value: String! +} + +"""Defines a possible sort field.""" +type SortField { + """The label of the sort field.""" + label: String + """The attribute code of the sort field.""" + value: String +} + +""" +Contains a default value for sort fields and all available sort fields. +""" +type SortFields { + """The default sort field value.""" + default: String + """An array of possible sort fields.""" + options: [SortField] +} + +"""Contains a simple product wish list item.""" +type SimpleWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Contains a virtual product wish list item.""" +type VirtualWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Swatch attribute metadata.""" +type CatalogAttributeMetadata implements CustomAttributeMetadataInterface { + """To which catalog types an attribute can be applied.""" + apply_to: [CatalogAttributeApplyToEnum] + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """ + Whether a product or category attribute can be compared against another or not. + """ + is_comparable: Boolean + """Whether a product or category attribute can be filtered or not.""" + is_filterable: Boolean + """ + Whether a product or category attribute can be filtered in search or not. + """ + is_filterable_in_search: Boolean + """Whether a product or category attribute can use HTML on front or not.""" + is_html_allowed_on_front: Boolean + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether a product or category attribute can be searched or not.""" + is_searchable: Boolean + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """ + Whether a product or category attribute can be used for price rules or not. + """ + is_used_for_price_rules: Boolean + """ + Whether a product or category attribute is used for promo rules or not. + """ + is_used_for_promo_rules: Boolean + """ + Whether a product or category attribute is visible in advanced search or not. + """ + is_visible_in_advanced_search: Boolean + """Whether a product or category attribute is visible on front or not.""" + is_visible_on_front: Boolean + """Whether a product or category attribute has WYSIWYG enabled or not.""" + is_wysiwyg_enabled: Boolean + """The label assigned to the attribute.""" + label: String + """Attribute options.""" + options: [CustomAttributeOptionInterface]! + """Input type of the swatch attribute option.""" + swatch_input_type: SwatchInputTypeEnum + """Whether update product preview image or not.""" + update_product_preview_image: Boolean + """Whether use product image for swatch or not.""" + use_product_image_for_swatch: Boolean + """ + Whether a product or category attribute is used in product listing or not. + """ + used_in_product_listing: Boolean +} + +enum CatalogAttributeApplyToEnum { + SIMPLE + VIRTUAL + BUNDLE + DOWNLOADABLE + CONFIGURABLE + GROUPED + CATEGORY +} + +"""Product custom attributes""" +type ProductCustomAttributes { + """Errors when retrieving custom attributes metadata.""" + errors: [AttributeMetadataError]! + """Requested custom attributes""" + items: [AttributeValueInterface]! +} + +"""Contains the `uid`, `relative_url`, and `type` attributes.""" +type EntityUrl { + canonical_url: String @deprecated(reason: "Use `relative_url` instead.") + """ + The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID. + """ + entity_uid: ID + """ + The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID. + """ + id: Int @deprecated(reason: "Use `entity_uid` instead.") + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirectCode: Int + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum +} + +"""This enumeration defines the entity type.""" +enum UrlRewriteEntityTypeEnum { + CMS_PAGE + PRODUCT + CATEGORY + PWA_404 +} + +"""Contains URL rewrite details.""" +type UrlRewrite { + """An array of request parameters.""" + parameters: [HttpQueryParameter] + """The request URL.""" + url: String +} + +"""Contains target path parameters.""" +type HttpQueryParameter { + """A parameter name.""" + name: String + """A parameter value.""" + value: String +} + +""" +Default implementation of RoutableInterface. This type is returned when the URL is not linked to an entity. +""" +type RoutableUrl implements RoutableInterface { + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum +} + +"""Routable entities serve as the model for a rendered page.""" +interface RoutableInterface { + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum +} + +input CreateGuestCartInput { + """Optional client-generated ID""" + cart_uid: ID +} + +"""Assigns a specific `cart_id` to the empty cart.""" +input createEmptyCartInput { + """The ID to assign to the cart.""" + cart_id: String +} + +"""Defines the simple and group products to add to the cart.""" +input AddSimpleProductsToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of simple and group items to add.""" + cart_items: [SimpleProductCartItemInput]! +} + +"""Defines a single product to add to the cart.""" +input SimpleProductCartItemInput { + """An array that defines customizable options for the product.""" + customizable_options: [CustomizableOptionInput] + """ + An object containing the `sku`, `quantity`, and other relevant information about the product. + """ + data: CartItemInput! +} + +"""Defines the virtual products to add to the cart.""" +input AddVirtualProductsToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of virtual products to add.""" + cart_items: [VirtualProductCartItemInput]! +} + +"""Defines a single product to add to the cart.""" +input VirtualProductCartItemInput { + """An array that defines customizable options for the product.""" + customizable_options: [CustomizableOptionInput] + """ + An object containing the `sku`, `quantity`, and other relevant information about the product. + """ + data: CartItemInput! +} + +"""Defines an item to be added to the cart.""" +input CartItemInput { + """ + An array of entered options for the base product, such as personalization text. + """ + entered_options: [EnteredOptionInput] + """For a child product, the SKU of its parent product.""" + parent_sku: String + """The amount or number of an item to add.""" + quantity: Float! + """ + The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`. + """ + selected_options: [ID] + """The SKU of the product.""" + sku: String! +} + +"""Specifies the field to use for sorting quote items""" +enum SortQuoteItemsEnum { + ITEM_ID + CREATED_AT + UPDATED_AT + PRODUCT_ID + SKU + NAME + DESCRIPTION + WEIGHT + QTY + PRICE + BASE_PRICE + CUSTOM_PRICE + DISCOUNT_PERCENT + DISCOUNT_AMOUNT + BASE_DISCOUNT_AMOUNT + TAX_PERCENT + TAX_AMOUNT + BASE_TAX_AMOUNT + ROW_TOTAL + BASE_ROW_TOTAL + ROW_TOTAL_WITH_DISCOUNT + ROW_WEIGHT + PRODUCT_TYPE + BASE_TAX_BEFORE_DISCOUNT + TAX_BEFORE_DISCOUNT + ORIGINAL_CUSTOM_PRICE + PRICE_INC_TAX + BASE_PRICE_INC_TAX + ROW_TOTAL_INC_TAX + BASE_ROW_TOTAL_INC_TAX + DISCOUNT_TAX_COMPENSATION_AMOUNT + BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT + FREE_SHIPPING +} + +"""Specifies the field to use for sorting quote items""" +input QuoteItemsSortInput { + """Specifies the quote items field to sort by""" + field: SortQuoteItemsEnum! + """Specifies the order of quote items' sorting""" + order: SortEnum! +} + +"""Defines a customizable option.""" +input CustomizableOptionInput { + """The customizable option ID of the product.""" + id: Int + """The unique ID for a `CartItemInterface` object.""" + uid: ID + """The string value of the option.""" + value_string: String! +} + +"""Specifies the coupon code to apply to the cart.""" +input ApplyCouponToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """A valid coupon code.""" + coupon_code: String! +} + +"""Modifies the specified items in the cart.""" +input UpdateCartItemsInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of items to be updated.""" + cart_items: [CartItemUpdateInput]! +} + +"""A single item to be updated.""" +input CartItemUpdateInput { + """Deprecated. Use `cart_item_uid` instead.""" + cart_item_id: Int + """The unique ID for a `CartItemInterface` object.""" + cart_item_uid: ID + """An array that defines customizable options for the product.""" + customizable_options: [CustomizableOptionInput] + """Gift message details for the cart item""" + gift_message: GiftMessageInput + """ + The unique ID for a `GiftWrapping` object to be used for the cart item. + """ + gift_wrapping_id: ID + """The new quantity of the item.""" + quantity: Float +} + +"""Specifies which items to remove from the cart.""" +input RemoveItemFromCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """Deprecated. Use `cart_item_uid` instead.""" + cart_item_id: Int + """Required field. The unique ID for a `CartItemInterface` object.""" + cart_item_uid: ID +} + +"""Specifies an array of addresses to use for shipping.""" +input SetShippingAddressesOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of shipping addresses.""" + shipping_addresses: [ShippingAddressInput]! +} + +"""Defines a single shipping address.""" +input ShippingAddressInput { + """Defines a shipping address.""" + address: CartAddressInput + """ + An ID from the customer's address book that uniquely identifies the address to be used for shipping. + """ + customer_address_id: Int + """Text provided by the shopper.""" + customer_notes: String + """The code of Pickup Location which will be used for In-Store Pickup.""" + pickup_location_code: String +} + +"""Sets the billing address.""" +input SetBillingAddressOnCartInput { + """The billing address.""" + billing_address: BillingAddressInput! + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Defines the billing address.""" +input BillingAddressInput { + """Defines a billing address.""" + address: CartAddressInput + """ + An ID from the customer's address book that uniquely identifies the address to be used for billing. + """ + customer_address_id: Int + """ + Indicates whether to set the billing address to be the same as the existing shipping address on the cart. + """ + same_as_shipping: Boolean + """ + Indicates whether to set the shipping address to be the same as this billing address. + """ + use_for_shipping: Boolean +} + +"""Defines the billing or shipping address to be applied to the cart.""" +input CartAddressInput { + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """The country code and label for the billing or shipping address.""" + country_code: String! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInput] + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """ + A string that defines the state or province of the billing or shipping address. + """ + region: String + """ + An integer that defines the state or province of the billing or shipping address. + """ + region_id: Int + """ + Determines whether to save the address in the customer's address book. The default value is true. + """ + save_in_address_book: Boolean + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +"""Applies one or shipping methods to the cart.""" +input SetShippingMethodsOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of shipping methods.""" + shipping_methods: [ShippingMethodInput]! +} + +"""Defines the shipping carrier and method.""" +input ShippingMethodInput { + """ + A string that identifies a commercial carrier or an offline delivery method. + """ + carrier_code: String! + """ + A string that indicates which service a commercial carrier will use to ship items. For offline delivery methods, this value is similar to the label displayed on the checkout page. + """ + method_code: String! +} + +"""Applies a payment method to the quote.""" +input SetPaymentMethodAndPlaceOrderInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """The payment method data to apply to the cart.""" + payment_method: PaymentMethodInput! +} + +"""Specifies the quote to be converted to an order.""" +input PlaceOrderInput { + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Applies a payment method to the cart.""" +input SetPaymentMethodOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """The payment method data to apply to the cart.""" + payment_method: PaymentMethodInput! +} + +"""Defines the payment method.""" +input PaymentMethodInput { + braintree: BraintreeInput + braintree_ach_direct_debit: BraintreeInput + braintree_ach_direct_debit_vault: BraintreeVaultInput + braintree_applepay_vault: BraintreeVaultInput + braintree_cc_vault: BraintreeCcVaultInput + braintree_googlepay_vault: BraintreeVaultInput + braintree_paypal: BraintreeInput + braintree_paypal_vault: BraintreeVaultInput + """The internal name for the payment method.""" + code: String! + """Required input for PayPal Hosted pro payments.""" + hosted_pro: HostedProInput + """Required input for Payflow Express Checkout payments.""" + payflow_express: PayflowExpressInput + """Required input for PayPal Payflow Link and Payments Advanced payments.""" + payflow_link: PayflowLinkInput + """Required input for PayPal Payflow Pro and Payment Pro payments.""" + payflowpro: PayflowProInput + """Required input for PayPal Payflow Pro vault payments.""" + payflowpro_cc_vault: VaultTokenInput + """Required input for Apple Pay button""" + payment_services_paypal_apple_pay: ApplePayMethodInput + """Required input for Google Pay button""" + payment_services_paypal_google_pay: GooglePayMethodInput + """Required input for Hosted Fields""" + payment_services_paypal_hosted_fields: HostedFieldsInput + """Required input for Smart buttons""" + payment_services_paypal_smart_buttons: SmartButtonMethodInput + """Required input for vault""" + payment_services_paypal_vault: VaultMethodInput + """Required input for Express Checkout and Payments Standard payments.""" + paypal_express: PaypalExpressInput + """The purchase order number. Optional for most payment methods.""" + purchase_order_number: String +} + +"""Defines the guest email and cart.""" +input SetGuestEmailOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """The email address of the guest.""" + email: String! +} + +""" +Contains details about the final price of items in the cart, including discount and tax information. +""" +type CartPrices { + """ + An array containing the names and amounts of taxes applied to each item in the cart. + """ + applied_taxes: [CartTaxItem] + discount: CartDiscount @deprecated(reason: "Use discounts instead.") + """ + An array containing cart rule discounts, store credit and gift cards applied to the cart. + """ + discounts: [Discount] + """The list of prices for the selected gift options.""" + gift_options: GiftOptionsPrices + """The total, including discounts, taxes, shipping, and other fees.""" + grand_total: Money + """The subtotal without any applied taxes.""" + subtotal_excluding_tax: Money + """The subtotal including any applied taxes.""" + subtotal_including_tax: Money + """The subtotal with any discounts applied, but not taxes.""" + subtotal_with_discount_excluding_tax: Money +} + +"""Contains tax information about an item in the cart.""" +type CartTaxItem { + """The amount of tax applied to the item.""" + amount: Money! + """The description of the tax.""" + label: String! +} + +"""Contains information about discounts applied to the cart.""" +type CartDiscount { + """The amount of the discount applied to the item.""" + amount: Money! + """The description of the discount.""" + label: [String]! +} + +type CreateGuestCartOutput { + """The newly created cart.""" + cart: Cart +} + +"""Contains details about the cart after setting the payment method.""" +type SetPaymentMethodOnCartOutput { + """The cart after setting the payment method.""" + cart: Cart! +} + +"""Contains details about the cart after setting the billing address.""" +type SetBillingAddressOnCartOutput { + """The cart after setting the billing address.""" + cart: Cart! +} + +"""Contains details about the cart after setting the shipping addresses.""" +type SetShippingAddressesOnCartOutput { + """The cart after setting the shipping addresses.""" + cart: Cart! +} + +"""Contains details about the cart after setting the shipping methods.""" +type SetShippingMethodsOnCartOutput { + """The cart after setting the shipping methods.""" + cart: Cart! +} + +"""Contains details about the cart after applying a coupon.""" +type ApplyCouponToCartOutput { + """The cart after applying a coupon.""" + cart: Cart! +} + +"""Contains the results of the request to place an order.""" +type PlaceOrderOutput { + """An array of place order errors.""" + errors: [PlaceOrderError]! + """The ID of the order.""" + order: Order @deprecated(reason: "Use `orderV2` instead.") + """Full order information.""" + orderV2: CustomerOrder +} + +"""An error encountered while placing an order.""" +type PlaceOrderError { + """An error code that is specific to place order.""" + code: PlaceOrderErrorCodes! + """A localized error message.""" + message: String! +} + +""" +Contains the contents and other details about a guest or customer cart. +""" +type Cart { + applied_coupon: AppliedCoupon @deprecated(reason: "Use `applied_coupons` instead.") + """ + An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code. + """ + applied_coupons: [AppliedCoupon] + """An array of gift card items applied to the cart.""" + applied_gift_cards: [AppliedGiftCard] + """The amount of reward points applied to the cart.""" + applied_reward_points: RewardPointsAmount + """Store credit information applied to the cart.""" + applied_store_credit: AppliedStoreCredit + """The list of available gift wrapping options for the cart.""" + available_gift_wrappings: [GiftWrapping]! + """An array of available payment methods.""" + available_payment_methods: [AvailablePaymentMethod] + """The billing address assigned to the cart.""" + billing_address: BillingCartAddress + """The email address of the guest or customer.""" + email: String + """The entered gift message for the cart""" + gift_message: GiftMessage + """Indicates whether the shopper requested gift receipt for the cart.""" + gift_receipt_included: Boolean! + """The selected gift wrapping for the cart.""" + gift_wrapping: GiftWrapping + """The unique ID for a `Cart` object.""" + id: ID! + """Indicates whether the cart contains only virtual products.""" + is_virtual: Boolean! + """An array of products that have been added to the cart.""" + items: [CartItemInterface] @deprecated(reason: "Use `itemsV2` instead.") + itemsV2(pageSize: Int = 20, currentPage: Int = 1, sort: QuoteItemsSortInput): CartItems + """Pricing details for the quote.""" + prices: CartPrices + """Indicates whether the shopper requested a printed card for the cart.""" + printed_card_included: Boolean! + """Indicates which payment method was applied to the cart.""" + selected_payment_method: SelectedPaymentMethod + """An array of shipping addresses assigned to the cart.""" + shipping_addresses: [ShippingCartAddress]! + """The total number of items in the cart.""" + total_quantity: Float! + """The total number of items in the cart.""" + total_summary_quantity_including_config: Float! +} + +type CartItems { + """An array of products that have been added to the cart.""" + items: [CartItemInterface]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo + """The number of returned cart items.""" + total_count: Int! +} + +interface CartAddressInterface { + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """An object containing the country label and code.""" + country: CartAddressCountry! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInterface]! + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region label and code.""" + region: CartAddressRegion + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The unique id of the customer address.""" + uid: String! + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +"""Contains shipping addresses and methods.""" +type ShippingCartAddress implements CartAddressInterface { + """ + An array that lists the shipping methods that can be applied to the cart. + """ + available_shipping_methods: [AvailableShippingMethod] + cart_items: [CartItemQuantity] @deprecated(reason: "Use `cart_items_v2` instead.") + """An array that lists the items in the cart.""" + cart_items_v2: [CartItemInterface] + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """An object containing the country label and code.""" + country: CartAddressCountry! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInterface]! + """Text provided by the shopper.""" + customer_notes: String + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + items_weight: Float @deprecated(reason: "This information should not be exposed on the frontend.") + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + pickup_location_code: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region label and code.""" + region: CartAddressRegion + """An object that describes the selected shipping method.""" + selected_shipping_method: SelectedShippingMethod + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The unique id of the customer address.""" + uid: String! + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +"""Contains details about the billing address.""" +type BillingCartAddress implements CartAddressInterface { + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """An object containing the country label and code.""" + country: CartAddressCountry! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInterface]! + customer_notes: String @deprecated(reason: "The field is used only in shipping address.") + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region label and code.""" + region: CartAddressRegion + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The unique id of the customer address.""" + uid: String! + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +""" +Deprecated: The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`. +""" +type CartItemQuantity { + cart_item_id: Int! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") + quantity: Float! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") +} + +"""Contains details about the region in a billing or shipping address.""" +type CartAddressRegion { + """The state or province code.""" + code: String + """The display label for the region.""" + label: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +"""Contains details the country in a billing or shipping address.""" +type CartAddressCountry { + """The country code.""" + code: String! + """The display label for the country.""" + label: String! +} + +"""Contains details about the selected shipping method and carrier.""" +type SelectedShippingMethod { + """The cost of shipping using this shipping method.""" + amount: Money! + base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") + """ + A string that identifies a commercial carrier or an offline shipping method. + """ + carrier_code: String! + """The label for the carrier code.""" + carrier_title: String! + """A shipping method code associated with a carrier.""" + method_code: String! + """The label for the method code.""" + method_title: String! + """The cost of shipping using this shipping method, excluding tax.""" + price_excl_tax: Money! + """The cost of shipping using this shipping method, including tax.""" + price_incl_tax: Money! +} + +"""Contains details about the possible shipping methods and carriers.""" +type AvailableShippingMethod { + """The cost of shipping using this shipping method.""" + amount: Money! + """Indicates whether this shipping method can be applied to the cart.""" + available: Boolean! + base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") + """ + A string that identifies a commercial carrier or an offline shipping method. + """ + carrier_code: String! + """The label for the carrier code.""" + carrier_title: String! + """Describes an error condition.""" + error_message: String + """ + A shipping method code associated with a carrier. The value could be null if no method is available. + """ + method_code: String + """ + The label for the shipping method code. The value could be null if no method is available. + """ + method_title: String + """The cost of shipping using this shipping method, excluding tax.""" + price_excl_tax: Money! + """The cost of shipping using this shipping method, including tax.""" + price_incl_tax: Money! +} + +""" +Describes a payment method that the shopper can use to pay for the order. +""" +type AvailablePaymentMethod { + """The payment method code.""" + code: String! + """If the payment method is an online integration""" + is_deferred: Boolean! + """The payment method title.""" + title: String! +} + +"""Describes the payment method the shopper selected.""" +type SelectedPaymentMethod { + """The payment method code.""" + code: String! + """The purchase order number.""" + purchase_order_number: String + """The payment method title.""" + title: String! +} + +"""Contains the applied coupon code.""" +type AppliedCoupon { + """The coupon code the shopper applied to the card.""" + code: String! +} + +"""Specifies the cart from which to remove a coupon.""" +input RemoveCouponFromCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Contains details about the cart after removing a coupon.""" +type RemoveCouponFromCartOutput { + """The cart after removing a coupon.""" + cart: Cart +} + +"""Contains details about the cart after adding simple or group products.""" +type AddSimpleProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""Contains details about the cart after adding virtual products.""" +type AddVirtualProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""Contains details about the cart after updating items.""" +type UpdateCartItemsOutput { + """The cart after updating products.""" + cart: Cart! +} + +"""Contains details about the cart after removing an item.""" +type RemoveItemFromCartOutput { + """The cart after removing an item.""" + cart: Cart! +} + +"""Contains details about the cart after setting the email of a guest.""" +type SetGuestEmailOnCartOutput { + """The cart after setting the guest email.""" + cart: Cart! +} + +"""An implementation for simple product cart items.""" +type SimpleCartItem implements CartItemInterface { + """The list of available gift wrapping options for the cart item.""" + available_gift_wrapping: [GiftWrapping]! + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + """The entered gift message for the cart item""" + gift_message: GiftMessage + """The selected gift wrapping for the cart item.""" + gift_wrapping: GiftWrapping + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""An implementation for virtual product cart items.""" +type VirtualCartItem implements CartItemInterface { + """An array containing customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""An interface for products in a cart.""" +interface CartItemInterface { + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +type CartItemError { + """An error code that describes the error encountered""" + code: CartItemErrorType! + """A localized error message""" + message: String! +} + +enum CartItemErrorType { + UNDEFINED + ITEM_QTY + ITEM_INCREMENTS +} + +"""Specifies the discount type and value for quote line item.""" +type Discount { + """The amount of the discount.""" + amount: Money! + """The type of the entity the discount is applied to.""" + applied_to: CartDiscountType! + """The coupon related to the discount.""" + coupon: AppliedCoupon + """Is quote discounting locked for line item.""" + is_discounting_locked: Boolean + """A description of the discount.""" + label: String! + """ + Quote line item discount type. Values: 1 = PERCENTAGE_DISCOUNT; 2 = AMOUNT_DISCOUNT; 3 = PROPOSED_TOTAL. + """ + type: String + """Quote line item discount value.""" + value: Float +} + +enum CartDiscountType { + ITEM + SHIPPING +} + +""" +Contains details about the price of the item, including taxes and discounts. +""" +type CartItemPrices { + """An array of discounts to be applied to the cart item.""" + discounts: [Discount] + """An array of FPTs applied to the cart item.""" + fixed_product_taxes: [FixedProductTax] + """ + The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. + """ + price: Money! + """ + The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. + """ + price_including_tax: Money! + """The value of the price multiplied by the quantity of the item.""" + row_total: Money! + """The value of `row_total` plus the tax applied to the item.""" + row_total_including_tax: Money! + """The total of all discounts applied to the item.""" + total_item_discount: Money +} + +"""Identifies a customized product that has been placed in a cart.""" +type SelectedCustomizableOption { + """ + The unique ID for a specific `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. + """ + customizable_option_uid: ID! + id: Int! @deprecated(reason: "Use `SelectedCustomizableOption.customizable_option_uid` instead.") + """Indicates whether the customizable option is required.""" + is_required: Boolean! + """The display name of the selected customizable option.""" + label: String! + """A value indicating the order to display this option.""" + sort_order: Int! + """The type of `CustomizableOptionInterface` object.""" + type: String! + """An array of selectable values.""" + values: [SelectedCustomizableOptionValue]! +} + +"""Identifies the value of the selected customized option.""" +type SelectedCustomizableOptionValue { + """ + The unique ID for a value object that corresponds to the object represented by the `customizable_option_uid` attribute. + """ + customizable_option_value_uid: ID! + id: Int! @deprecated(reason: "Use `SelectedCustomizableOptionValue.customizable_option_value_uid` instead.") + """The display name of the selected value.""" + label: String! + """The price of the selected customizable value.""" + price: CartItemSelectedOptionValuePrice! + """The text identifying the selected value.""" + value: String! +} + +"""Contains details about the price of a selected customizable value.""" +type CartItemSelectedOptionValuePrice { + """Indicates whether the price type is fixed, percent, or dynamic.""" + type: PriceTypeEnum! + """A string that describes the unit of the value.""" + units: String! + """A price value.""" + value: Float! +} + +"""Contains the order ID.""" +type Order { + order_id: String @deprecated(reason: "Use `order_number` instead.") + """The unique ID for an `Order` object.""" + order_number: String! +} + +"""An error encountered while adding an item to the the cart.""" +type CartUserInputError { + """A cart-specific error code.""" + code: CartUserInputErrorType! + """A localized error message.""" + message: String! +} + +"""Contains details about the cart after adding products to it.""" +type AddProductsToCartOutput { + """The cart after products have been added.""" + cart: Cart! + """Contains errors encountered while adding an item to the cart.""" + user_errors: [CartUserInputError]! +} + +enum CartUserInputErrorType { + PRODUCT_NOT_FOUND + NOT_SALABLE + INSUFFICIENT_STOCK + UNDEFINED + PERMISSION_DENIED +} + +enum PlaceOrderErrorCodes { + CART_NOT_FOUND + CART_NOT_ACTIVE + GUEST_EMAIL_MISSING + UNABLE_TO_PLACE_ORDER + UNDEFINED +} + +input EstimateTotalsInput { + """Customer's address to estimate totals.""" + address: EstimateAddressInput! + """The unique ID of the cart to query.""" + cart_id: String! + """Selected shipping method to estimate totals.""" + shipping_method: ShippingMethodInput +} + +"""Estimate totals output.""" +type EstimateTotalsOutput { + """Cart after totals estimation""" + cart: Cart +} + +"""Contains details about an address.""" +input EstimateAddressInput { + """The two-letter code representing the customer's country.""" + country_code: CountryCodeEnum! + """The customer's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: CustomerAddressRegionInput +} + +"""Defines details about an individual checkout agreement.""" +type CheckoutAgreement { + """The ID for a checkout agreement.""" + agreement_id: Int! + """The checkbox text for the checkout agreement.""" + checkbox_text: String! + """Required. The text of the agreement.""" + content: String! + """ + The height of the text box where the Terms and Conditions statement appears during checkout. + """ + content_height: String + """Indicates whether the `content` text is in HTML format.""" + is_html: Boolean! + """Indicates whether agreements are accepted automatically or manually.""" + mode: CheckoutAgreementMode! + """The name given to the condition.""" + name: String! +} + +"""Indicates how agreements are accepted.""" +enum CheckoutAgreementMode { + """Conditions are automatically accepted upon checkout.""" + AUTO + """Shoppers must manually accept the conditions to place an order.""" + MANUAL +} + +"""Contains details about a customer email address to confirm.""" +input ConfirmEmailInput { + """The key to confirm the email address.""" + confirmation_key: String! + """The email address to be confirmed.""" + email: String! +} + +"""Contains details about a billing or shipping address.""" +input CustomerAddressInput { + """The customer's city or town.""" + city: String + """The customer's company.""" + company: String + """The two-letter code representing the customer's country.""" + country_code: CountryCodeEnum + """Deprecated: use `country_code` instead.""" + country_id: CountryCodeEnum + """Deprecated. Use custom_attributesV2 instead.""" + custom_attributes: [CustomerAddressAttributeInput] + """Custom attributes assigned to the customer address.""" + custom_attributesV2: [AttributeValueInput] + """Indicates whether the address is the default billing address.""" + default_billing: Boolean + """Indicates whether the address is the default shipping address.""" + default_shipping: Boolean + """The customer's fax number.""" + fax: String + """ + The first name of the person associated with the billing/shipping address. + """ + firstname: String + """ + The family name of the person associated with the billing/shipping address. + """ + lastname: String + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The customer's ZIP or postal code.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region name, region code, and region ID.""" + region: CustomerAddressRegionInput + """An array of strings that define the street number and name.""" + street: [String] + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's telephone number.""" + telephone: String + """The customer's Tax/VAT number (for corporate customers).""" + vat_id: String +} + +"""Defines the customer's state or province.""" +input CustomerAddressRegionInput { + """The state or province name.""" + region: String + """The address region code.""" + region_code: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +"""Specifies the attribute code and value of a customer attribute.""" +input CustomerAddressAttributeInput { + """The name assigned to the attribute.""" + attribute_code: String! + """The value assigned to the attribute.""" + value: String! +} + +"""Contains a customer authorization token.""" +type CustomerToken { + """Generate logout time""" + customer_token_lifetime: Int + """The customer authorization token.""" + token: String +} + +"""An input object that assigns or updates customer attributes.""" +input CustomerInput { + """The customer's date of birth.""" + date_of_birth: String + """Deprecated: Use `date_of_birth` instead.""" + dob: String + """The customer's email address. Required when creating a customer.""" + email: String + """The customer's first name.""" + firstname: String + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The customer's family name.""" + lastname: String + """The customer's middle name.""" + middlename: String + """The customer's password.""" + password: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Tax/VAT number (for corporate customers).""" + taxvat: String +} + +"""An input object for creating a customer.""" +input CustomerCreateInput { + """Indicates whether the customer has enabled remote shopping assistance.""" + allow_remote_shopping_assistance: Boolean + """The customer's custom attributes.""" + custom_attributes: [AttributeValueInput] + """The customer's date of birth.""" + date_of_birth: String + """Deprecated: Use `date_of_birth` instead.""" + dob: String + """The customer's email address.""" + email: String! + """The customer's first name.""" + firstname: String! + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The customer's family name.""" + lastname: String! + """The customer's middle name.""" + middlename: String + """The customer's password.""" + password: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Tax/VAT number (for corporate customers).""" + taxvat: String +} + +"""An input object for updating a customer.""" +input CustomerUpdateInput { + """Indicates whether the customer has enabled remote shopping assistance.""" + allow_remote_shopping_assistance: Boolean + """The customer's custom attributes.""" + custom_attributes: [AttributeValueInput] + """The customer's date of birth.""" + date_of_birth: String + """Deprecated: Use `date_of_birth` instead.""" + dob: String + """The customer's first name.""" + firstname: String + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The customer's family name.""" + lastname: String + """The customer's middle name.""" + middlename: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Tax/VAT number (for corporate customers).""" + taxvat: String +} + +"""Contains details about a newly-created or updated customer.""" +type CustomerOutput { + """Customer details after creating or updating a customer.""" + customer: Customer! +} + +"""Contains the result of a request to revoke a customer token.""" +type RevokeCustomerTokenOutput { + """The result of a request to revoke a customer token.""" + result: Boolean! +} + +"""Defines the customer name, addresses, and other details.""" +type Customer { + """An array containing the customer's shipping and billing addresses.""" + addresses: [CustomerAddress] + """Indicates whether the customer has enabled remote shopping assistance.""" + allow_remote_shopping_assistance: Boolean! + """An object that contains a list of companies user is assigned to.""" + companies(input: UserCompaniesInput): UserCompaniesOutput! + """The contents of the customer's compare list.""" + compare_list: CompareList + """The customer's confirmation status.""" + confirmation_status: ConfirmationStatusEnum! + """Timestamp indicating when the account was created.""" + created_at: String + """Customer's custom attributes.""" + custom_attributes(attributeCodes: [ID!]): [AttributeValueInterface] + """The customer's date of birth.""" + date_of_birth: String + """The ID assigned to the billing address.""" + default_billing: String + """The ID assigned to the shipping address.""" + default_shipping: String + """The customer's date of birth.""" + dob: String @deprecated(reason: "Use `date_of_birth` instead.") + """The customer's email address. Required.""" + email: String + """The customer's first name.""" + firstname: String + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """Details about all of the customer's gift registries.""" + gift_registries: [GiftRegistry] + """Details about a specific gift registry.""" + gift_registry(giftRegistryUid: ID!): GiftRegistry + group_id: Int @deprecated(reason: "Customer group should not be exposed in the storefront scenarios.") + """The ID assigned to the customer.""" + id: Int @deprecated(reason: "`id` is not needed as part of `Customer`, because on the server side, it can be identified based on the customer token used for authentication. There is no need to know customer ID on the client side.") + """ + Customer's confirmation status (confirmed/confirmation not required - true, unconfirmed - false). + """ + is_confirmed: Boolean + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The job title of a company user.""" + job_title: String + """The customer's family name.""" + lastname: String + """The customer's middle name.""" + middlename: String + orders( + """Defines the filter to use for searching customer orders.""" + filter: CustomerOrdersFilterInput + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + Specifies the maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """ + Specifies which field to sort on, and whether to return the results in ascending or descending order. + """ + sort: CustomerOrderSortInput + """ + Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores. + """ + scope: ScopeTypeEnum + ): CustomerOrders + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """Purchase order details.""" + purchase_order(uid: ID!): PurchaseOrder + """Details about a single purchase order approval rule.""" + purchase_order_approval_rule(uid: ID!): PurchaseOrderApprovalRule + """ + Purchase order approval rule metadata that can be used for rule edit form rendering. + """ + purchase_order_approval_rule_metadata: PurchaseOrderApprovalRuleMetadata + """A list of purchase order approval rules visible to the customer.""" + purchase_order_approval_rules(currentPage: Int = 1, pageSize: Int = 20): PurchaseOrderApprovalRules + """A list of purchase orders visible to the customer.""" + purchase_orders(filter: PurchaseOrdersFilterInput, currentPage: Int = 1, pageSize: Int = 20): PurchaseOrders + """ + Indicates whether purchase order functionality is enabled for the current customer. Global and company-level settings are factored into the result. + """ + purchase_orders_enabled: Boolean! + """An object that contains the customer's requisition lists.""" + requisition_lists( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The filter to use to limit the number of requisition lists to return.""" + filter: RequisitionListFilterInput + ): RequisitionLists + """ + Details about the specified return request from the unique ID for a `Return` object. + """ + return(uid: ID!): Return + """Information about the customer's return requests.""" + returns( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): Returns + """Contains the customer's product reviews.""" + reviews( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """Customer reward points details.""" + reward_points: RewardPoints + """The role name and permissions assigned to the company user.""" + role: CompanyRole + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum + """Store credit information applied for the logged in customer.""" + store_credit: CustomerStoreCredit + """ID of the company structure""" + structure_id: ID! + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Value-added tax (VAT) number (for corporate customers).""" + taxvat: String + """The team the company user is assigned to.""" + team: CompanyTeam + """The phone number of the company user.""" + telephone: String + """Return a customer's wish lists.""" + wishlist: Wishlist! @deprecated(reason: "Use `Customer.wishlists` or `Customer.wishlist_v2` instead.") + """ + Retrieve the wish list identified by the unique ID for a `Wishlist` object. + """ + wishlist_v2(id: ID!): Wishlist + """ + An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce. + """ + wishlists( + """ + Specifies the maximum number of results to return at once. This attribute is optional. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): [Wishlist]! +} + +""" +Contains detailed information about a customer's billing or shipping address. +""" +type CustomerAddress { + """The customer's city or town.""" + city: String + """The customer's company.""" + company: String + """The customer's country.""" + country_code: CountryCodeEnum + """The customer's country.""" + country_id: String @deprecated(reason: "Use `country_code` instead.") + custom_attributes: [CustomerAddressAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") + """Custom attributes assigned to the customer address.""" + custom_attributesV2(attributeCodes: [ID!]): [AttributeValueInterface]! + """The customer ID""" + customer_id: Int @deprecated(reason: "`customer_id` is not needed as part of `CustomerAddress`. The `id` is a unique identifier for the addresses.") + """ + Indicates whether the address is the customer's default billing address. + """ + default_billing: Boolean + """ + Indicates whether the address is the customer's default shipping address. + """ + default_shipping: Boolean + """Contains any extension attributes for the address.""" + extension_attributes: [CustomerAddressAttribute] + """The customer's fax number.""" + fax: String + """ + The first name of the person associated with the shipping/billing address. + """ + firstname: String + """The ID of a `CustomerAddress` object.""" + id: Int + """ + The family name of the person associated with the shipping/billing address. + """ + lastname: String + """ + The middle name of the person associated with the shipping/billing address. + """ + middlename: String + """The customer's ZIP or postal code.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region name, region code, and region ID.""" + region: CustomerAddressRegion + """The unique ID for a pre-defined region.""" + region_id: Int + """An array of strings that define the street number and name.""" + street: [String] + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's telephone number.""" + telephone: String + """The customer's Value-added tax (VAT) number (for corporate customers).""" + vat_id: String +} + +"""Defines the customer's state or province.""" +type CustomerAddressRegion { + """The state or province name.""" + region: String + """The address region code.""" + region_code: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +""" +Specifies the attribute code and value of a customer address attribute. +""" +type CustomerAddressAttribute { + """The name assigned to the customer address attribute.""" + attribute_code: String + """The value assigned to the customer address attribute.""" + value: String +} + +"""Contains the result of the `isEmailAvailable` query.""" +type IsEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a customer. + """ + is_email_available: Boolean +} + +"""The list of country codes.""" +enum CountryCodeEnum { + """Afghanistan""" + AF + """Åland Islands""" + AX + """Albania""" + AL + """Algeria""" + DZ + """American Samoa""" + AS + """Andorra""" + AD + """Angola""" + AO + """Anguilla""" + AI + """Antarctica""" + AQ + """Antigua & Barbuda""" + AG + """Argentina""" + AR + """Armenia""" + AM + """Aruba""" + AW + """Australia""" + AU + """Austria""" + AT + """Azerbaijan""" + AZ + """Bahamas""" + BS + """Bahrain""" + BH + """Bangladesh""" + BD + """Barbados""" + BB + """Belarus""" + BY + """Belgium""" + BE + """Belize""" + BZ + """Benin""" + BJ + """Bermuda""" + BM + """Bhutan""" + BT + """Bolivia""" + BO + """Bosnia & Herzegovina""" + BA + """Botswana""" + BW + """Bouvet Island""" + BV + """Brazil""" + BR + """British Indian Ocean Territory""" + IO + """British Virgin Islands""" + VG + """Brunei""" + BN + """Bulgaria""" + BG + """Burkina Faso""" + BF + """Burundi""" + BI + """Cambodia""" + KH + """Cameroon""" + CM + """Canada""" + CA + """Cape Verde""" + CV + """Cayman Islands""" + KY + """Central African Republic""" + CF + """Chad""" + TD + """Chile""" + CL + """China""" + CN + """Christmas Island""" + CX + """Cocos (Keeling) Islands""" + CC + """Colombia""" + CO + """Comoros""" + KM + """Congo-Brazzaville""" + CG + """Congo-Kinshasa""" + CD + """Cook Islands""" + CK + """Costa Rica""" + CR + """Côte d’Ivoire""" + CI + """Croatia""" + HR + """Cuba""" + CU + """Cyprus""" + CY + """Czech Republic""" + CZ + """Denmark""" + DK + """Djibouti""" + DJ + """Dominica""" + DM + """Dominican Republic""" + DO + """Ecuador""" + EC + """Egypt""" + EG + """El Salvador""" + SV + """Equatorial Guinea""" + GQ + """Eritrea""" + ER + """Estonia""" + EE + """Eswatini""" + SZ + """Ethiopia""" + ET + """Falkland Islands""" + FK + """Faroe Islands""" + FO + """Fiji""" + FJ + """Finland""" + FI + """France""" + FR + """French Guiana""" + GF + """French Polynesia""" + PF + """French Southern Territories""" + TF + """Gabon""" + GA + """Gambia""" + GM + """Georgia""" + GE + """Germany""" + DE + """Ghana""" + GH + """Gibraltar""" + GI + """Greece""" + GR + """Greenland""" + GL + """Grenada""" + GD + """Guadeloupe""" + GP + """Guam""" + GU + """Guatemala""" + GT + """Guernsey""" + GG + """Guinea""" + GN + """Guinea-Bissau""" + GW + """Guyana""" + GY + """Haiti""" + HT + """Heard & McDonald Islands""" + HM + """Honduras""" + HN + """Hong Kong SAR China""" + HK + """Hungary""" + HU + """Iceland""" + IS + """India""" + IN + """Indonesia""" + ID + """Iran""" + IR + """Iraq""" + IQ + """Ireland""" + IE + """Isle of Man""" + IM + """Israel""" + IL + """Italy""" + IT + """Jamaica""" + JM + """Japan""" + JP + """Jersey""" + JE + """Jordan""" + JO + """Kazakhstan""" + KZ + """Kenya""" + KE + """Kiribati""" + KI + """Kuwait""" + KW + """Kyrgyzstan""" + KG + """Laos""" + LA + """Latvia""" + LV + """Lebanon""" + LB + """Lesotho""" + LS + """Liberia""" + LR + """Libya""" + LY + """Liechtenstein""" + LI + """Lithuania""" + LT + """Luxembourg""" + LU + """Macau SAR China""" + MO + """Macedonia""" + MK + """Madagascar""" + MG + """Malawi""" + MW + """Malaysia""" + MY + """Maldives""" + MV + """Mali""" + ML + """Malta""" + MT + """Marshall Islands""" + MH + """Martinique""" + MQ + """Mauritania""" + MR + """Mauritius""" + MU + """Mayotte""" + YT + """Mexico""" + MX + """Micronesia""" + FM + """Moldova""" + MD + """Monaco""" + MC + """Mongolia""" + MN + """Montenegro""" + ME + """Montserrat""" + MS + """Morocco""" + MA + """Mozambique""" + MZ + """Myanmar (Burma)""" + MM + """Namibia""" + NA + """Nauru""" + NR + """Nepal""" + NP + """Netherlands""" + NL + """Netherlands Antilles""" + AN + """New Caledonia""" + NC + """New Zealand""" + NZ + """Nicaragua""" + NI + """Niger""" + NE + """Nigeria""" + NG + """Niue""" + NU + """Norfolk Island""" + NF + """Northern Mariana Islands""" + MP + """North Korea""" + KP + """Norway""" + NO + """Oman""" + OM + """Pakistan""" + PK + """Palau""" + PW + """Palestinian Territories""" + PS + """Panama""" + PA + """Papua New Guinea""" + PG + """Paraguay""" + PY + """Peru""" + PE + """Philippines""" + PH + """Pitcairn Islands""" + PN + """Poland""" + PL + """Portugal""" + PT + """Qatar""" + QA + """Réunion""" + RE + """Romania""" + RO + """Russia""" + RU + """Rwanda""" + RW + """Samoa""" + WS + """San Marino""" + SM + """São Tomé & Príncipe""" + ST + """Saudi Arabia""" + SA + """Senegal""" + SN + """Serbia""" + RS + """Seychelles""" + SC + """Sierra Leone""" + SL + """Singapore""" + SG + """Slovakia""" + SK + """Slovenia""" + SI + """Solomon Islands""" + SB + """Somalia""" + SO + """South Africa""" + ZA + """South Georgia & South Sandwich Islands""" + GS + """South Korea""" + KR + """Spain""" + ES + """Sri Lanka""" + LK + """St. Barthélemy""" + BL + """St. Helena""" + SH + """St. Kitts & Nevis""" + KN + """St. Lucia""" + LC + """St. Martin""" + MF + """St. Pierre & Miquelon""" + PM + """St. Vincent & Grenadines""" + VC + """Sudan""" + SD + """Suriname""" + SR + """Svalbard & Jan Mayen""" + SJ + """Sweden""" + SE + """Switzerland""" + CH + """Syria""" + SY + """Taiwan""" + TW + """Tajikistan""" + TJ + """Tanzania""" + TZ + """Thailand""" + TH + """Timor-Leste""" + TL + """Togo""" + TG + """Tokelau""" + TK + """Tonga""" + TO + """Trinidad & Tobago""" + TT + """Tunisia""" + TN + """Turkey""" + TR + """Turkmenistan""" + TM + """Turks & Caicos Islands""" + TC + """Tuvalu""" + TV + """Uganda""" + UG + """Ukraine""" + UA + """United Arab Emirates""" + AE + """United Kingdom""" + GB + """United States""" + US + """Uruguay""" + UY + """U.S. Outlying Islands""" + UM + """U.S. Virgin Islands""" + VI + """Uzbekistan""" + UZ + """Vanuatu""" + VU + """Vatican City""" + VA + """Venezuela""" + VE + """Vietnam""" + VN + """Wallis & Futuna""" + WF + """Western Sahara""" + EH + """Yemen""" + YE + """Zambia""" + ZM + """Zimbabwe""" + ZW +} + +"""Customer attribute metadata.""" +type CustomerAttributeMetadata implements CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """The template used for the input of the attribute (e.g., 'date').""" + input_filter: InputFilterEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """The number of lines of the attribute value.""" + multiline_count: Int + """Attribute options.""" + options: [CustomAttributeOptionInterface]! + """The position of the attribute in the form.""" + sort_order: Int + """The validation rules of the attribute value.""" + validate_rules: [ValidationRule] +} + +"""List of templates/filters applied to customer attribute input.""" +enum InputFilterEnum { + """There are no templates or filters to be applied.""" + NONE + """Forces attribute input to follow the date format.""" + DATE + """ + Strip whitespace (or other characters) from the beginning and end of the input. + """ + TRIM + """Strip HTML Tags.""" + STRIPTAGS + """Escape HTML Entities.""" + ESCAPEHTML +} + +"""Defines a customer attribute validation rule.""" +type ValidationRule { + """Validation rule name applied to a customer attribute.""" + name: ValidationRuleEnum + """Validation rule value.""" + value: String +} + +"""List of validation rule names applied to a customer attribute.""" +enum ValidationRuleEnum { + DATE_RANGE_MAX + DATE_RANGE_MIN + FILE_EXTENSIONS + INPUT_VALIDATION + MAX_TEXT_LENGTH + MIN_TEXT_LENGTH + MAX_FILE_SIZE + MAX_IMAGE_HEIGHT + MAX_IMAGE_WIDTH +} + +"""List of account confirmation statuses.""" +enum ConfirmationStatusEnum { + """Account confirmed""" + ACCOUNT_CONFIRMED + """Account confirmation not required""" + ACCOUNT_CONFIRMATION_NOT_REQUIRED +} + +"""Defines properties of a negotiable quote request.""" +input RequestNegotiableQuoteInput { + """The cart ID of the buyer requesting a new negotiable quote.""" + cart_id: ID! + """Comments the buyer entered to describe the request.""" + comment: NegotiableQuoteCommentInput! + """Flag indicating if quote is draft or not.""" + is_draft: Boolean + """The name the buyer assigned to the negotiable quote request.""" + quote_name: String! +} + +"""Specifies the items to update.""" +input UpdateNegotiableQuoteQuantitiesInput { + """An array of items to update.""" + items: [NegotiableQuoteItemQuantityInput]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Specifies the updated quantity of an item.""" +input NegotiableQuoteItemQuantityInput { + """The new quantity of the negotiable quote item.""" + quantity: Float! + """The unique ID of a `CartItemInterface` object.""" + quote_item_uid: ID! +} + +"""Contains the updated negotiable quote.""" +type UpdateNegotiableQuoteItemsQuantityOutput { + """The updated negotiable quote.""" + quote: NegotiableQuote +} + +"""Specifies the negotiable quote to convert to an order.""" +input PlaceNegotiableQuoteOrderInput { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""An output object that returns the generated order.""" +type PlaceNegotiableQuoteOrderOutput { + """Contains the generated order number.""" + order: Order! +} + +"""Specifies which negotiable quote to send for review.""" +input SendNegotiableQuoteForReviewInput { + """A comment for the seller to review.""" + comment: NegotiableQuoteCommentInput + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Contains the negotiable quote.""" +type SendNegotiableQuoteForReviewOutput { + """The negotiable quote after sending for seller review.""" + quote: NegotiableQuote +} + +"""Defines the shipping address to assign to the negotiable quote.""" +input SetNegotiableQuoteShippingAddressInput { + """The unique ID of a `CustomerAddress` object.""" + customer_address_id: ID + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! + """An array of shipping addresses to apply to the negotiable quote.""" + shipping_addresses: [NegotiableQuoteShippingAddressInput] +} + +"""Defines shipping addresses for the negotiable quote.""" +input NegotiableQuoteShippingAddressInput { + """A shipping address.""" + address: NegotiableQuoteAddressInput + """ + An ID from the company user's address book that uniquely identifies the address to be used for shipping. + """ + customer_address_uid: ID + """Text provided by the company user.""" + customer_notes: String +} + +"""Sets the billing address.""" +input SetNegotiableQuoteBillingAddressInput { + """The billing address to be added.""" + billing_address: NegotiableQuoteBillingAddressInput! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Defines the billing address.""" +input NegotiableQuoteBillingAddressInput { + """Defines a billing address.""" + address: NegotiableQuoteAddressInput + """The unique ID of a `CustomerAddress` object.""" + customer_address_uid: ID + """ + Indicates whether to set the billing address to be the same as the existing shipping address on the negotiable quote. + """ + same_as_shipping: Boolean + """ + Indicates whether to set the shipping address to be the same as this billing address. + """ + use_for_shipping: Boolean +} + +"""Defines the billing or shipping address to be applied to the cart.""" +input NegotiableQuoteAddressInput { + """The city specified for the billing or shipping address.""" + city: String! + """The company name.""" + company: String + """The country code and label for the billing or shipping address.""" + country_code: String! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """ + A string that defines the state or province of the billing or shipping address. + """ + region: String + """ + An integer that defines the state or province of the billing or shipping address. + """ + region_id: Int + """ + Determines whether to save the address in the customer's address book. The default value is true. + """ + save_in_address_book: Boolean + """An array containing the street for the billing or shipping address.""" + street: [String]! + """The telephone number for the billing or shipping address.""" + telephone: String +} + +"""Defines the shipping method to apply to the negotiable quote.""" +input SetNegotiableQuoteShippingMethodsInput { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! + """An array of shipping methods to apply to the negotiable quote.""" + shipping_methods: [ShippingMethodInput]! +} + +"""Sets quote item note.""" +input LineItemNoteInput { + """The note text to be added.""" + note: String + """The unique ID of a `CartLineItem` object.""" + quote_item_uid: ID! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Sets new name for a negotiable quote.""" +input RenameNegotiableQuoteInput { + """The reason for the quote name change specified by the buyer.""" + quote_comment: String + """ + The new quote name the buyer specified to the negotiable quote request. + """ + quote_name: String! + """The cart ID of the buyer requesting a new negotiable quote.""" + quote_uid: ID! +} + +"""Contains the updated negotiable quote.""" +type SetLineItemNoteOutput { + """The negotiable quote after sending for seller review.""" + quote: NegotiableQuote +} + +"""Move Line Item to Requisition List.""" +input MoveLineItemToRequisitionListInput { + """The unique ID of a `CartLineItem` object.""" + quote_item_uid: ID! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! + """The unique ID of a requisition list.""" + requisition_list_uid: ID! +} + +"""Contains the updated negotiable quote.""" +type MoveLineItemToRequisitionListOutput { + """The negotiable quote after moving item to requisition list.""" + quote: NegotiableQuote +} + +"""Contains the negotiable quote.""" +type SetNegotiableQuoteShippingMethodsOutput { + """The negotiable quote after applying shipping methods.""" + quote: NegotiableQuote +} + +"""Contains the negotiable quote.""" +type SetNegotiableQuoteShippingAddressOutput { + """The negotiable quote after assigning a shipping address.""" + quote: NegotiableQuote +} + +"""Contains the negotiable quote.""" +type SetNegotiableQuoteBillingAddressOutput { + """The negotiable quote after assigning a billing address.""" + quote: NegotiableQuote +} + +"""Defines the items to remove from the specified negotiable quote.""" +input RemoveNegotiableQuoteItemsInput { + """ + An array of IDs indicating which items to remove from the negotiable quote. + """ + quote_item_uids: [ID]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Contains the negotiable quote.""" +type RemoveNegotiableQuoteItemsOutput { + """The negotiable quote after removing items.""" + quote: NegotiableQuote +} + +"""Defines the negotiable quotes to mark as closed.""" +input CloseNegotiableQuotesInput { + """A list of unique IDs from `NegotiableQuote` objects.""" + quote_uids: [ID]! +} + +""" +Contains the closed negotiable quotes and other negotiable quotes the company user can view. +""" +type CloseNegotiableQuotesOutput { + """An array containing the negotiable quotes that were just closed.""" + closed_quotes: [NegotiableQuote] @deprecated(reason: "Use `operation_results` instead.") + """ + A list of negotiable quotes that can be viewed by the logged-in customer + """ + negotiable_quotes( + """The filter to use to determine which negotiable quotes to close.""" + filter: NegotiableQuoteFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteSortInput + ): NegotiableQuotesOutput + """An array of closed negotiable quote UIDs and details about any errors.""" + operation_results: [CloseNegotiableQuoteOperationResult]! + """The status of the request to close one or more negotiable quotes.""" + result_status: BatchMutationStatus! +} + +"""Contains the updated negotiable quote.""" +type RenameNegotiableQuoteOutput { + """The negotiable quote after updating the name.""" + quote: NegotiableQuote +} + +union CloseNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | CloseNegotiableQuoteOperationFailure + +union CloseNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError + +""" +Contains a list of undeleted negotiable quotes the company user can view. +""" +type DeleteNegotiableQuotesOutput { + """A list of negotiable quotes that the customer can view""" + negotiable_quotes( + """The filter to use to determine which negotiable quotes to delete.""" + filter: NegotiableQuoteFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteSortInput + ): NegotiableQuotesOutput + """ + An array of deleted negotiable quote UIDs and details about any errors. + """ + operation_results: [DeleteNegotiableQuoteOperationResult]! + """The status of the request to delete one or more negotiable quotes.""" + result_status: BatchMutationStatus! +} + +union DeleteNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | DeleteNegotiableQuoteOperationFailure + +union DeleteNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError + +"""Defines the payment method to be applied to the negotiable quote.""" +input NegotiableQuotePaymentMethodInput { + """Payment method code""" + code: String! + """The purchase order number. Optional for most payment methods.""" + purchase_order_number: String +} + +""" +Contains details about the negotiable quote after setting the payment method. +""" +type SetNegotiableQuotePaymentMethodOutput { + """The updated negotiable quote.""" + quote: NegotiableQuote +} + +"""Contains a list of negotiable that match the specified filter.""" +type NegotiableQuotesOutput { + """A list of negotiable quotes""" + items: [NegotiableQuote]! + """Contains pagination metadata""" + page_info: SearchResultPageInfo! + """Contains the default sort field and all available sort fields.""" + sort_fields: SortFields + """The number of negotiable quotes returned""" + total_count: Int! +} + +"""Defines the field to use to sort a list of negotiable quotes.""" +input NegotiableQuoteSortInput { + """Whether to return results in ascending or descending order.""" + sort_direction: SortEnum! + """The specified sort field.""" + sort_field: NegotiableQuoteSortableField! +} + +enum NegotiableQuoteSortableField { + """Sorts negotiable quotes by name.""" + QUOTE_NAME + """Sorts negotiable quotes by the dates they were created.""" + CREATED_AT + """Sorts negotiable quotes by the dates they were last modified.""" + UPDATED_AT +} + +"""Contains the commend provided by the buyer.""" +input NegotiableQuoteCommentInput { + """The comment provided by the buyer.""" + comment: String! +} + +"""Contains a single plain text comment from either the buyer or seller.""" +type NegotiableQuoteComment { + """The first and last name of the commenter.""" + author: NegotiableQuoteUser! + """Timestamp indicating when the comment was created.""" + created_at: String! + """Indicates whether a buyer or seller commented.""" + creator_type: NegotiableQuoteCommentCreatorType! + """The plain text comment.""" + text: String! + """The unique ID of a `NegotiableQuoteComment` object.""" + uid: ID! +} + +enum NegotiableQuoteCommentCreatorType { + BUYER + SELLER +} + +"""Contains details about a negotiable quote.""" +type NegotiableQuote { + """ + An array of payment methods that can be applied to the negotiable quote. + """ + available_payment_methods: [AvailablePaymentMethod] + """The billing address applied to the negotiable quote.""" + billing_address: NegotiableQuoteBillingAddress + """The first and last name of the buyer.""" + buyer: NegotiableQuoteUser! + """A list of comments made by the buyer and seller.""" + comments: [NegotiableQuoteComment] + """Timestamp indicating when the negotiable quote was created.""" + created_at: String + """The email address of the company user.""" + email: String + """A list of status and price changes for the negotiable quote.""" + history: [NegotiableQuoteHistoryEntry] + """Indicates whether the negotiable quote contains only virtual products.""" + is_virtual: Boolean! + """The list of items in the negotiable quote.""" + items: [CartItemInterface] + """The title assigned to the negotiable quote.""" + name: String! + """A set of subtotals and totals applied to the negotiable quote.""" + prices: CartPrices + """The payment method that was applied to the negotiable quote.""" + selected_payment_method: SelectedPaymentMethod + """A list of shipping addresses applied to the negotiable quote.""" + shipping_addresses: [NegotiableQuoteShippingAddress]! + """The status of the negotiable quote.""" + status: NegotiableQuoteStatus! + """The total number of items in the negotiable quote.""" + total_quantity: Float! + """The unique ID of a `NegotiableQuote` object.""" + uid: ID! + """Timestamp indicating when the negotiable quote was updated.""" + updated_at: String +} + +enum NegotiableQuoteStatus { + SUBMITTED + PENDING + UPDATED + OPEN + ORDERED + CLOSED + DECLINED + EXPIRED + DRAFT +} + +"""Defines a filter to limit the negotiable quotes to return.""" +input NegotiableQuoteFilterInput { + """Filter by the ID of one or more negotiable quotes.""" + ids: FilterEqualTypeInput + """Filter by the negotiable quote name.""" + name: FilterMatchTypeInput +} + +"""Contains details about a change for a negotiable quote.""" +type NegotiableQuoteHistoryEntry { + """The person who made a change in the status of the negotiable quote.""" + author: NegotiableQuoteUser! + """ + An enum that describes the why the entry in the negotiable quote history changed status. + """ + change_type: NegotiableQuoteHistoryEntryChangeType! + """The set of changes in the negotiable quote.""" + changes: NegotiableQuoteHistoryChanges + """Timestamp indicating when the negotiable quote entry was created.""" + created_at: String + """The unique ID of a `NegotiableQuoteHistoryEntry` object.""" + uid: ID! +} + +"""Contains a list of changes to a negotiable quote.""" +type NegotiableQuoteHistoryChanges { + """The comment provided with a change in the negotiable quote history.""" + comment_added: NegotiableQuoteHistoryCommentChange + """Lists log entries added by third-party extensions.""" + custom_changes: NegotiableQuoteCustomLogChange + """ + The expiration date of the negotiable quote before and after a change in the quote history. + """ + expiration: NegotiableQuoteHistoryExpirationChange + """ + Lists products that were removed as a result of a change in the quote history. + """ + products_removed: NegotiableQuoteHistoryProductsRemovedChange + """The status before and after a change in the negotiable quote history.""" + statuses: NegotiableQuoteHistoryStatusesChange + """ + The total amount of the negotiable quote before and after a change in the quote history. + """ + total: NegotiableQuoteHistoryTotalChange +} + +""" +Lists a new status change applied to a negotiable quote and the previous status. +""" +type NegotiableQuoteHistoryStatusChange { + """The updated status.""" + new_status: NegotiableQuoteStatus! + """ + The previous status. The value will be null for the first history entry in a negotiable quote. + """ + old_status: NegotiableQuoteStatus +} + +""" +Contains a list of status changes that occurred for the negotiable quote. +""" +type NegotiableQuoteHistoryStatusesChange { + """A list of status changes.""" + changes: [NegotiableQuoteHistoryStatusChange]! +} + +"""Contains a comment submitted by a seller or buyer.""" +type NegotiableQuoteHistoryCommentChange { + """A plain text comment submitted by a seller or buyer.""" + comment: String! +} + +"""Contains a new price and the previous price.""" +type NegotiableQuoteHistoryTotalChange { + """The total price as a result of the change.""" + new_price: Money + """The previous total price on the negotiable quote.""" + old_price: Money +} + +"""Contains a new expiration date and the previous date.""" +type NegotiableQuoteHistoryExpirationChange { + """ + The expiration date after the change. The value will be 'null' if not set. + """ + new_expiration: String + """ + The previous expiration date. The value will be 'null' if not previously set. + """ + old_expiration: String +} + +""" +Contains lists of products that have been removed from the catalog and negotiable quote. +""" +type NegotiableQuoteHistoryProductsRemovedChange { + """A list of product IDs the seller removed from the catalog.""" + products_removed_from_catalog: [ID] + """ + A list of products removed from the negotiable quote by either the buyer or the seller. + """ + products_removed_from_quote: [ProductInterface] +} + +"""Contains custom log entries added by third-party extensions.""" +type NegotiableQuoteCustomLogChange { + """The new entry content.""" + new_value: String! + """The previous entry in the custom log.""" + old_value: String + """The title of the custom log entry.""" + title: String! +} + +enum NegotiableQuoteHistoryEntryChangeType { + CREATED + UPDATED + CLOSED + UPDATED_BY_SYSTEM +} + +""" +Contains the `NegotiableQuote` object generated when a buyer requests a negotiable quote. +""" +type RequestNegotiableQuoteOutput { + """Details about the negotiable quote.""" + quote: NegotiableQuote +} + +interface NegotiableQuoteAddressInterface { + """The company's city or town.""" + city: String! + """The company name associated with the shipping/billing address.""" + company: String + """The company's country.""" + country: NegotiableQuoteAddressCountry! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The company's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: NegotiableQuoteAddressRegion + """An array of strings that define the street number and name.""" + street: [String]! + """The customer's telephone number.""" + telephone: String +} + +"""Defines the company's state or province.""" +type NegotiableQuoteAddressRegion { + """The address region code.""" + code: String + """The display name of the region.""" + label: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +"""Defines the company's country.""" +type NegotiableQuoteAddressCountry { + """The address country code.""" + code: String! + """The display name of the region.""" + label: String! +} + +type NegotiableQuoteShippingAddress implements NegotiableQuoteAddressInterface { + """An array of shipping methods available to the buyer.""" + available_shipping_methods: [AvailableShippingMethod] + """The company's city or town.""" + city: String! + """The company name associated with the shipping/billing address.""" + company: String + """The company's country.""" + country: NegotiableQuoteAddressCountry! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The company's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: NegotiableQuoteAddressRegion + """The selected shipping method.""" + selected_shipping_method: SelectedShippingMethod + """An array of strings that define the street number and name.""" + street: [String]! + """The customer's telephone number.""" + telephone: String +} + +type NegotiableQuoteBillingAddress implements NegotiableQuoteAddressInterface { + """The company's city or town.""" + city: String! + """The company name associated with the shipping/billing address.""" + company: String + """The company's country.""" + country: NegotiableQuoteAddressCountry! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The company's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: NegotiableQuoteAddressRegion + """An array of strings that define the street number and name.""" + street: [String]! + """The customer's telephone number.""" + telephone: String +} + +"""A limited view of a Buyer or Seller in the negotiable quote process.""" +type NegotiableQuoteUser { + """The first name of the buyer or seller making a change.""" + firstname: String! + """The buyer's or seller's last name.""" + lastname: String! +} + +interface NegotiableQuoteUidNonFatalResultInterface { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Contains details about a successful operation on a negotiable quote.""" +type NegotiableQuoteUidOperationSuccess implements NegotiableQuoteUidNonFatalResultInterface { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +""" +An error indicating that an operation was attempted on a negotiable quote in an invalid state. +""" +type NegotiableQuoteInvalidStateError implements ErrorInterface { + """The returned error message.""" + message: String! +} + +"""The note object for quote line item.""" +type ItemNote { + """Timestamp that reflects note creation date.""" + created_at: String + """ID of the user who submitted a note.""" + creator_id: Int + """Type of teh user who submitted a note.""" + creator_type: Int + """The unique ID of a `CartItemInterface` object.""" + negotiable_quote_item_uid: ID + """Note text.""" + note: String + """The unique ID of a `ItemNote` object.""" + note_uid: ID +} + +"""Contains details about a failed close operation on a negotiable quote.""" +type CloseNegotiableQuoteOperationFailure { + """ + An array of errors encountered while attempting close the negotiable quote. + """ + errors: [CloseNegotiableQuoteError]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +input DeleteNegotiableQuotesInput { + """A list of unique IDs for `NegotiableQuote` objects to delete.""" + quote_uids: [ID]! +} + +""" +Contains details about a failed delete operation on a negotiable quote. +""" +type DeleteNegotiableQuoteOperationFailure { + errors: [DeleteNegotiableQuoteError]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Defines the payment method of the specified negotiable quote.""" +input SetNegotiableQuotePaymentMethodInput { + """The payment method to be assigned to the negotiable quote.""" + payment_method: NegotiableQuotePaymentMethodInput! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +""" +Defines an object used to iterate through items for product comparisons. +""" +type ComparableItem { + """An array of product attributes that can be used to compare products.""" + attributes: [ProductAttribute]! + """Details about a product in a compare list.""" + product: ProductInterface! + """The unique ID of an item in a compare list.""" + uid: ID! +} + +"""Contains a product attribute code and value.""" +type ProductAttribute { + """The unique identifier for a product attribute code.""" + code: String! + """The display value of the attribute.""" + value: String! +} + +"""Contains an attribute code that is used for product comparisons.""" +type ComparableAttribute { + """An attribute code that is enabled for product comparisons.""" + code: String! + """The label of the attribute code.""" + label: String! +} + +""" +Contains iterable information such as the array of items, the count, and attributes that represent the compare list. +""" +type CompareList { + """An array of attributes that can be used for comparing products.""" + attributes: [ComparableAttribute] + """The number of items in the compare list.""" + item_count: Int! + """An array of products to compare.""" + items: [ComparableItem] + """The unique ID assigned to the compare list.""" + uid: ID! +} + +"""Contains an array of product IDs to use for creating a compare list.""" +input CreateCompareListInput { + """An array of product IDs to add to the compare list.""" + products: [ID] +} + +"""Contains products to add to an existing compare list.""" +input AddProductsToCompareListInput { + """An array of product IDs to add to the compare list.""" + products: [ID]! + """The unique identifier of the compare list to modify.""" + uid: ID! +} + +"""Defines which products to remove from a compare list.""" +input RemoveProductsFromCompareListInput { + """An array of product IDs to remove from the compare list.""" + products: [ID]! + """The unique identifier of the compare list to modify.""" + uid: ID! +} + +"""Contains the results of the request to delete a compare list.""" +type DeleteCompareListOutput { + """Indicates whether the compare list was successfully deleted.""" + result: Boolean! +} + +"""Contains the results of the request to assign a compare list.""" +type AssignCompareListToCustomerOutput { + """The contents of the customer's compare list.""" + compare_list: CompareList + """ + Indicates whether the compare list was successfully assigned to the customer. + """ + result: Boolean! +} + +""" +Defines basic features of a configurable product and its simple product variants. +""" +type ConfigurableProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of options for the configurable product.""" + configurable_options: [ConfigurableProductOptions] + """ + An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options. + """ + configurable_product_options_selection(configurableOptionValueUids: [ID!]): ConfigurableProductOptionsSelection + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + """An array of simple product variants.""" + variants: [ConfigurableVariant] + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +"""Contains all the simple product variants of a configurable product.""" +type ConfigurableVariant { + """An array of configurable attribute options.""" + attributes: [ConfigurableAttributeOption] + """An array of linked simple products.""" + product: SimpleProduct +} + +"""Contains details about a configurable product attribute option.""" +type ConfigurableAttributeOption { + """The ID assigned to the attribute.""" + code: String + """A string that describes the configurable attribute option.""" + label: String + """The unique ID for a `ConfigurableAttributeOption` object.""" + uid: ID! + """A unique index number assigned to the configurable product option.""" + value_index: Int +} + +"""Defines configurable attributes for the specified product.""" +type ConfigurableProductOptions { + """A string that identifies the attribute.""" + attribute_code: String + """The ID assigned to the attribute.""" + attribute_id: String @deprecated(reason: "Use `attribute_uid` instead.") + """The ID assigned to the attribute.""" + attribute_id_v2: Int @deprecated(reason: "Use `attribute_uid` instead.") + """The unique ID for an `Attribute` object.""" + attribute_uid: ID! + """The configurable option ID number assigned by the system.""" + id: Int @deprecated(reason: "Use `uid` instead.") + """A displayed string that describes the configurable product option.""" + label: String + """A number that indicates the order in which the attribute is displayed.""" + position: Int + """This is the same as a product's `id` field.""" + product_id: Int @deprecated(reason: "`product_id` is not needed and can be obtained from its parent.") + """The unique ID for a `ConfigurableProductOptions` object.""" + uid: ID! + """Indicates whether the option is the default.""" + use_default: Boolean + """ + An array that defines the `value_index` codes assigned to the configurable product. + """ + values: [ConfigurableProductOptionsValues] +} + +"""Contains the index number assigned to a configurable product option.""" +type ConfigurableProductOptionsValues { + """The label of the product on the default store.""" + default_label: String + """The label of the product.""" + label: String + """The label of the product on the current store.""" + store_label: String + """Swatch data for a configurable product option.""" + swatch_data: SwatchDataInterface + """The unique ID for a `ConfigurableProductOptionsValues` object.""" + uid: ID + """Indicates whether to use the default_label.""" + use_default_value: Boolean + """A unique index number assigned to the configurable product option.""" + value_index: Int @deprecated(reason: "Use `uid` instead.") +} + +"""Defines the configurable products to add to the cart.""" +input AddConfigurableProductsToCartInput { + """The ID of the cart.""" + cart_id: String! + """An array of configurable products to add.""" + cart_items: [ConfigurableProductCartItemInput]! +} + +"""Contains details about the cart after adding configurable products.""" +type AddConfigurableProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +input ConfigurableProductCartItemInput { + """The ID and value of the option.""" + customizable_options: [CustomizableOptionInput] + """The quantity and SKU of the configurable product.""" + data: CartItemInput! + """The SKU of the parent configurable product.""" + parent_sku: String + """Deprecated. Use `CartItemInput.sku` instead.""" + variant_sku: String +} + +"""An implementation for configurable product cart items.""" +type ConfigurableCartItem implements CartItemInterface { + """The list of available gift wrapping options for the cart item.""" + available_gift_wrapping: [GiftWrapping]! + """An array containing the configuranle options the shopper selected.""" + configurable_options: [SelectedConfigurableOption]! + """Product details of the cart item.""" + configured_variant: ProductInterface! + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + """The entered gift message for the cart item""" + gift_message: GiftMessage + """The selected gift wrapping for the cart item.""" + gift_wrapping: GiftWrapping + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""Contains details about a selected configurable option.""" +type SelectedConfigurableOption { + """The unique ID for a `ConfigurableProductOptions` object.""" + configurable_product_option_uid: ID! + """The unique ID for a `ConfigurableProductOptionsValues` object.""" + configurable_product_option_value_uid: ID! + id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_uid` instead.") + """The display text for the option.""" + option_label: String! + value_id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_value_uid` instead.") + """The display name of the selected configurable option.""" + value_label: String! +} + +"""A configurable product wish list item.""" +type ConfigurableWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """ + The SKU of the simple product corresponding to a set of selected configurable options. + """ + child_sku: String! @deprecated(reason: "Use `ConfigurableWishlistItem.configured_variant.sku` instead.") + """An array of selected configurable options.""" + configurable_options: [SelectedConfigurableOption] + """ + Product details of the selected variant. The value is null if some options are not configured. + """ + configured_variant: ProductInterface + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Contains metadata corresponding to the selected configurable options.""" +type ConfigurableProductOptionsSelection { + """An array of all possible configurable options.""" + configurable_options: [ConfigurableProductOption] + """ + Product images and videos corresponding to the specified configurable options selection. + """ + media_gallery: [MediaGalleryInterface] + """ + The configurable options available for further selection based on the current selection. + """ + options_available_for_selection: [ConfigurableOptionAvailableForSelection] + """ + A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option. + """ + variant: SimpleProduct +} + +""" +Describes configurable options that have been selected and can be selected as a result of the previous selections. +""" +type ConfigurableOptionAvailableForSelection { + """An attribute code that uniquely identifies a configurable option.""" + attribute_code: String! + """An array of selectable option value IDs.""" + option_value_uids: [ID]! +} + +"""Contains details about configurable product options.""" +type ConfigurableProductOption { + """An attribute code that uniquely identifies a configurable option.""" + attribute_code: String! + """The display name of the option.""" + label: String! + """The unique ID of the configurable option.""" + uid: ID! + """An array of values that are applicable for this option.""" + values: [ConfigurableProductOptionValue] +} + +"""Defines a value for a configurable product option.""" +type ConfigurableProductOptionValue { + """Indicates whether the product is available with this selected option.""" + is_available: Boolean! + """Indicates whether the value is the default.""" + is_use_default: Boolean! + """The display name of the value.""" + label: String! + """The URL assigned to the thumbnail of the swatch image.""" + swatch: SwatchDataInterface + """The unique ID of the value.""" + uid: ID! +} + +"""Defines customer requisition lists.""" +type RequisitionLists { + """An array of requisition lists.""" + items: [RequisitionList] + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The number of returned requisition lists.""" + total_count: Int +} + +"""Defines the contents of a requisition list.""" +type RequisitionList { + """Optional text that describes the requisition list.""" + description: String + """An array of products added to the requisition list.""" + items( + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The maximum number of results to return. The default value is 1.""" + pageSize: Int = 20 + ): RequistionListItems + """The number of items in the list.""" + items_count: Int! + """The requisition list name.""" + name: String! + """The unique requisition list ID.""" + uid: ID! + """The time of the last modification of the requisition list.""" + updated_at: String +} + +"""Contains an array of items added to a requisition list.""" +type RequistionListItems { + """An array of items in the requisition list.""" + items: [RequisitionListItemInterface]! + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The number of pages returned.""" + total_pages: Int! +} + +"""The interface for requisition list items.""" +interface RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +"""Contains details about simple products added to a requisition list.""" +type SimpleRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +"""Contains details about virtual products added to a requisition list.""" +type VirtualRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +"""An input object that identifies and describes a new requisition list.""" +input CreateRequisitionListInput { + """An optional description of the requisition list.""" + description: String + """The name assigned to the requisition list.""" + name: String! +} + +""" +An input object that defines which requistion list characteristics to update. +""" +input UpdateRequisitionListInput { + """The updated description of the requisition list.""" + description: String + """The new name of the requisition list.""" + name: String! +} + +"""Output of the request to rename the requisition list.""" +type UpdateRequisitionListOutput { + """The renamed requisition list.""" + requisition_list: RequisitionList +} + +"""Defines which items in a requisition list to update.""" +input UpdateRequisitionListItemsInput { + """An array of customer-entered options.""" + entered_options: [EnteredOptionInput] + """The ID of the requisition list item to update.""" + item_id: ID! + """The new quantity of the item.""" + quantity: Float + """An array of selected option IDs.""" + selected_options: [String] +} + +""" +Output of the request to update items in the specified requisition list. +""" +type UpdateRequisitionListItemsOutput { + """The requisition list after updating items.""" + requisition_list: RequisitionList +} + +""" +Indicates whether the request to delete the requisition list was successful. +""" +type DeleteRequisitionListOutput { + """The customer's requisition lists after deleting a requisition list.""" + requisition_lists: RequisitionLists + """ + Indicates whether the request to delete the requisition list was successful. + """ + status: Boolean! +} + +"""Output of the request to add products to a requisition list.""" +type AddProductsToRequisitionListOutput { + """The requisition list after adding products.""" + requisition_list: RequisitionList +} + +"""Output of the request to remove items from the requisition list.""" +type DeleteRequisitionListItemsOutput { + """The requisition list after removing items.""" + requisition_list: RequisitionList +} + +"""Output of the request to add items in a requisition list to the cart.""" +type AddRequisitionListItemsToCartOutput { + """ + Details about why the attempt to add items to the requistion list was not successful. + """ + add_requisition_list_items_to_cart_user_errors: [AddRequisitionListItemToCartUserError]! + """The cart after adding requisition list items.""" + cart: Cart + """ + Indicates whether the attempt to add items to the requisition list was successful. + """ + status: Boolean! +} + +""" +Contains details about why an attempt to add items to the requistion list failed. +""" +type AddRequisitionListItemToCartUserError { + """A description of the error.""" + message: String! + """The type of error that occurred.""" + type: AddRequisitionListItemToCartUserErrorType! +} + +enum AddRequisitionListItemToCartUserErrorType { + OUT_OF_STOCK + UNAVAILABLE_SKU + OPTIONS_UPDATED + LOW_QUANTITY +} + +""" +An input object that defines the items in a requisition list to be copied. +""" +input CopyItemsBetweenRequisitionListsInput { + """ + An array of IDs representing products copied from one requisition list to another. + """ + requisitionListItemUids: [ID]! +} + +""" +Output of the request to copy items to the destination requisition list. +""" +type CopyItemsFromRequisitionListsOutput { + """The destination requisition list after the items were copied.""" + requisition_list: RequisitionList +} + +""" +An input object that defines the items in a requisition list to be moved. +""" +input MoveItemsBetweenRequisitionListsInput { + """ + An array of IDs representing products moved from one requisition list to another. + """ + requisitionListItemUids: [ID]! +} + +"""Output of the request to move items to another requisition list.""" +type MoveItemsBetweenRequisitionListsOutput { + """The destination requisition list after moving items.""" + destination_requisition_list: RequisitionList + """The source requisition list after moving items.""" + source_requisition_list: RequisitionList +} + +"""Defines requisition list filters.""" +input RequisitionListFilterInput { + """Filter by the display name of the requisition list.""" + name: FilterMatchTypeInput + """Filter requisition lists by one or more requisition list IDs.""" + uids: FilterEqualTypeInput +} + +"""Output of the request to create a requisition list.""" +type CreateRequisitionListOutput { + """The created requisition list.""" + requisition_list: RequisitionList +} + +"""Output of the request to clear the customer cart.""" +type ClearCustomerCartOutput { + """The cart after clearing items.""" + cart: Cart + """Indicates whether cart was cleared.""" + status: Boolean! +} + +"""Defines the items to add.""" +input RequisitionListItemsInput { + """Entered option IDs.""" + entered_options: [EnteredOptionInput] + """For configurable products, the SKU of the parent product.""" + parent_sku: String + """The quantity of the product to add.""" + quantity: Float + """Selected option IDs.""" + selected_options: [String] + """The product SKU.""" + sku: String! +} + +input ContactUsInput { + """The shopper's comment to the merchant.""" + comment: String! + """The email address of the shopper.""" + email: String! + """The full name of the shopper.""" + name: String! + """The shopper's telephone number.""" + telephone: String +} + +"""Contains the status of the request.""" +type ContactUsOutput { + """Indicates whether the request was successful.""" + status: Boolean! +} + +""" +Defines the input required to run the `applyStoreCreditToCart` mutation. +""" +input ApplyStoreCreditToCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! +} + +"""Defines the possible output for the `applyStoreCreditToCart` mutation.""" +type ApplyStoreCreditToCartOutput { + """The contents of the specified shopping cart.""" + cart: Cart! +} + +""" +Defines the input required to run the `removeStoreCreditFromCart` mutation. +""" +input RemoveStoreCreditFromCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! +} + +""" +Defines the possible output for the `removeStoreCreditFromCart` mutation. +""" +type RemoveStoreCreditFromCartOutput { + """The contents of the specified shopping cart.""" + cart: Cart! +} + +"""Contains the applied and current balances.""" +type AppliedStoreCredit { + """The applied store credit balance to the current cart.""" + applied_balance: Money + """The current balance remaining on store credit.""" + current_balance: Money + """ + Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned. + """ + enabled: Boolean +} + +"""Contains store credit information with balance and history.""" +type CustomerStoreCredit { + """ + Contains the customer's store credit balance history. If the history or store credit feature is disabled, then a null value will be returned. + """ + balance_history( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """ + The page of results to return. This value is optional. The default is 1. + """ + currentPage: Int = 1 + ): CustomerStoreCreditHistory + """The current balance of store credit.""" + current_balance: Money + """ + Indicates whether store credits are enabled. If the feature is disabled, then the balance will not be returned. + """ + enabled: Boolean +} + +"""Lists changes to the amount of store credit available to the customer.""" +type CustomerStoreCreditHistory { + """ + An array containing information about changes to the store credit available to the customer. + """ + items: [CustomerStoreCreditHistoryItem] + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo + """The number of items returned.""" + total_count: Int +} + +"""Contains store credit history information.""" +type CustomerStoreCreditHistoryItem { + """The action that was made on the store credit.""" + action: String + """ + The store credit available to the customer as a result of this action. + """ + actual_balance: Money + """ + The amount added to or subtracted from the store credit as a result of this action. + """ + balance_change: Money + """The date and time when the store credit change was made.""" + date_time_changed: String +} + +input AddDownloadableProductsToCartInput { + """The ID of the cart.""" + cart_id: String! + """An array of downloadable products to add.""" + cart_items: [DownloadableProductCartItemInput]! +} + +"""Defines a single downloadable product.""" +input DownloadableProductCartItemInput { + """The ID and value of the option.""" + customizable_options: [CustomizableOptionInput] + """The quantity and SKU of the downloadable product.""" + data: CartItemInput! + """ + An array of objects containing the link_id of the downloadable product link. + """ + downloadable_product_links: [DownloadableProductLinksInput] +} + +"""Contains the link ID for the downloadable product.""" +input DownloadableProductLinksInput { + """The unique ID of the downloadable product link.""" + link_id: Int! +} + +"""Contains details about the cart after adding downloadable products.""" +type AddDownloadableProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""An implementation for downloadable product cart items.""" +type DownloadableCartItem implements CartItemInterface { + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """ + An array containing information about the links for the downloadable product added to the cart. + """ + links: [DownloadableProductLinks] + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """ + An array containing information about samples of the selected downloadable product. + """ + samples: [DownloadableProductSamples] + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""Defines a product that the shopper downloads.""" +type DownloadableProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """ + An array containing information about the links for this downloadable product. + """ + downloadable_product_links: [DownloadableProductLinks] + """ + An array containing information about samples of this downloadable product. + """ + downloadable_product_samples: [DownloadableProductSamples] + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """ + A value of 1 indicates that each link in the array must be purchased separately. + """ + links_purchased_separately: Int + """The heading above the list of downloadable products.""" + links_title: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") +} + +enum DownloadableFileTypeEnum { + FILE @deprecated(reason: "`sample_url` serves to get the downloadable sample") + URL @deprecated(reason: "`sample_url` serves to get the downloadable sample") +} + +"""Defines characteristics of a downloadable product.""" +type DownloadableProductLinks { + id: Int @deprecated(reason: "This information should not be exposed on frontend.") + is_shareable: Boolean @deprecated(reason: "This information should not be exposed on frontend.") + link_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") + number_of_downloads: Int @deprecated(reason: "This information should not be exposed on frontend.") + """The price of the downloadable product.""" + price: Float + sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") + sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") + """The full URL to the downloadable sample.""" + sample_url: String + """A number indicating the sort order.""" + sort_order: Int + """The display name of the link.""" + title: String + """The unique ID for a `DownloadableProductLinks` object.""" + uid: ID! +} + +"""Defines characteristics of a downloadable product.""" +type DownloadableProductSamples { + id: Int @deprecated(reason: "This information should not be exposed on frontend.") + sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") + sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") + """The full URL to the downloadable sample.""" + sample_url: String + """A number indicating the sort order.""" + sort_order: Int + """The display name of the sample.""" + title: String +} + +"""Defines downloadable product options for `OrderItemInterface`.""" +type DownloadableOrderItem implements OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + A list of downloadable links that are ordered from the downloadable product. + """ + downloadable_links: [DownloadableItemsLinks] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Defines downloadable product options for `InvoiceItemInterface`.""" +type DownloadableInvoiceItem implements InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """ + A list of downloadable links that are invoiced from the downloadable product. + """ + downloadable_links: [DownloadableItemsLinks] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +"""Defines downloadable product options for `CreditMemoItemInterface`.""" +type DownloadableCreditMemoItem implements CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """ + A list of downloadable links that are refunded from the downloadable product. + """ + downloadable_links: [DownloadableItemsLinks] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +"""Defines characteristics of the links for downloadable product.""" +type DownloadableItemsLinks { + """A number indicating the sort order.""" + sort_order: Int + """The display name of the link.""" + title: String + """The unique ID for a `DownloadableItemsLinks` object.""" + uid: ID! +} + +"""A downloadable product wish list item.""" +type DownloadableWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """An array containing information about the selected links.""" + links_v2: [DownloadableProductLinks] + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! + """An array containing information about the selected samples.""" + samples: [DownloadableProductSamples] +} + +"""Contains the output schema for a company.""" +type Company { + """The list of all resources defined within the company.""" + acl_resources: [CompanyAclResource] + """An object containing information about the company administrator.""" + company_admin: Customer + """Company credit balances and limits.""" + credit: CompanyCredit! + """Details about the history of company credit operations.""" + credit_history(filter: CompanyCreditHistoryFilterInput, pageSize: Int = 20, currentPage: Int = 1): CompanyCreditHistory! + """The email address of the company contact.""" + email: String + """The unique ID of a `Company` object.""" + id: ID! + """The address where the company is registered to conduct business.""" + legal_address: CompanyLegalAddress + """The full legal name of the company.""" + legal_name: String + """The name of the company.""" + name: String + """The list of payment methods available to a company.""" + payment_methods: [String] + """ + The resale number that is assigned to the company for tax reporting purposes. + """ + reseller_id: String + """A company role filtered by the unique ID of a `CompanyRole` object.""" + role(id: ID!): CompanyRole + """An object that contains a list of company roles.""" + roles( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1""" + currentPage: Int = 1 + ): CompanyRoles! + """ + An object containing information about the company sales representative. + """ + sales_representative: CompanySalesRepresentative + """The company structure of teams and customers in depth-first order.""" + structure( + """ + The ID of the node in the company structure that serves as the root for the query. + """ + rootId: ID + """The maximum depth that can be reached when listing structure nodes.""" + depth: Int = 10 + ): CompanyStructure + """ + The company team data filtered by the unique ID for a `CompanyTeam` object. + """ + team(id: ID!): CompanyTeam + """A company user filtered by the unique ID of a `Customer` object.""" + user(id: ID!): Customer + """ + An object that contains a list of company users based on activity status. + """ + users( + """The type of company users to return.""" + filter: CompanyUsersFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): CompanyUsers + """ + The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. + """ + vat_tax_id: String +} + +""" +Contains details about the address where the company is registered to conduct business. +""" +type CompanyLegalAddress { + """The city where the company is registered to conduct business.""" + city: String + """The country code of the company's legal address.""" + country_code: CountryCodeEnum + """The company's postal code.""" + postcode: String + """An object containing region data for the company.""" + region: CustomerAddressRegion + """An array of strings that define the company's street address.""" + street: [String] + """The company's phone number.""" + telephone: String +} + +"""Contains details about the company administrator.""" +type CompanyAdmin { + """The email address of the company administrator.""" + email: String + """The company administrator's first name.""" + firstname: String + """ + The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). + """ + gender: Int + """The unique ID for a `CompanyAdmin` object.""" + id: ID! + """The job title of the company administrator.""" + job_title: String + """The company administrator's last name.""" + lastname: String +} + +"""Contains details about a company sales representative.""" +type CompanySalesRepresentative { + """The email address of the company sales representative.""" + email: String + """The company sales representative's first name.""" + firstname: String + """The company sales representative's last name.""" + lastname: String +} + +"""Contains details about company users.""" +type CompanyUsers { + """ + An array of `CompanyUser` objects that match the specified filter criteria. + """ + items: [Customer]! + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The number of objects returned.""" + total_count: Int! +} + +"""Contains an array of roles.""" +type CompanyRoles { + """A list of company roles that match the specified filter criteria.""" + items: [CompanyRole]! + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The total number of objects matching the specified filter.""" + total_count: Int! +} + +"""Contails details about a single role.""" +type CompanyRole { + """The unique ID for a `CompanyRole` object.""" + id: ID! + """The name assigned to the role.""" + name: String + """A list of permission resources defined for a role.""" + permissions: [CompanyAclResource] + """The total number of users assigned the specified role.""" + users_count: Int +} + +"""Contains details about the access control list settings of a resource.""" +type CompanyAclResource { + """An array of sub-resources.""" + children: [CompanyAclResource] + """The unique ID for a `CompanyAclResource` object.""" + id: ID! + """The sort order of an ACL resource.""" + sort_order: Int + """The label assigned to the ACL resource.""" + text: String +} + +"""Contains the response of a role name validation query.""" +type IsCompanyRoleNameAvailableOutput { + """Indicates whether the specified company role name is available.""" + is_role_name_available: Boolean! +} + +"""Contains the response of a company user email validation query.""" +type IsCompanyUserEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a company user. + """ + is_email_available: Boolean! +} + +"""Contains the response of a company admin email validation query.""" +type IsCompanyAdminEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a company administrator. + """ + is_email_available: Boolean! +} + +"""Contains the response of a company email validation query.""" +type IsCompanyEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a company. + """ + is_email_available: Boolean! +} + +union CompanyStructureEntity = CompanyTeam | Customer + +""" +Contains an array of the individual nodes that comprise the company structure. +""" +type CompanyStructure { + """An array of elements in a company structure.""" + items: [CompanyStructureItem] +} + +"""Describes a company team.""" +type CompanyTeam { + """An optional description of the team.""" + description: String + """The unique ID for a `CompanyTeam` object.""" + id: ID! + """The display name of the team.""" + name: String + """ID of the company structure""" + structure_id: ID! +} + +"""Defines the filter for returning a list of company users.""" +input CompanyUsersFilterInput { + """The activity status to filter on.""" + status: CompanyUserStatusEnum +} + +"""Defines the list of company user status values.""" +enum CompanyUserStatusEnum { + """Only active users.""" + ACTIVE + """Only inactive users.""" + INACTIVE +} + +"""Contains the response to the request to create a company team.""" +type CreateCompanyTeamOutput { + """The new company team instance.""" + team: CompanyTeam! +} + +"""Contains the response to the request to update a company team.""" +type UpdateCompanyTeamOutput { + """The updated company team instance.""" + team: CompanyTeam! +} + +"""Contains the status of the request to delete a company team.""" +type DeleteCompanyTeamOutput { + """Indicates whether the delete operation succeeded.""" + success: Boolean! +} + +"""Defines the input schema for creating a company team.""" +input CompanyTeamCreateInput { + """An optional description of the team.""" + description: String + """The display name of the team.""" + name: String! + """ + The ID of a node within a company's structure. This ID will be the parent of the created team. + """ + target_id: ID +} + +"""Defines the input schema for updating a company team.""" +input CompanyTeamUpdateInput { + """An optional description of the team.""" + description: String + """The unique ID of the `CompanyTeam` object to update.""" + id: ID! + """The display name of the team.""" + name: String +} + +"""Contains the response to the request to update the company structure.""" +type UpdateCompanyStructureOutput { + """The updated company instance.""" + company: Company! +} + +"""Defines the input schema for updating the company structure.""" +input CompanyStructureUpdateInput { + """The ID of a company that will be the new parent.""" + parent_tree_id: ID! + """The ID of the company team that is being moved to another parent.""" + tree_id: ID! +} + +"""Contains the response to the request to create a company.""" +type CreateCompanyOutput { + """The new company instance.""" + company: Company! +} + +"""Contains the response to the request to update the company.""" +type UpdateCompanyOutput { + """The updated company instance.""" + company: Company! +} + +"""Contains the response to the request to create a company user.""" +type CreateCompanyUserOutput { + """The new company user instance.""" + user: Customer! +} + +"""Contains the response to the request to update the company user.""" +type UpdateCompanyUserOutput { + """The updated company user instance.""" + user: Customer! +} + +"""Contains the response to the request to delete the company user.""" +type DeleteCompanyUserOutput { + """Indicates whether the company user has been deactivated successfully.""" + success: Boolean! +} + +"""Contains the response to the request to create a company role.""" +type CreateCompanyRoleOutput { + """The new company role instance.""" + role: CompanyRole! +} + +"""Contains the response to the request to update the company role.""" +type UpdateCompanyRoleOutput { + """The updated company role instance.""" + role: CompanyRole! +} + +"""Contains the response to the request to delete the company role.""" +type DeleteCompanyRoleOutput { + """SIndicates whether the company role has been deleted successfully.""" + success: Boolean! +} + +"""Defines the input schema for creating a new company.""" +input CompanyCreateInput { + """Defines the company administrator.""" + company_admin: CompanyAdminInput! + """The email address of the company contact.""" + company_email: String! + """The name of the company to create.""" + company_name: String! + """Defines legal address data of the company.""" + legal_address: CompanyLegalAddressCreateInput! + """The full legal name of the company.""" + legal_name: String + """ + The resale number that is assigned to the company for tax reporting purposes. + """ + reseller_id: String + """ + The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. + """ + vat_tax_id: String +} + +"""Defines the input schema for creating a company administrator.""" +input CompanyAdminInput { + """The company administrator's custom attributes.""" + custom_attributes: [AttributeValueInput] + """The email address of the company administrator.""" + email: String! + """The company administrator's first name.""" + firstname: String! + """ + The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). + """ + gender: Int + """The job title of the company administrator.""" + job_title: String + """The company administrator's last name.""" + lastname: String! + """The phone number of the company administrator.""" + telephone: String +} + +"""Defines the input schema for defining a company's legal address.""" +input CompanyLegalAddressCreateInput { + """The city where the company is registered to conduct business.""" + city: String! + """The company's country ID. Use the `countries` query to get this value.""" + country_id: CountryCodeEnum! + """The postal code of the company.""" + postcode: String! + """ + An object containing the region name and/or region ID where the company is registered to conduct business. + """ + region: CustomerAddressRegionInput! + """ + An array of strings that define the street address where the company is registered to conduct business. + """ + street: [String]! + """The primary phone number of the company.""" + telephone: String! +} + +"""Defines the input schema for updating a company.""" +input CompanyUpdateInput { + """The email address of the company contact.""" + company_email: String + """The name of the company to update.""" + company_name: String + """The legal address data of the company.""" + legal_address: CompanyLegalAddressUpdateInput + """The full legal name of the company.""" + legal_name: String + """ + The resale number that is assigned to the company for tax reporting purposes. + """ + reseller_id: String + """ + The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. + """ + vat_tax_id: String +} + +"""Defines the input schema for updating a company's legal address.""" +input CompanyLegalAddressUpdateInput { + """The city where the company is registered to conduct business.""" + city: String + """The unique ID for a `Country` object.""" + country_id: CountryCodeEnum + """The postal code of the company.""" + postcode: String + """ + An object containing the region name and/or region ID where the company is registered to conduct business. + """ + region: CustomerAddressRegionInput + """ + An array of strings that define the street address where the company is registered to conduct business. + """ + street: [String] + """The primary phone number of the company.""" + telephone: String +} + +"""Defines the input schema for creating a company user.""" +input CompanyUserCreateInput { + """The company user's email address""" + email: String! + """The company user's first name.""" + firstname: String! + """The company user's job title or function.""" + job_title: String! + """The company user's last name.""" + lastname: String! + """The unique ID for a `CompanyRole` object.""" + role_id: ID! + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum! + """ + The ID of a node within a company's structure. This ID will be the parent of the created company user. + """ + target_id: ID + """The company user's phone number.""" + telephone: String! +} + +"""Defines the input schema for updating a company user.""" +input CompanyUserUpdateInput { + """The company user's email address.""" + email: String + """The company user's first name.""" + firstname: String + """The unique ID of a `Customer` object.""" + id: ID! + """The company user's job title or function.""" + job_title: String + """The company user's last name.""" + lastname: String + """The unique ID for a `CompanyRole` object.""" + role_id: ID + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum + """The company user's phone number.""" + telephone: String +} + +"""Defines the input schema for creating a company role.""" +input CompanyRoleCreateInput { + """The name of the role to create.""" + name: String! + """A list of resources the role can access.""" + permissions: [String]! +} + +"""Defines the input schema for updating a company role.""" +input CompanyRoleUpdateInput { + """The unique ID for a `CompanyRole` object.""" + id: ID! + """The name of the role to update.""" + name: String + """A list of resources the role can access.""" + permissions: [String] +} + +""" +Defines the input for returning matching companies the customer is assigned to. +""" +input UserCompaniesInput { + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int + """ + Specifies the maximum number of results to return at once. This attribute is optional. + """ + pageSize: Int + """Defines the sorting of the results.""" + sort: [CompaniesSortInput] +} + +"""An object that contains a list of companies customer is assigned to.""" +type UserCompaniesOutput { + """An array of companies customer is assigned to.""" + items: [CompanyBasicInfo]! + """Provides navigation for the query response.""" + page_info: SearchResultPageInfo! +} + +""" +Specifies which field to sort on, and whether to return the results in ascending or descending order. +""" +input CompaniesSortInput { + """The field for sorting the results.""" + field: CompaniesSortFieldEnum! + """Indicates whether to return results in ascending or descending order.""" + order: SortEnum! +} + +"""The fields available for sorting the customer companies.""" +enum CompaniesSortFieldEnum { + """The name of the company.""" + NAME +} + +"""The minimal required information to identify and display the company.""" +type CompanyBasicInfo { + """The unique ID of a `Company` object.""" + id: ID! + """The full legal name of the company.""" + legal_name: String + """The name of the company.""" + name: String +} + +"""Defines the input schema for accepting the company invitation.""" +input CompanyInvitationInput { + """The invitation code.""" + code: String! + """The company role id.""" + role_id: ID + """Company user attributes in the invitation.""" + user: CompanyInvitationUserInput! +} + +"""Company user attributes in the invitation.""" +input CompanyInvitationUserInput { + """The company unique identifier.""" + company_id: ID! + """The customer unique identifier.""" + customer_id: ID! + """The job title of a company user.""" + job_title: String + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum + """The phone number of the company user.""" + telephone: String +} + +"""The result of accepting the company invitation.""" +type CompanyInvitationOutput { + """Indicates whether the customer was added to the company successfully.""" + success: Boolean +} + +"""Defines an individual node in the company structure.""" +type CompanyStructureItem { + """A union of `CompanyTeam` and `Customer` objects.""" + entity: CompanyStructureEntity + """The unique ID for a `CompanyStructureItem` object.""" + id: ID! + """The ID of the parent item in the company hierarchy.""" + parent_id: ID +} + +"""Contains a single dynamic block.""" +type DynamicBlock { + """The renderable HTML code of the dynamic block.""" + content: ComplexTextValue! + """The unique ID of a `DynamicBlock` object.""" + uid: ID! +} + +"""Contains an array of dynamic blocks.""" +type DynamicBlocks { + """An array containing individual dynamic blocks.""" + items: [DynamicBlock]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo + """The number of returned dynamic blocks.""" + total_count: Int! +} + +""" +Defines the dynamic block filter. The filter can identify the block type, location and IDs to return. +""" +input DynamicBlocksFilterInput { + """The unique ID that identifies the customer's cart""" + cart_id: String + """An array of dynamic block UIDs to filter on.""" + dynamic_block_uids: [ID] + """An array indicating the locations the dynamic block can be placed.""" + locations: [DynamicBlockLocationEnum] + """The unique ID of the product currently viewed""" + product_uid: ID + """A value indicating the type of dynamic block to filter on.""" + type: DynamicBlockTypeEnum! +} + +"""Indicates the selected Dynamic Blocks Rotator inline widget.""" +enum DynamicBlockTypeEnum { + SPECIFIED + CART_PRICE_RULE_RELATED + CATALOG_PRICE_RULE_RELATED +} + +""" +Indicates the locations the dynamic block can be placed. If this field is not specified, the query returns all locations. +""" +enum DynamicBlockLocationEnum { + CONTENT + HEADER + FOOTER + LEFT + RIGHT +} + +type Currency { + """ + An array of three-letter currency codes accepted by the store, such as USD and EUR. + """ + available_currency_codes: [String] + """The base currency set for the store, such as USD.""" + base_currency_code: String + """The symbol for the specified base currency, such as $.""" + base_currency_symbol: String + default_display_currecy_code: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") + default_display_currecy_symbol: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") + """The currency that is displayed by default, such as USD.""" + default_display_currency_code: String + """The currency symbol that is displayed by default, such as $.""" + default_display_currency_symbol: String + """An array of exchange rates for currencies defined in the store.""" + exchange_rates: [ExchangeRate] +} + +"""Lists the exchange rate.""" +type ExchangeRate { + """Specifies the store’s default currency to exchange to.""" + currency_to: String + """The exchange rate for the store’s default currency.""" + rate: Float +} + +type Country { + """An array of regions within a particular country.""" + available_regions: [Region] + """The name of the country in English.""" + full_name_english: String + """The name of the country in the current locale.""" + full_name_locale: String + """The unique ID for a `Country` object.""" + id: String + """The three-letter abbreviation of the country, such as USA.""" + three_letter_abbreviation: String + """The two-letter abbreviation of the country, such as US.""" + two_letter_abbreviation: String +} + +type Region { + """The two-letter code for the region, such as TX for Texas.""" + code: String + """The unique ID for a `Region` object.""" + id: Int + """The name of the region, such as Texas.""" + name: String +} + +"""Contains a list of downloadable products.""" +type CustomerDownloadableProducts { + """An array of purchased downloadable items.""" + items: [CustomerDownloadableProduct] +} + +"""Contains details about a single downloadable product.""" +type CustomerDownloadableProduct { + """The date and time the purchase was made.""" + date: String + """The fully qualified URL to the download file.""" + download_url: String + """The unique ID assigned to the item.""" + order_increment_id: String + """The remaining number of times the customer can download the product.""" + remaining_downloads: String + """ + Indicates when the product becomes available for download. Options are `Pending` and `Invoiced`. + """ + status: String +} + +""" +Contains details about downloadable products added to a requisition list. +""" +type DownloadableRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """An array of links for downloadable products in the requisition list.""" + links: [DownloadableProductLinks] + """Details about a requisition list item.""" + product: ProductInterface! + """The quantity of the product added to the requisition list.""" + quantity: Float! + """An array of links to downloadable product samples.""" + samples: [DownloadableProductSamples] + """The unique ID of an item in a requisition list.""" + uid: ID! +} + +"""Defines the bundle products to add to the cart.""" +input AddBundleProductsToCartInput { + """The ID of the cart.""" + cart_id: String! + """An array of bundle products to add.""" + cart_items: [BundleProductCartItemInput]! +} + +"""Defines a single bundle product.""" +input BundleProductCartItemInput { + """ + A mandatory array of options for the bundle product, including each chosen option and specified quantity. + """ + bundle_options: [BundleOptionInput]! + """The ID and value of the option.""" + customizable_options: [CustomizableOptionInput] + """The quantity and SKU of the bundle product.""" + data: CartItemInput! +} + +"""Defines the input for a bundle option.""" +input BundleOptionInput { + """The ID of the option.""" + id: Int! + """The number of the selected item to add to the cart.""" + quantity: Float! + """An array with the chosen value of the option.""" + value: [String]! +} + +"""Contains details about the cart after adding bundle products.""" +type AddBundleProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""An implementation for bundle product cart items.""" +type BundleCartItem implements CartItemInterface { + """The list of available gift wrapping options for the cart item.""" + available_gift_wrapping: [GiftWrapping]! + """An array containing the bundle options the shopper selected.""" + bundle_options: [SelectedBundleOption]! + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + """The entered gift message for the cart item""" + gift_message: GiftMessage + """The selected gift wrapping for the cart item.""" + gift_wrapping: GiftWrapping + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""Contains details about a selected bundle option.""" +type SelectedBundleOption { + id: Int! @deprecated(reason: "Use `uid` instead") + """The display name of the selected bundle product option.""" + label: String! + """The type of selected bundle product option.""" + type: String! + """The unique ID for a `SelectedBundleOption` object""" + uid: ID! + """An array of selected bundle option values.""" + values: [SelectedBundleOptionValue]! +} + +"""Contains details about a value for a selected bundle option.""" +type SelectedBundleOptionValue { + """Use `uid` instead""" + id: Int! + """The display name of the value for the selected bundle product option.""" + label: String! + """The price of the value for the selected bundle product option.""" + price: Float! + """The quantity of the value for the selected bundle product option.""" + quantity: Float! + """The unique ID for a `SelectedBundleOptionValue` object""" + uid: ID! +} + +""" +Can be used to retrieve the main price details in case of bundle product +""" +type PriceDetails { + """The percentage of discount applied to the main product price""" + discount_percentage: Float + """The final price after applying the discount to the main product""" + main_final_price: Float + """The regular price of the main product""" + main_price: Float +} + +"""Defines an individual item within a bundle product.""" +type BundleItem { + """An ID assigned to each type of item in a bundle product.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """An array of additional options for this bundle item.""" + options: [BundleItemOption] + """ + A number indicating the sequence order of this item compared to the other bundle items. + """ + position: Int + """The range of prices for the product""" + price_range: PriceRange! + """Indicates whether the item must be included in the bundle.""" + required: Boolean + """The SKU of the bundle product.""" + sku: String + """The display name of the item.""" + title: String + """ + The input type that the customer uses to select the item. Examples include radio button and checkbox. + """ + type: String + """The unique ID for a `BundleItem` object.""" + uid: ID +} + +""" +Defines the characteristics that comprise a specific bundle item and its options. +""" +type BundleItemOption { + """ + Indicates whether the customer can change the number of items for this option. + """ + can_change_quantity: Boolean + """The ID assigned to the bundled item option.""" + id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether this option is the default option.""" + is_default: Boolean + """The text that identifies the bundled item option.""" + label: String + """ + When a bundle item contains multiple options, the relative position of this option compared to the other options. + """ + position: Int + """The price of the selected option.""" + price: Float + """One of FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """Contains details about this product option.""" + product: ProductInterface + """Indicates the quantity of this specific bundle item.""" + qty: Float @deprecated(reason: "Use `quantity` instead.") + """The quantity of this specific bundle item.""" + quantity: Float + """The unique ID for a `BundleItemOption` object.""" + uid: ID! +} + +""" +Defines basic features of a bundle product and contains multiple BundleItems. +""" +type BundleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether the bundle product has a dynamic price.""" + dynamic_price: Boolean + """Indicates whether the bundle product has a dynamic SKU.""" + dynamic_sku: Boolean + """ + Indicates whether the bundle product has a dynamically calculated weight. + """ + dynamic_weight: Boolean + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """An array containing information about individual bundle items.""" + items: [BundleItem] + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The price details of the main product""" + price_details: PriceDetails + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """One of PRICE_RANGE or AS_LOW_AS.""" + price_view: PriceViewEnum + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """Indicates whether to ship bundle items together or individually.""" + ship_bundle_items: ShipBundleItemsEnum + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +""" +Defines whether a bundle product's price is displayed as the lowest possible value or as a range. +""" +enum PriceViewEnum { + PRICE_RANGE + AS_LOW_AS +} + +"""Defines whether bundle items must be shipped together.""" +enum ShipBundleItemsEnum { + TOGETHER + SEPARATELY +} + +"""Defines bundle product options for `OrderItemInterface`.""" +type BundleOrderItem implements OrderItemInterface { + """A list of bundle options that are assigned to the bundle product.""" + bundle_options: [ItemSelectedBundleOption] + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Defines bundle product options for `InvoiceItemInterface`.""" +type BundleInvoiceItem implements InvoiceItemInterface { + """ + A list of bundle options that are assigned to an invoiced bundle product. + """ + bundle_options: [ItemSelectedBundleOption] + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +"""Defines bundle product options for `ShipmentItemInterface`.""" +type BundleShipmentItem implements ShipmentItemInterface { + """A list of bundle options that are assigned to a shipped product.""" + bundle_options: [ItemSelectedBundleOption] + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +"""Defines bundle product options for `CreditMemoItemInterface`.""" +type BundleCreditMemoItem implements CreditMemoItemInterface { + """ + A list of bundle options that are assigned to a bundle product that is part of a credit memo. + """ + bundle_options: [ItemSelectedBundleOption] + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +"""A list of options of the selected bundle product.""" +type ItemSelectedBundleOption { + """The unique ID for a `ItemSelectedBundleOption` object.""" + id: ID! @deprecated(reason: "Use `uid` instead.") + """The label of the option.""" + label: String! + """The unique ID for a `ItemSelectedBundleOption` object.""" + uid: ID! + """A list of products that represent the values of the parent option.""" + values: [ItemSelectedBundleOptionValue] +} + +"""A list of values for the selected bundle product.""" +type ItemSelectedBundleOptionValue { + """The unique ID for a `ItemSelectedBundleOptionValue` object.""" + id: ID! @deprecated(reason: "Use `uid` instead.") + """The price of the child bundle product.""" + price: Money! + """The name of the child bundle product.""" + product_name: String! + """The SKU of the child bundle product.""" + product_sku: String! + """The number of this bundle product that were ordered.""" + quantity: Float! + """The unique ID for a `ItemSelectedBundleOptionValue` object.""" + uid: ID! +} + +"""Defines bundle product options for `WishlistItemInterface`.""" +type BundleWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """An array containing information about the selected bundle items.""" + bundle_options: [SelectedBundleOption] + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +type ProductAttributeMetadata implements AttributeMetadataInterface { + """An array of attribute labels defined for the current store.""" + attribute_labels: [StoreLabels] + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: String + """The data type of the attribute.""" + data_type: ObjectDataTypeEnum + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum + """Indicates whether the attribute is a system attribute.""" + is_system: Boolean + """The label assigned to the attribute.""" + label: String + """The relative position of the attribute.""" + sort_order: Int + """Frontend UI properties of the attribute.""" + ui_input: UiInputTypeInterface + """The unique ID of an attribute.""" + uid: ID + """Places in the store front where the attribute is used.""" + used_in_components: [CustomAttributesListsEnum] +} + +enum CustomAttributesListsEnum { + PRODUCT_DETAILS_PAGE + PRODUCTS_LISTING + PRODUCTS_COMPARE + PRODUCT_SORT + PRODUCT_FILTER + PRODUCT_SEARCH_RESULTS_FILTER + ADVANCED_CATALOG_SEARCH +} + +"""Defines the input required to run the `applyGiftCardToCart` mutation.""" +input ApplyGiftCardToCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! + """The gift card code to be applied to the cart.""" + gift_card_code: String! +} + +"""Defines the possible output for the `applyGiftCardToCart` mutation.""" +type ApplyGiftCardToCartOutput { + """Describes the contents of the specified shopping cart.""" + cart: Cart! +} + +""" +Defines the input required to run the `removeGiftCardFromCart` mutation. +""" +input RemoveGiftCardFromCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! + """The gift card code to be removed to the cart.""" + gift_card_code: String! +} + +"""Defines the possible output for the `removeGiftCardFromCart` mutation.""" +type RemoveGiftCardFromCartOutput { + """The contents of the specified shopping cart.""" + cart: Cart! +} + +"""Contains an applied gift card with applied and remaining balance.""" +type AppliedGiftCard { + """The amount applied to the current cart.""" + applied_balance: Money + """The gift card account code.""" + code: String + """The remaining balance on the gift card.""" + current_balance: Money + """The expiration date of the gift card.""" + expiration_date: String +} + +"""Contains the gift card code.""" +input GiftCardAccountInput { + """The applied gift card code.""" + gift_card_code: String! +} + +"""Contains details about the gift card account.""" +type GiftCardAccount { + """The balance remaining on the gift card.""" + balance: Money + """The gift card account code.""" + code: String + """The expiration date of the gift card.""" + expiration_date: String +} + +""" +Contains details about the sales total amounts used to calculate the final price. +""" +type OrderTotal { + """The final base grand total amount in the base currency.""" + base_grand_total: Money! + """The applied discounts to the order.""" + discounts: [Discount] + """The final total amount, including shipping, discounts, and taxes.""" + grand_total: Money! + """Details about the shipping and handling costs for the order.""" + shipping_handling: ShippingHandling + """The subtotal of the order, excluding shipping, discounts, and taxes.""" + subtotal: Money! + """The order tax details.""" + taxes: [TaxItem] + """The gift card balance applied to the order.""" + total_giftcard: Money + """The shipping amount for the order.""" + total_shipping: Money! + """The amount of tax applied to the order.""" + total_tax: Money! +} + +"""Deprecated: Use the `Wishlist` type instead.""" +type WishlistOutput { + """An array of items in the customer's wish list""" + items: [WishlistItem] @deprecated(reason: "Use the `Wishlist.items` field instead.") + """The number of items in the wish list.""" + items_count: Int @deprecated(reason: "Use the `Wishlist.items_count` field instead.") + """ + When multiple wish lists are enabled, the name the customer assigns to the wishlist. + """ + name: String @deprecated(reason: "This field is related to Commerce functionality and is always `null` in Open Source.") + """An encrypted code that links to the wish list.""" + sharing_code: String @deprecated(reason: "Use the `Wishlist.sharing_code` field instead.") + """The time of the last modification to the wish list.""" + updated_at: String @deprecated(reason: "Use the `Wishlist.updated_at` field instead.") +} + +"""Contains a customer wish list.""" +type Wishlist { + """The unique ID for a `Wishlist` object.""" + id: ID + items: [WishlistItem] @deprecated(reason: "Use the `items_v2` field instead.") + """The number of items in the wish list.""" + items_count: Int + """An array of items in the customer's wish list.""" + items_v2(currentPage: Int = 1, pageSize: Int = 20): WishlistItems + """The name of the wish list.""" + name: String + """An encrypted code that Magento uses to link to the wish list.""" + sharing_code: String + """The time of the last modification to the wish list.""" + updated_at: String + """Indicates whether the wish list is public or private.""" + visibility: WishlistVisibilityEnum! +} + +"""The interface for wish list items.""" +interface WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Contains an array of items in a wish list.""" +type WishlistItems { + """A list of items in the wish list.""" + items: [WishlistItemInterface]! + """Contains pagination metadata.""" + page_info: SearchResultPageInfo +} + +"""Contains details about a wish list item.""" +type WishlistItem { + """The time when the customer added the item to the wish list.""" + added_at: String + """The customer's comment about this item.""" + description: String + """The unique ID for a `WishlistItem` object.""" + id: Int + """Details about the wish list item.""" + product: ProductInterface + """The quantity of this wish list item""" + qty: Float +} + +"""Contains the resultant wish list and any error information.""" +type AddWishlistItemsToCartOutput { + """ + An array of errors encountered while adding products to the customer's cart. + """ + add_wishlist_items_to_cart_user_errors: [WishlistCartUserInputError]! + """ + Indicates whether the attempt to add items to the customer's cart was successful. + """ + status: Boolean! + """Contains the wish list with all items that were successfully added.""" + wishlist: Wishlist! +} + +""" +Contains details about errors encountered when a customer added wish list items to the cart. +""" +type WishlistCartUserInputError { + """An error code that describes the error encountered.""" + code: WishlistCartUserInputErrorType! + """A localized error message.""" + message: String! + """The unique ID of the `Wishlist` object containing an error.""" + wishlistId: ID! + """The unique ID of the wish list item containing an error.""" + wishlistItemId: ID! +} + +"""A list of possible error types.""" +enum WishlistCartUserInputErrorType { + PRODUCT_NOT_FOUND + NOT_SALABLE + INSUFFICIENT_STOCK + UNDEFINED +} + +"""Defines the items to add to a wish list.""" +input WishlistItemInput { + """An array of options that the customer entered.""" + entered_options: [EnteredOptionInput] + """For complex product types, the SKU of the parent product.""" + parent_sku: String + """The amount or number of items to add.""" + quantity: Float! + """An array of strings corresponding to options the customer selected.""" + selected_options: [ID] + """ + The SKU of the product to add. For complex product types, specify the child product SKU. + """ + sku: String! +} + +"""Contains the customer's wish list and any errors encountered.""" +type AddProductsToWishlistOutput { + """An array of errors encountered while adding products to a wish list.""" + user_errors: [WishListUserInputError]! + """Contains the wish list with all items that were successfully added.""" + wishlist: Wishlist! +} + +"""Contains the customer's wish list and any errors encountered.""" +type RemoveProductsFromWishlistOutput { + """ + An array of errors encountered while deleting products from a wish list. + """ + user_errors: [WishListUserInputError]! + """Contains the wish list with after items were successfully deleted.""" + wishlist: Wishlist! +} + +"""Defines updates to items in a wish list.""" +input WishlistItemUpdateInput { + """Customer-entered comments about the item.""" + description: String + """An array of options that the customer entered.""" + entered_options: [EnteredOptionInput] + """The new amount or number of this item.""" + quantity: Float + """An array of strings corresponding to options the customer selected.""" + selected_options: [ID] + """The unique ID for a `WishlistItemInterface` object.""" + wishlist_item_id: ID! +} + +"""Contains the customer's wish list and any errors encountered.""" +type UpdateProductsInWishlistOutput { + """An array of errors encountered while updating products in a wish list.""" + user_errors: [WishListUserInputError]! + """Contains the wish list with all items that were successfully updated.""" + wishlist: Wishlist! +} + +"""An error encountered while performing operations with WishList.""" +type WishListUserInputError { + """A wish list-specific error code.""" + code: WishListUserInputErrorType! + """A localized error message.""" + message: String! +} + +"""A list of possible error types.""" +enum WishListUserInputErrorType { + PRODUCT_NOT_FOUND + UNDEFINED +} + +"""Defines properties of a gift card.""" +type GiftCardProduct implements ProductInterface & PhysicalProductInterface & CustomizableProductInterface & RoutableInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """ + Indicates whether the customer can provide a message to accompany the gift card. + """ + allow_message: Boolean + """ + Indicates whether shoppers have the ability to set the value of the gift card. + """ + allow_open_amount: Boolean + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of customizable gift card options.""" + gift_card_options: [CustomizableOptionInterface]! + """Indicates whether a gift message is available.""" + gift_message_available: String + """ + An array that contains information about the values and ID of a gift card. + """ + giftcard_amounts: [GiftCardAmounts] + """An enumeration that specifies the type of gift card.""" + giftcard_type: GiftCardTypeEnum + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """ + Indicates whether the customer can redeem the value on the card for cash. + """ + is_redeemable: Boolean + """Indicates whether the product can be returned.""" + is_returnable: String + """ + The number of days after purchase until the gift card expires. A null value means there is no limit. + """ + lifetime: Int + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """The maximum number of characters the gift message can contain.""" + message_max_length: Int + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """The maximum acceptable value of an open amount gift card.""" + open_amount_max: Float + """The minimum acceptable value of an open amount gift card.""" + open_amount_min: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +""" +Contains the value of a gift card, the website that generated the card, and related information. +""" +type GiftCardAmounts { + """An internal attribute ID.""" + attribute_id: Int + """The unique ID for a `GiftCardAmounts` object.""" + uid: ID! + """The value of the gift card.""" + value: Float + """An ID that is assigned to each unique gift card amount.""" + value_id: Int @deprecated(reason: "Use `uid` instead") + """The ID of the website that generated the gift card.""" + website_id: Int + """The value of the gift card.""" + website_value: Float +} + +"""Specifies the gift card type.""" +enum GiftCardTypeEnum { + VIRTUAL + PHYSICAL + COMBINED +} + +type GiftCardOrderItem implements OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """Selected gift card properties for an order item.""" + gift_card: GiftCardItem + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +type GiftCardInvoiceItem implements InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """Selected gift card properties for an invoice item.""" + gift_card: GiftCardItem + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +type GiftCardCreditMemoItem implements CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """Selected gift card properties for a credit memo item.""" + gift_card: GiftCardItem + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +type GiftCardShipmentItem implements ShipmentItemInterface { + """Selected gift card properties for a shipment item.""" + gift_card: GiftCardItem + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +"""Contains details about a gift card.""" +type GiftCardItem { + """The message from the sender to the recipient.""" + message: String + """The email address of the receiver of a virtual gift card.""" + recipient_email: String + """The name of the receiver of a physical or virtual gift card.""" + recipient_name: String + """The email address of the sender of a virtual gift card.""" + sender_email: String + """The name of the sender of a physical or virtual gift card.""" + sender_name: String +} + +"""Contains details about a gift card that has been added to a cart.""" +type GiftCardCartItem implements CartItemInterface { + """The amount and currency of the gift card.""" + amount: Money! + """An array of customizations applied to the gift card.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """The message from the sender to the recipient.""" + message: String + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The email address of the person receiving the gift card.""" + recipient_email: String + """The name of the person receiving the gift card.""" + recipient_name: String! + """The email address of the sender.""" + sender_email: String + """The name of the sender.""" + sender_name: String! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""A single gift card added to a wish list.""" +type GiftCardWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """Details about a gift card.""" + gift_card_options: GiftCardOptions! + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +""" +Contains details about the sender, recipient, and amount of a gift card. +""" +type GiftCardOptions { + """The amount and currency of the gift card.""" + amount: Money + """The custom amount and currency of the gift card.""" + custom_giftcard_amount: Money + """A message to the recipient.""" + message: String + """The email address of the person receiving the gift card.""" + recipient_email: String + """The name of the person receiving the gift card.""" + recipient_name: String + """The email address of the person sending the gift card.""" + sender_email: String + """The name of the person sending the gift card.""" + sender_name: String +} + +"""Contains the text of a gift message, its sender, and recipient""" +type GiftMessage { + """Sender name""" + from: String! + """Gift message text""" + message: String! + """Recipient name""" + to: String! +} + +"""Defines a gift message.""" +input GiftMessageInput { + """The name of the sender.""" + from: String! + """The text of the gift message.""" + message: String! + """The name of the recepient.""" + to: String! +} + +type SalesItemInterface { + """The entered gift message for the order item""" + gift_message: GiftMessage +} + +"""Contains details about each of the customer's orders.""" +type CustomerOrder { + """Coupons applied to the order.""" + applied_coupons: [AppliedCoupon]! + """The billing address for the order.""" + billing_address: OrderAddress + """The shipping carrier for the order delivery.""" + carrier: String + """Comments about the order.""" + comments: [SalesCommentItem] + created_at: String @deprecated(reason: "Use the `order_date` field instead.") + """A list of credit memos.""" + credit_memos: [CreditMemo] + """Order customer email.""" + email: String + """The entered gift message for the order""" + gift_message: GiftMessage + """Indicates whether the customer requested a gift receipt for the order.""" + gift_receipt_included: Boolean! + """The selected gift wrapping for the order.""" + gift_wrapping: GiftWrapping + grand_total: Float @deprecated(reason: "Use the `totals.grand_total` field instead.") + """The unique ID for a `CustomerOrder` object.""" + id: ID! + increment_id: String @deprecated(reason: "Use the `id` field instead.") + """A list of invoices for the order.""" + invoices: [Invoice]! + """An array containing the items purchased in this order.""" + items: [OrderItemInterface] + """A list of order items eligible to be in a return request.""" + items_eligible_for_return: [OrderItemInterface] + """The order number.""" + number: String! + """The date the order was placed.""" + order_date: String! + order_number: String! @deprecated(reason: "Use the `number` field instead.") + """Payment details for the order.""" + payment_methods: [OrderPaymentMethod] + """Indicates whether the customer requested a printed card for the order.""" + printed_card_included: Boolean! + """Return requests associated with this order.""" + returns( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): Returns + """A list of shipments for the order.""" + shipments: [OrderShipment] + """The shipping address for the order.""" + shipping_address: OrderAddress + """The delivery method for the order.""" + shipping_method: String + """The current state of the order.""" + state: String! + """The current status of the order.""" + status: String! + """The token that can be used to retrieve the order using order query.""" + token: String! + """Details about the calculated totals for this order.""" + total: OrderTotal +} + +"""Order item details.""" +interface OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Contains the results of a gift registry search.""" +type GiftRegistrySearchResult { + """The date of the event.""" + event_date: String + """The title given to the event.""" + event_title: String! + """The URL key of the gift registry.""" + gift_registry_uid: ID! + """The location of the event.""" + location: String + """The name of the gift registry owner.""" + name: String! + """The type of event being held.""" + type: String +} + +"""Defines a dynamic attribute.""" +input GiftRegistryDynamicAttributeInput { + """A unique key for an additional attribute of the event.""" + code: ID! + """A string that describes a dynamic attribute.""" + value: String! +} + +"""Defines the sender of an invitation to view a gift registry.""" +input ShareGiftRegistrySenderInput { + """A brief message from the sender.""" + message: String! + """The sender of the gift registry invitation.""" + name: String! +} + +"""Defines a gift registry invitee.""" +input ShareGiftRegistryInviteeInput { + """The email address of the gift registry invitee.""" + email: String! + """The name of the gift registry invitee.""" + name: String! +} + +"""Defines an item to add to the gift registry.""" +input AddGiftRegistryItemInput { + """An array of options the customer has entered.""" + entered_options: [EnteredOptionInput] + """A brief note about the item.""" + note: String + """For complex product types, the SKU of the parent product.""" + parent_sku: String + """The quantity of the product to add.""" + quantity: Float! + """ + An array of strings corresponding to options the customer has selected. + """ + selected_options: [String] + """The SKU of the product to add to the gift registry.""" + sku: String! +} + +"""Defines a new gift registry.""" +input CreateGiftRegistryInput { + """Additional attributes specified as a code-value pair.""" + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The name of the event.""" + event_name: String! + """The ID of the selected event type.""" + gift_registry_type_uid: ID! + """A message describing the event.""" + message: String! + """Indicates whether the registry is PRIVATE or PUBLIC.""" + privacy_settings: GiftRegistryPrivacySettings! + """The list of people who receive notifications about the registry.""" + registrants: [AddGiftRegistryRegistrantInput]! + """The shipping address for all gift registry items.""" + shipping_address: GiftRegistryShippingAddressInput + """Indicates whether the registry is ACTIVE or INACTIVE.""" + status: GiftRegistryStatus! +} + +"""Defines updates to an item in a gift registry.""" +input UpdateGiftRegistryItemInput { + """The unique ID of a `giftRegistryItem` object.""" + gift_registry_item_uid: ID! + """The updated description of the item.""" + note: String + """The updated quantity of the gift registry item.""" + quantity: Float! +} + +"""Defines updates to a `GiftRegistry` object.""" +input UpdateGiftRegistryInput { + """ + Additional attributes specified as a code-value pair. Unspecified dynamic attributes are not changed. + """ + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The updated name of the event.""" + event_name: String + """The updated message describing the event.""" + message: String + """Indicates whether the gift registry is PRIVATE or PUBLIC.""" + privacy_settings: GiftRegistryPrivacySettings + """The updated shipping address for all gift registry items.""" + shipping_address: GiftRegistryShippingAddressInput + """Indicates whether the gift registry is ACTIVE or INACTIVE.""" + status: GiftRegistryStatus +} + +"""Defines a new registrant.""" +input AddGiftRegistryRegistrantInput { + """Additional attributes specified as a code-value pair.""" + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The email address of the registrant.""" + email: String! + """The first name of the registrant.""" + firstname: String! + """The last name of the registrant.""" + lastname: String! +} + +""" +Defines a shipping address for a gift registry. Specify either `address_data` or the `address_id`. If both are provided, validation will fail. +""" +input GiftRegistryShippingAddressInput { + """Defines the shipping address for this gift registry.""" + address_data: CustomerAddressInput + """The ID assigned to this customer address.""" + address_id: ID +} + +"""Defines updates to an existing registrant.""" +input UpdateGiftRegistryRegistrantInput { + """ + As a result of the update, only the values of provided attributes will be affected. If the attribute is missing in the request, its value will not be changed. + """ + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The updated email address of the registrant.""" + email: String + """The updated first name of the registrant.""" + firstname: String + """The unique ID of a `giftRegistryRegistrant` object.""" + gift_registry_registrant_uid: ID! + """The updated last name of the registrant.""" + lastname: String +} + +"""Contains the customer's gift registry.""" +interface GiftRegistryOutputInterface { + """The gift registry.""" + gift_registry: GiftRegistry +} + +"""Contains details about the gift registry.""" +type GiftRegistryOutput implements GiftRegistryOutputInterface { + """The gift registry.""" + gift_registry: GiftRegistry +} + +""" +Contains the status and any errors that encountered with the customer's gift register item. +""" +interface GiftRegistryItemUserErrorInterface { + """ + Indicates whether the attempt to move the cart items to the gift registry was successful. + """ + status: Boolean! + """ + An array of errors encountered while moving items from the cart to the gift registry. + """ + user_errors: [GiftRegistryItemsUserError]! +} + +"""Contains error information.""" +type GiftRegistryItemUserErrors implements GiftRegistryItemUserErrorInterface { + """ + Indicates whether the attempt to move the cart items to the gift registry was successful. + """ + status: Boolean! + """ + An array of errors encountered while moving items from the cart to the gift registry. + """ + user_errors: [GiftRegistryItemsUserError]! +} + +""" +Contains details about an error that occurred when processing a gift registry item. +""" +type GiftRegistryItemsUserError { + """An error code that describes the error encountered.""" + code: GiftRegistryItemsUserErrorType! + """The unique ID of the gift registry item containing an error.""" + gift_registry_item_uid: ID + """The unique ID of the `GiftRegistry` object containing an error.""" + gift_registry_uid: ID + """A localized error message.""" + message: String! + """The unique ID of the product containing an error.""" + product_uid: ID +} + +"""Defines the error type.""" +enum GiftRegistryItemsUserErrorType { + """Used for handling out of stock products.""" + OUT_OF_STOCK + """Used for exceptions like EntityNotFound.""" + NOT_FOUND + """Used for other exceptions, such as database connection failures.""" + UNDEFINED +} + +"""Contains the customer's gift registry and any errors encountered.""" +type MoveCartItemsToGiftRegistryOutput implements GiftRegistryOutputInterface & GiftRegistryItemUserErrorInterface { + """The gift registry.""" + gift_registry: GiftRegistry + """ + Indicates whether the attempt to move the cart items to the gift registry was successful. + """ + status: Boolean! + """ + An array of errors encountered while moving items from the cart to the gift registry. + """ + user_errors: [GiftRegistryItemsUserError]! +} + +"""Contains the results of a request to delete a gift registry.""" +type RemoveGiftRegistryOutput { + """Indicates whether the gift registry was successfully deleted.""" + success: Boolean! +} + +""" +Contains the results of a request to remove an item from a gift registry. +""" +type RemoveGiftRegistryItemsOutput { + """The gift registry after removing items.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to update gift registry items.""" +type UpdateGiftRegistryItemsOutput { + """The gift registry after updating updating items.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to share a gift registry.""" +type ShareGiftRegistryOutput { + """Indicates whether the gift registry was successfully shared.""" + is_shared: Boolean! +} + +"""Contains the results of a request to create a gift registry.""" +type CreateGiftRegistryOutput { + """The newly-created gift registry.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to update a gift registry.""" +type UpdateGiftRegistryOutput { + """The updated gift registry.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to add registrants.""" +type AddGiftRegistryRegistrantsOutput { + """The gift registry after adding registrants.""" + gift_registry: GiftRegistry +} + +"""Contains the results a request to update registrants.""" +type UpdateGiftRegistryRegistrantsOutput { + """The gift registry after updating registrants.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to delete a registrant.""" +type RemoveGiftRegistryRegistrantsOutput { + """The gift registry after deleting registrants.""" + gift_registry: GiftRegistry +} + +"""Contains details about a gift registry.""" +type GiftRegistry { + """ + The date on which the gift registry was created. Only the registry owner can access this attribute. + """ + created_at: String! + """ + An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. + """ + dynamic_attributes: [GiftRegistryDynamicAttribute] + """The name of the event.""" + event_name: String! + """An array of products added to the gift registry.""" + items: [GiftRegistryItemInterface] + """The message text the customer entered to describe the event.""" + message: String! + """The customer who created the gift registry.""" + owner_name: String! + """ + An enum that states whether the gift registry is PRIVATE or PUBLIC. Only the registry owner can access this attribute. + """ + privacy_settings: GiftRegistryPrivacySettings! + """Contains details about each registrant for the event.""" + registrants: [GiftRegistryRegistrant] + """ + Contains the customer's shipping address. Only the registry owner can access this attribute. + """ + shipping_address: CustomerAddress + """ + An enum that states whether the gift registry is ACTIVE or INACTIVE. Only the registry owner can access this attribute. + """ + status: GiftRegistryStatus! + """The type of gift registry.""" + type: GiftRegistryType + """The unique ID assigned to the gift registry.""" + uid: ID! +} + +"""Contains details about a gift registry type.""" +type GiftRegistryType { + """ + An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. + """ + dynamic_attributes_metadata: [GiftRegistryDynamicAttributeMetadataInterface] + """The label assigned to the gift registry type on the Admin.""" + label: String! + """The unique ID assigned to the gift registry type.""" + uid: ID! +} + +interface GiftRegistryDynamicAttributeMetadataInterface { + """Indicates which group the dynamic attribute a member of.""" + attribute_group: String! + """The internal ID of the dynamic attribute.""" + code: ID! + """ + The selected input type for this dynamic attribute. The value can be one of several static or custom types. + """ + input_type: String! + """Indicates whether the dynamic attribute is required.""" + is_required: Boolean! + """The display name of the dynamic attribute.""" + label: String! + """The order in which to display the dynamic attribute.""" + sort_order: Int +} + +type GiftRegistryDynamicAttributeMetadata implements GiftRegistryDynamicAttributeMetadataInterface { + """Indicates which group the dynamic attribute a member of.""" + attribute_group: String! + """The internal ID of the dynamic attribute.""" + code: ID! + """ + The selected input type for this dynamic attribute. The value can be one of several static or custom types. + """ + input_type: String! + """Indicates whether the dynamic attribute is required.""" + is_required: Boolean! + """The display name of the dynamic attribute.""" + label: String! + """The order in which to display the dynamic attribute.""" + sort_order: Int +} + +"""Defines the status of the gift registry.""" +enum GiftRegistryStatus { + ACTIVE + INACTIVE +} + +"""Defines the privacy setting of the gift registry.""" +enum GiftRegistryPrivacySettings { + PRIVATE + PUBLIC +} + +"""Contains details about a registrant.""" +type GiftRegistryRegistrant { + """An array of dynamic attributes assigned to the registrant.""" + dynamic_attributes: [GiftRegistryRegistrantDynamicAttribute] + """ + The email address of the registrant. Only the registry owner can access this attribute. + """ + email: String! + """The first name of the registrant.""" + firstname: String! + """The last name of the registrant.""" + lastname: String! + """The unique ID assigned to the registrant.""" + uid: ID! +} + +interface GiftRegistryDynamicAttributeInterface { + """The internal ID of the dynamic attribute.""" + code: ID! + """The display name of the dynamic attribute.""" + label: String! + """A corresponding value for the code.""" + value: String! +} + +type GiftRegistryRegistrantDynamicAttribute implements GiftRegistryDynamicAttributeInterface { + """The internal ID of the dynamic attribute.""" + code: ID! + """The display name of the dynamic attribute.""" + label: String! + """A corresponding value for the code.""" + value: String! +} + +type GiftRegistryDynamicAttribute implements GiftRegistryDynamicAttributeInterface { + """The internal ID of the dynamic attribute.""" + code: ID! + """Indicates which group the dynamic attribute is a member of.""" + group: GiftRegistryDynamicAttributeGroup! + """The display name of the dynamic attribute.""" + label: String! + """A corresponding value for the code.""" + value: String! +} + +"""Defines the group type of a gift registry dynamic attribute.""" +enum GiftRegistryDynamicAttributeGroup { + EVENT_INFORMATION + PRIVACY_SETTINGS + REGISTRANT + GENERAL_INFORMATION + DETAILED_INFORMATION + SHIPPING_ADDRESS +} + +interface GiftRegistryItemInterface { + """The date the product was added to the gift registry.""" + created_at: String! + """A brief message about the gift registry item.""" + note: String + """Details about the gift registry item.""" + product: ProductInterface + """The requested quantity of the product.""" + quantity: Float! + """The fulfilled quantity of the product.""" + quantity_fulfilled: Float! + """The unique ID of a gift registry item.""" + uid: ID! +} + +type GiftRegistryItem implements GiftRegistryItemInterface { + """The date the product was added to the gift registry.""" + created_at: String! + """A brief message about the gift registry item.""" + note: String + """Details about the gift registry item.""" + product: ProductInterface + """The requested quantity of the product.""" + quantity: Float! + """The fulfilled quantity of the product.""" + quantity_fulfilled: Float! + """The unique ID of a gift registry item.""" + uid: ID! +} + +""" +Contains details about the selected or available gift wrapping options. +""" +type GiftWrapping { + """The name of the gift wrapping design.""" + design: String! + """The unique ID for a `GiftWrapping` object.""" + id: ID! @deprecated(reason: "Use `uid` instead") + """The preview image for a gift wrapping option.""" + image: GiftWrappingImage + """The gift wrapping price.""" + price: Money! + """The unique ID for a `GiftWrapping` object.""" + uid: ID! +} + +"""Points to an image associated with a gift wrapping option.""" +type GiftWrappingImage { + """The gift wrapping preview image label.""" + label: String! + """The gift wrapping preview image URL.""" + url: String! +} + +"""Contains prices for gift wrapping options.""" +type GiftOptionsPrices { + """Price of the gift wrapping for all individual order items.""" + gift_wrapping_for_items: Money + """Price of the gift wrapping for the whole order.""" + gift_wrapping_for_order: Money + """Price for the printed card.""" + printed_card: Money +} + +"""Defines the gift options applied to the cart.""" +input SetGiftOptionsOnCartInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! + """Gift message details for the cart.""" + gift_message: GiftMessageInput + """Whether customer requested gift receipt for the cart.""" + gift_receipt_included: Boolean! + """The unique ID for a `GiftWrapping` object to be used for the cart.""" + gift_wrapping_id: ID + """Whether customer requested printed card for the cart.""" + printed_card_included: Boolean! +} + +"""Contains the cart after gift options have been applied.""" +type SetGiftOptionsOnCartOutput { + """The modified cart object.""" + cart: Cart! +} + +"""Contains details about bundle products added to a requisition list.""" +type BundleRequisitionListItem implements RequisitionListItemInterface { + """An array of selected options for a bundle product.""" + bundle_options: [SelectedBundleOption]! + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The quantity of the product added to the requisition list.""" + quantity: Float! + """The unique ID of an item in a requisition list.""" + uid: ID! +} + +""" +Defines a grouped product, which consists of simple standalone products that are presented as a group. +""" +type GroupedProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """An array containing grouped product items.""" + items: [GroupedProductItem] + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +"""Contains information about an individual grouped product item.""" +type GroupedProductItem { + """The relative position of this item compared to the other group items.""" + position: Int + """Details about this product option.""" + product: ProductInterface + """The quantity of this grouped product item.""" + qty: Float +} + +"""A grouped product wish list item.""" +type GroupedProductWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +""" +AreaInput defines the parameters which will be used for filter by specified location. +""" +input AreaInput { + """The radius for the search in KM.""" + radius: Int! + """ + The country code where search must be performed. Required parameter together with region, city or postcode. + """ + search_term: String! +} + +""" +PickupLocationFilterInput defines the list of attributes and filters for the search. +""" +input PickupLocationFilterInput { + """Filter by city.""" + city: FilterTypeInput + """Filter by country.""" + country_id: FilterTypeInput + """Filter by pickup location name.""" + name: FilterTypeInput + """Filter by pickup location code.""" + pickup_location_code: FilterTypeInput + """Filter by postcode.""" + postcode: FilterTypeInput + """Filter by region.""" + region: FilterTypeInput + """Filter by region id.""" + region_id: FilterTypeInput + """Filter by street.""" + street: FilterTypeInput +} + +""" +PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. +""" +input PickupLocationSortInput { + """City where pickup location is placed.""" + city: SortEnum + """Name of the contact person.""" + contact_name: SortEnum + """Id of the country in two letters.""" + country_id: SortEnum + """Description of the pickup location.""" + description: SortEnum + """ + Distance to the address, requested by distance filter. Applicable only with distance filter. If distance sort order is present, all other sort orders will be ignored. + """ + distance: SortEnum + """Contact email of the pickup location.""" + email: SortEnum + """Contact fax of the pickup location.""" + fax: SortEnum + """Geographic latitude where pickup location is placed.""" + latitude: SortEnum + """Geographic longitude where pickup location is placed.""" + longitude: SortEnum + """ + The pickup location name. Customer use this to identify the pickup location. + """ + name: SortEnum + """Contact phone number of the pickup location.""" + phone: SortEnum + """A code assigned to pickup location to identify the source.""" + pickup_location_code: SortEnum + """Postcode where pickup location is placed.""" + postcode: SortEnum + """Name of the region.""" + region: SortEnum + """Id of the region.""" + region_id: SortEnum + """Street where pickup location is placed.""" + street: SortEnum +} + +"""Top level object returned in a pickup locations search.""" +type PickupLocations { + """An array of pickup locations that match the specific search request.""" + items: [PickupLocation] + """ + An object that includes the page_info and currentPage values specified in the query. + """ + page_info: SearchResultPageInfo + """The number of products returned.""" + total_count: Int +} + +"""Defines Pickup Location information.""" +type PickupLocation { + city: String + contact_name: String + country_id: String + description: String + email: String + fax: String + latitude: Float + longitude: Float + name: String + phone: String + pickup_location_code: String + postcode: String + region: String + region_id: Int + street: String +} + +"""Product Information used for Pickup Locations search.""" +input ProductInfoInput { + """Product SKU.""" + sku: String! +} + +"""Identifies which customer requires remote shopping assistance.""" +input GenerateCustomerTokenAsAdminInput { + """ + The email address of the customer requesting remote shopping assistance. + """ + customer_email: String! +} + +"""Contains the generated customer token.""" +type GenerateCustomerTokenAsAdminOutput { + """The generated customer token.""" + customer_token: String! +} + +"""Apply coupons to the cart.""" +input ApplyCouponsToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of valid coupon codes.""" + coupon_codes: [String]! + """ + `replace` to replace the existing coupon(s) or `append` to add the coupon to the coupon(s) list. + """ + type: ApplyCouponsStrategy +} + +"""Remove coupons from the cart.""" +input RemoveCouponsFromCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """ + An array of coupon codes to be removed from the quote. If coupon_codes is empty all coupons will be removed from the quote. + """ + coupon_codes: [String]! +} + +"""The strategy to apply coupons to the cart.""" +enum ApplyCouponsStrategy { + """Append new coupons keeping the coupons that have been applied before.""" + APPEND + """ + Remove all the coupons from the cart and apply only new provided coupons. + """ + REPLACE +} + +"""Contains the cart and any errors after adding products.""" +type ReorderItemsOutput { + """Detailed information about the customer's cart.""" + cart: Cart! + """An array of reordering errors.""" + userInputErrors: [CheckoutUserInputError]! +} + +"""An error encountered while adding an item to the cart.""" +type CheckoutUserInputError { + """An error code that is specific to Checkout.""" + code: CheckoutUserInputErrorCodes! + """A localized error message.""" + message: String! + """ + The path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors + """ + path: [String]! +} + +"""Identifies the filter to use for filtering orders.""" +input CustomerOrdersFilterInput { + """Filters by order number.""" + number: FilterStringTypeInput +} + +""" +CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order. +""" +input CustomerOrderSortInput { + """ + This enumeration indicates whether to return results in ascending or descending order + """ + sort_direction: SortEnum! + """Specifies the field to use for sorting""" + sort_field: CustomerOrderSortableField! +} + +"""Specifies the field to use for sorting""" +enum CustomerOrderSortableField { + """Sorts customer orders by number""" + NUMBER + """Sorts customer orders by created_at field""" + CREATED_AT +} + +""" +The collection of orders that match the conditions defined in the filter. +""" +type CustomerOrders { + """An array of customer orders.""" + items: [CustomerOrder]! + """Contains pagination metadata.""" + page_info: SearchResultPageInfo + """The total count of customer orders.""" + total_count: Int +} + +""" +Contains detailed information about an order's billing and shipping addresses. +""" +type OrderAddress { + """The city or town.""" + city: String! + """The customer's company.""" + company: String + """The customer's country.""" + country_code: CountryCodeEnum + """The fax number.""" + fax: String + """ + The first name of the person associated with the shipping/billing address. + """ + firstname: String! + """ + The family name of the person associated with the shipping/billing address. + """ + lastname: String! + """ + The middle name of the person associated with the shipping/billing address. + """ + middlename: String + """The customer's ZIP or postal code.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """The state or province name.""" + region: String + """The unique ID for a `Region` object of a pre-defined region.""" + region_id: ID + """An array of strings that define the street number and name.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number.""" + telephone: String + """The customer's Value-added tax (VAT) number (for corporate customers).""" + vat_id: String +} + +type OrderItem implements OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Represents order item options like selected or entered.""" +type OrderItemOption { + """The name of the option.""" + label: String! + """The value of the option.""" + value: String! +} + +"""Contains tax item details.""" +type TaxItem { + """The amount of tax applied to the item.""" + amount: Money! + """The rate used to calculate the tax.""" + rate: Float! + """A title that describes the tax.""" + title: String! +} + +"""Contains invoice details.""" +type Invoice { + """Comments on the invoice.""" + comments: [SalesCommentItem] + """The unique ID for a `Invoice` object.""" + id: ID! + """Invoiced product details.""" + items: [InvoiceItemInterface] + """Sequential invoice number.""" + number: String! + """Invoice total amount details.""" + total: InvoiceTotal +} + +"""Contains detailes about invoiced items.""" +interface InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +type InvoiceItem implements InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +"""Contains price details from an invoice.""" +type InvoiceTotal { + """The final base grand total amount in the base currency.""" + base_grand_total: Money! + """The applied discounts to the invoice.""" + discounts: [Discount] + """The final total amount, including shipping, discounts, and taxes.""" + grand_total: Money! + """Details about the shipping and handling costs for the invoice.""" + shipping_handling: ShippingHandling + """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" + subtotal: Money! + """The invoice tax details.""" + taxes: [TaxItem] + """The shipping amount for the invoice.""" + total_shipping: Money! + """The amount of tax applied to the invoice.""" + total_tax: Money! +} + +"""Contains details about shipping and handling costs.""" +type ShippingHandling { + """The shipping amount, excluding tax.""" + amount_excluding_tax: Money + """The shipping amount, including tax.""" + amount_including_tax: Money + """The applied discounts to the shipping.""" + discounts: [ShippingDiscount] + """Details about taxes applied for shipping.""" + taxes: [TaxItem] + """The total amount for shipping.""" + total_amount: Money! +} + +""" +Defines an individual shipping discount. This discount can be applied to shipping. +""" +type ShippingDiscount { + """The amount of the discount.""" + amount: Money! +} + +"""Contains order shipment details.""" +type OrderShipment { + """Comments added to the shipment.""" + comments: [SalesCommentItem] + """The unique ID for a `OrderShipment` object.""" + id: ID! + """An array of items included in the shipment.""" + items: [ShipmentItemInterface] + """The sequential credit shipment number.""" + number: String! + """An array of shipment tracking details.""" + tracking: [ShipmentTracking] +} + +"""Contains details about a comment.""" +type SalesCommentItem { + """The text of the message.""" + message: String! + """The timestamp of the comment.""" + timestamp: String! +} + +"""Order shipment item details.""" +interface ShipmentItemInterface { + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +type ShipmentItem implements ShipmentItemInterface { + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +"""Contains order shipment tracking details.""" +type ShipmentTracking { + """The shipping carrier for the order delivery.""" + carrier: String! + """The tracking number of the order shipment.""" + number: String + """The shipment tracking title.""" + title: String! +} + +"""Contains details about the payment method used to pay for the order.""" +type OrderPaymentMethod { + """Additional data per payment method type.""" + additional_data: [KeyValue] + """The label that describes the payment method.""" + name: String! + """The payment method code that indicates how the order was paid for.""" + type: String! +} + +"""Contains credit memo details.""" +type CreditMemo { + """Comments on the credit memo.""" + comments: [SalesCommentItem] + """The unique ID for a `CreditMemo` object.""" + id: ID! + """An array containing details about refunded items.""" + items: [CreditMemoItemInterface] + """The sequential credit memo number.""" + number: String! + """Details about the total refunded amount.""" + total: CreditMemoTotal +} + +"""Credit memo item details.""" +interface CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +type CreditMemoItem implements CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +"""Contains credit memo price details.""" +type CreditMemoTotal { + """An adjustment manually applied to the order.""" + adjustment: Money! + """The final base grand total amount in the base currency.""" + base_grand_total: Money! + """The applied discounts to the credit memo.""" + discounts: [Discount] + """The final total amount, including shipping, discounts, and taxes.""" + grand_total: Money! + """Details about the shipping and handling costs for the credit memo.""" + shipping_handling: ShippingHandling + """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" + subtotal: Money! + """The credit memo tax details.""" + taxes: [TaxItem] + """The shipping amount for the credit memo.""" + total_shipping: Money! + """The amount of tax applied to the credit memo.""" + total_tax: Money! +} + +"""Contains a key-value pair.""" +type KeyValue { + """The name part of the key/value pair.""" + name: String + """The value part of the key/value pair.""" + value: String +} + +enum CheckoutUserInputErrorCodes { + REORDER_NOT_AVAILABLE + PRODUCT_NOT_FOUND + NOT_SALABLE + INSUFFICIENT_STOCK + UNDEFINED +} + +"""This enumeration defines the scope type for customer orders.""" +enum ScopeTypeEnum { + GLOBAL + WEBSITE + STORE +} + +"""Input to retrieve an order based on token.""" +input OrderTokenInput { + """Order token.""" + token: String! +} + +"""Input to retrieve an order based on details.""" +input OrderInformationInput { + """Order billing address email.""" + email: String! + """Order number.""" + number: String! + """Order billing address postcode.""" + postcode: String! +} + +"""Identifies a quote to be duplicated""" +input DuplicateNegotiableQuoteInput { + """ID for the newly duplicated quote.""" + duplicated_quote_uid: ID! + """ID of the quote to be duplicated.""" + quote_uid: ID! +} + +"""Contains the newly created negotiable quote.""" +type DuplicateNegotiableQuoteOutput { + """Negotiable Quote resulting from duplication operation.""" + quote: NegotiableQuote +} + +"""Contains details about a negotiable quote template.""" +type NegotiableQuoteTemplate { + """The first and last name of the buyer.""" + buyer: NegotiableQuoteUser! + """A list of comments made by the buyer and seller.""" + comments: [NegotiableQuoteComment] + """The expiration period of the negotiable quote template.""" + expiration_date: String! + """A list of status and price changes for the negotiable quote template.""" + history: [NegotiableQuoteHistoryEntry] + """Indicates whether the minimum and maximum quantity settings are used.""" + is_min_max_qty_used: Boolean! + """ + Indicates whether the negotiable quote template contains only virtual products. + """ + is_virtual: Boolean! + """The list of items in the negotiable quote template.""" + items: [CartItemInterface] + """Commitment for maximum orders""" + max_order_commitment: Int! + """Commitment for minimum orders""" + min_order_commitment: Int! + """The title assigned to the negotiable quote template.""" + name: String! + """A list of notifications for the negotiable quote template.""" + notifications: [QuoteTemplateNotificationMessage] + """ + A set of subtotals and totals applied to the negotiable quote template. + """ + prices: CartPrices + """A list of shipping addresses applied to the negotiable quote template.""" + shipping_addresses: [NegotiableQuoteShippingAddress]! + """The status of the negotiable quote template.""" + status: String! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! + """The total number of items in the negotiable quote template.""" + total_quantity: Float! +} + +"""Contains data for a negotiable quote template in a grid.""" +type NegotiableQuoteTemplateGridItem { + """The date and time the negotiable quote template was activated.""" + activated_at: String! + """Company name the quote template is assigned to""" + company_name: String! + """The expiration period of the negotiable quote template.""" + expiration_date: String! + """Indicates whether the minimum and maximum quantity settings are used.""" + is_min_max_qty_used: Boolean! + """The date and time the negotiable quote template was last shared.""" + last_shared_at: String! + """Commitment for maximum orders""" + max_order_commitment: Int! + """The minimum negotiated grand total of the negotiable quote template.""" + min_negotiated_grand_total: Float! + """Commitment for minimum orders""" + min_order_commitment: Int! + """The title assigned to the negotiable quote template.""" + name: String! + """The number of orders placed for the negotiable quote template.""" + orders_placed: Int! + """The first and last name of the sales representative.""" + sales_rep_name: String! + """State of the negotiable quote template.""" + state: String! + """The status of the negotiable quote template.""" + status: String! + """The first and last name of the buyer.""" + submitted_by: String! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +""" +Contains a list of negotiable templates that match the specified filter. +""" +type NegotiableQuoteTemplatesOutput { + """A list of negotiable quote templates""" + items: [NegotiableQuoteTemplateGridItem]! + """Contains pagination metadata""" + page_info: SearchResultPageInfo! + """Contains the default sort field and all available sort fields.""" + sort_fields: SortFields + """The number of negotiable quote templates returned""" + total_count: Int! +} + +"""Contains the updated negotiable quote template.""" +type UpdateNegotiableQuoteTemplateItemsQuantityOutput { + """The updated negotiable quote template.""" + quote_template: NegotiableQuoteTemplate +} + +"""Contains the generated negotiable quote id.""" +type GenerateNegotiableQuoteFromTemplateOutput { + """The unique ID of a generated `NegotiableQuote` object.""" + negotiable_quote_uid: ID! +} + +""" +Contains details about a failed delete operation on a negotiable quote template. +""" +type DeleteNegotiableQuoteTemplateOutput { + """A message that describes the error.""" + error_message: String + """Flag to mark whether the delete operation was successful.""" + status: Boolean! +} + +"""Contains a notification message for a negotiable quote template.""" +type QuoteTemplateNotificationMessage { + """The notification message.""" + message: String! + """The type of notification message.""" + type: String! +} + +"""Defines a filter to limit the negotiable quotes to return.""" +input NegotiableQuoteTemplateFilterInput { + """Filter by state of one or more negotiable quote templates.""" + state: FilterEqualTypeInput + """Filter by status of one or more negotiable quote templates.""" + status: FilterEqualTypeInput +} + +"""Defines the field to use to sort a list of negotiable quotes.""" +input NegotiableQuoteTemplateSortInput { + """Whether to return results in ascending or descending order.""" + sort_direction: SortEnum! + """The specified sort field.""" + sort_field: NegotiableQuoteTemplateSortableField! +} + +"""Defines properties of a negotiable quote template request.""" +input RequestNegotiableQuoteTemplateInput { + """ + The cart ID of the quote to create the new negotiable quote template from. + """ + cart_id: ID! +} + +"""Specifies the items to update.""" +input UpdateNegotiableQuoteTemplateQuantitiesInput { + """An array of items to update.""" + items: [NegotiableQuoteTemplateItemQuantityInput]! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the updated quantity of an item.""" +input NegotiableQuoteTemplateItemQuantityInput { + """The unique ID of a `CartItemInterface` object.""" + item_id: ID! + """ + The new max quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. + """ + max_qty: Float + """ + The new min quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. + """ + min_qty: Float + """The new quantity of the negotiable quote item.""" + quantity: Float! +} + +""" +Defines the shipping address to assign to the negotiable quote template. +""" +input SetNegotiableQuoteTemplateShippingAddressInput { + """A shipping adadress to apply to the negotiable quote template.""" + shipping_address: NegotiableQuoteTemplateShippingAddressInput! + """The unique ID of a `NegotiableQuote` object.""" + template_id: ID! +} + +"""Defines shipping addresses for the negotiable quote template.""" +input NegotiableQuoteTemplateShippingAddressInput { + """A shipping address.""" + address: NegotiableQuoteAddressInput + """ + An ID from the company user's address book that uniquely identifies the address to be used for shipping. + """ + customer_address_uid: ID + """Text provided by the company user.""" + customer_notes: String +} + +"""Specifies the quote template properties to update.""" +input SubmitNegotiableQuoteTemplateForReviewInput { + """A comment for the seller to review.""" + comment: String + """Commitment for maximum orders""" + max_order_commitment: Int + """Commitment for minimum orders""" + min_order_commitment: Int + """The title assigned to the negotiable quote template.""" + name: String + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id to accept quote template.""" +input AcceptNegotiableQuoteTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id to open quote template.""" +input OpenNegotiableQuoteTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the template id, from which to generate quote from.""" +input GenerateNegotiableQuoteFromTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Defines the items to remove from the specified negotiable quote.""" +input RemoveNegotiableQuoteTemplateItemsInput { + """ + An array of IDs indicating which items to remove from the negotiable quote. + """ + item_uids: [ID]! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id of the quote template to cancel""" +input CancelNegotiableQuoteTemplateInput { + """A comment to provide reason of cancellation.""" + cancellation_comment: String + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id of the quote template to delete""" +input DeleteNegotiableQuoteTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Sets quote item note.""" +input QuoteTemplateLineItemNoteInput { + """The unique ID of a `CartLineItem` object.""" + item_id: ID! + """The note text to be added.""" + note: String + """The unique ID of a `NegotiableQuoteTemplate` object.""" + templateId: ID! +} + +enum NegotiableQuoteTemplateSortableField { + """Sorts negotiable quote templates by template id.""" + TEMPLATE_ID + """Sorts negotiable quote templates by the date they were last shared.""" + LAST_SHARED_AT +} + +"""Contains details about prior company credit operations.""" +type CompanyCreditHistory { + """An array of company credit operations.""" + items: [CompanyCreditOperation]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo! + """ + The number of the company credit operations matching the specified filter. + """ + total_count: Int +} + +"""Contains details about a single company credit operation.""" +type CompanyCreditOperation { + """The amount of the company credit operation.""" + amount: Money + """The credit balance as a result of the operation.""" + balance: CompanyCredit! + """ + The purchase order number associated with the company credit operation. + """ + custom_reference_number: String + """The date the operation occurred.""" + date: String! + """The type of the company credit operation.""" + type: CompanyCreditOperationType! + """The company user that submitted the company credit operation.""" + updated_by: CompanyCreditOperationUser! +} + +""" +Defines the administrator or company user that submitted a company credit operation. +""" +type CompanyCreditOperationUser { + """The name of the company user submitting the company credit operation.""" + name: String! + """The type of the company user submitting the company credit operation.""" + type: CompanyCreditOperationUserType! +} + +"""Contains company credit balances and limits.""" +type CompanyCredit { + """ + The sum of the credit limit and the outstanding balance. If the company has exceeded the credit limit, the amount is as a negative value. + """ + available_credit: Money! + """The amount of credit extended to the company.""" + credit_limit: Money! + """ + The amount reimbursed, less the total due from all orders placed using the Payment on Account payment method. The amount can be a positive or negative value. + """ + outstanding_balance: Money! +} + +enum CompanyCreditOperationType { + ALLOCATION + UPDATE + PURCHASE + REIMBURSEMENT + REFUND + REVERT +} + +enum CompanyCreditOperationUserType { + CUSTOMER + ADMIN +} + +"""Defines a filter for narrowing the results of a credit history search.""" +input CompanyCreditHistoryFilterInput { + """ + The purchase order number associated with the company credit operation. + """ + custom_reference_number: String + """The type of the company credit operation.""" + operation_type: CompanyCreditOperationType + """The name of the person submitting the company credit operation.""" + updated_by: String +} + +"""Contains the result of the `subscribeEmailToNewsletter` operation.""" +type SubscribeEmailToNewsletterOutput { + """The status of the subscription request.""" + status: SubscriptionStatusesEnum +} + +"""Indicates the status of the request.""" +enum SubscriptionStatusesEnum { + NOT_ACTIVE + SUBSCRIBED + UNSUBSCRIBED + UNCONFIRMED +} + +type CancellationReason { + description: String! +} + +"""Defines the order to cancel.""" +input CancelOrderInput { + """Order ID.""" + order_id: ID! + """Cancellation reason.""" + reason: String! +} + +"""Contains the updated customer order and error message if any.""" +type CancelOrderOutput { + """Error encountered while cancelling the order.""" + error: String + """Updated customer order.""" + order: CustomerOrder +} + +type UiAttributeTypePageBuilder implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Gets the payment SDK URLs and values""" +type GetPaymentSDKOutput { + """The payment SDK parameters""" + sdkParams: [PaymentSDKParamsItem] +} + +type PaymentSDKParamsItem { + """The payment method code used in the order""" + code: String + """The payment SDK parameters""" + params: [SDKParams] +} + +"""Contains the payment order details""" +type PaymentOrderOutput { + """PayPal order ID""" + id: String + """The order ID generated by Payment Services""" + mp_order_id: String + """Details about the card used on the order""" + payment_source_details: PaymentSourceDetails + """The status of the payment order""" + status: String +} + +type PaymentSourceDetails { + """Details about the card used on the order""" + card: Card +} + +type Card { + """Card bin details""" + bin_details: CardBin + """Expiration month of the card""" + card_expiry_month: String + """Expiration year of the card""" + card_expiry_year: String + """Last four digits of the card""" + last_digits: String + """Name on the card""" + name: String +} + +type CardBin { + """Card bin number""" + bin: String +} + +""" +Contains payment order details that are used while processing the payment order +""" +input CreatePaymentOrderInput { + """The customer cart ID""" + cartId: String! + """Defines the origin location for that payment request""" + location: PaymentLocation! + """The code for the payment method used in the order""" + methodCode: String! + """The identifiable payment source for the payment method""" + paymentSource: String! + """Indicates whether the payment information should be vaulted""" + vaultIntent: Boolean +} + +"""Synchronizes the payment order details""" +input SyncPaymentOrderInput { + """The customer cart ID""" + cartId: String! + """PayPal order ID""" + id: String! +} + +""" +Contains payment order details that are used while processing the payment order +""" +type CreatePaymentOrderOutput { + """The amount of the payment order""" + amount: Float + """The currency of the payment order""" + currency_code: String + """PayPal order ID""" + id: String + """The order ID generated by Payment Services""" + mp_order_id: String + """The status of the payment order""" + status: String +} + +"""Defines the origin location for that payment request""" +enum PaymentLocation { + PRODUCT_DETAIL + MINICART + CART + CHECKOUT + ADMIN +} + +"""Retrieves the payment configuration for a given location""" +type PaymentConfigOutput { + """ApplePay payment method configuration""" + apple_pay: ApplePayConfig + """GooglePay payment method configuration""" + google_pay: GooglePayConfig + """Hosted fields payment method configuration""" + hosted_fields: HostedFieldsConfig + """Smart Buttons payment method configuration""" + smart_buttons: SmartButtonsConfig +} + +""" +Contains payment fields that are common to all types of payment methods. +""" +interface PaymentConfigItem { + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type PaymentCommonConfig implements PaymentConfigItem { + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type HostedFieldsConfig implements PaymentConfigItem { + """Vault payment method code""" + cc_vault_code: String + """The payment method code as defined in the payment gateway""" + code: String + """Card vault enabled""" + is_vault_enabled: Boolean + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The payment source for the payment method""" + payment_source: String + """Card and bin details required""" + requires_card_details: Boolean + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """Whether 3DS is activated; true if 3DS mode is not OFF.""" + three_ds: Boolean @deprecated(reason: "Use 'three_ds_mode' instead.") + """3DS mode""" + three_ds_mode: ThreeDSMode + """The name displayed for the payment method""" + title: String +} + +"""3D Secure mode.""" +enum ThreeDSMode { + OFF + SCA_WHEN_REQUIRED + SCA_ALWAYS +} + +type SmartButtonsConfig implements PaymentConfigItem { + """The styles for the PayPal Smart Button configuration""" + button_styles: ButtonStyles + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether to display the PayPal Pay Later message""" + display_message: Boolean + """Indicates whether to display Venmo""" + display_venmo: Boolean + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Contains details about the styles for the PayPal Pay Later message""" + message_styles: MessageStyles + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type ApplePayConfig implements PaymentConfigItem { + """The styles for the ApplePay Smart Button configuration""" + button_styles: ButtonStyles + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The payment source for the payment method""" + payment_source: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type GooglePayConfig implements PaymentConfigItem { + """The styles for the GooglePay Button configuration""" + button_styles: GooglePayButtonStyles + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The payment source for the payment method""" + payment_source: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """3DS mode""" + three_ds_mode: ThreeDSMode + """The name displayed for the payment method""" + title: String +} + +type ButtonStyles { + """The button color""" + color: String + """The button height in pixels""" + height: Int + """The button label""" + label: String + """The button layout""" + layout: String + """The button shape""" + shape: String + """Indicates whether the tagline is displayed""" + tagline: Boolean + """ + Defines if the button uses default height. If the value is false, the value of height is used + """ + use_default_height: Boolean +} + +type GooglePayButtonStyles { + """The button color""" + color: String + """The button height in pixels""" + height: Int + """The button type""" + type: String +} + +type MessageStyles { + """The message layout""" + layout: String + """The message logo""" + logo: MessageStyleLogo +} + +type MessageStyleLogo { + """The type of logo for the PayPal Pay Later messaging""" + type: String +} + +"""Defines the name and value of a SDK parameter""" +type SDKParams { + """The name of the SDK parameter""" + name: String + """The value of the SDK parameter""" + value: String +} + +"""Vault payment inputs""" +input VaultMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String + """The public hash of the token.""" + public_hash: String +} + +"""Smart button payment inputs""" +input SmartButtonMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Apple Pay inputs""" +input ApplePayMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Google Pay inputs""" +input GooglePayMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Hosted Fields payment inputs""" +input HostedFieldsInput { + """Card bin number""" + cardBin: String + """Expiration month of the card""" + cardExpiryMonth: String + """Expiration year of the card""" + cardExpiryYear: String + """Last four digits of the card""" + cardLast4: String + """Name on the card""" + holderName: String + """ + Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the Payment Services payment integration. + """ + is_active_payment_token_enabler: Boolean + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Describe the variables needed to create a vault card setup token""" +input CreateVaultCardSetupTokenInput { + """The setup token information""" + setup_token: VaultSetupTokenInput! + """The 3DS mode""" + three_ds_mode: ThreeDSMode +} + +"""The payment source information""" +input VaultSetupTokenInput { + """The payment source information""" + payment_source: PaymentSourceInput! +} + +"""The payment source information""" +input PaymentSourceInput { + """The card payment source information""" + card: CardPaymentSourceInput! +} + +"""The card payment source information""" +input CardPaymentSourceInput { + """The billing address of the card""" + billing_address: BillingAddressPaymentSourceInput! + """The name on the cardholder""" + name: String +} + +"""The billing address information""" +input BillingAddressPaymentSourceInput { + """The first line of the address""" + address_line_1: String + """The second line of the address""" + address_line_2: String + """The city of the address""" + city: String + """The country of the address""" + country_code: String! + """The postal code of the address""" + postal_code: String + """The region of the address""" + region: String +} + +"""The setup token id information""" +type CreateVaultCardSetupTokenOutput { + """The setup token id""" + setup_token: String! +} + +"""Describe the variables needed to create a vault payment token""" +input CreateVaultCardPaymentTokenInput { + """Description of the vaulted card""" + card_description: String + """The setup token obtained by the createVaultCardSetupToken endpoint""" + setup_token_id: String! +} + +"""The vault token id and information about the payment source""" +type CreateVaultCardPaymentTokenOutput { + """The payment source information""" + payment_source: PaymentSourceOutput! + """The vault payment token information""" + vault_token_id: String! +} + +"""The payment source information""" +type PaymentSourceOutput { + """The card payment source information""" + card: CardPaymentSourceOutput! +} + +"""The card payment source information""" +type CardPaymentSourceOutput { + """The brand of the card""" + brand: String + """The expiry of the card""" + expiry: String + """The last digits of the card""" + last_digits: String +} + +"""Retrieves the vault configuration""" +type VaultConfigOutput { + """Credit card vault method configuration""" + credit_card: VaultCreditCardConfig +} + +type VaultCreditCardConfig { + """Is vault enabled""" + is_vault_enabled: Boolean + """The parameters required to load the Paypal JS SDK""" + sdk_params: [SDKParams] + """3DS mode""" + three_ds_mode: ThreeDSMode +} + +""" +Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods. +""" +input PaypalExpressTokenInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! + """The payment method code.""" + code: String! + """ + Indicates whether the buyer selected the quick checkout button. The default value is false. + """ + express_button: Boolean + """ + A set of relative URLs that PayPal uses in response to various actions during the authorization process. + """ + urls: PaypalExpressUrlsInput! + """ + Indicates whether the buyer clicked the PayPal credit button. The default value is false. + """ + use_paypal_credit: Boolean +} + +"""Deprecated. Use `PaypalExpressTokenOutput` instead.""" +type PaypalExpressToken { + """ + A set of URLs that allow the buyer to authorize payment and adjust checkout details. + """ + paypal_urls: PaypalExpressUrlList @deprecated(reason: "Use `PaypalExpressTokenOutput.paypal_urls` instead.") + """The token returned by PayPal.""" + token: String @deprecated(reason: "Use `PaypalExpressTokenOutput.token` instead.") +} + +""" +Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods. +""" +type PaypalExpressTokenOutput { + """ + A set of URLs that allow the buyer to authorize payment and adjust checkout details. + """ + paypal_urls: PaypalExpressUrlList + """The token returned by PayPal.""" + token: String +} + +""" +Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods. +""" +type PayflowLinkToken { + """The mode for the Payflow transaction.""" + mode: PayflowLinkMode + """The PayPal URL used for requesting a Payflow form.""" + paypal_url: String + """The secure token generated by PayPal.""" + secure_token: String + """The secure token ID generated by PayPal.""" + secure_token_id: String +} + +""" +Contains the secure URL used for the Payments Pro Hosted Solution payment method. +""" +type HostedProUrl { + """The secure URL generated by PayPal.""" + secure_form_url: String +} + +""" +Contains the required input to request the secure URL for Payments Pro Hosted Solution payment. +""" +input HostedProUrlInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! +} + +""" +Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method. +""" +input HostedProInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. For example, if the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the final confirmation page that PayPal redirects to upon payment success. For example, if the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! +} + +""" +Contains required input for Express Checkout and Payments Standard payments. +""" +input PaypalExpressInput { + """The unique ID of the PayPal user.""" + payer_id: String! + """The token returned by the `createPaypalExpressToken` mutation.""" + token: String! +} + +"""Contains required input for Payflow Express Checkout payments.""" +input PayflowExpressInput { + """The unique ID of the PayPal user.""" + payer_id: String! + """The token returned by the createPaypalExpressToken mutation.""" + token: String! +} + +""" +Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods. +""" +input PaypalExpressUrlsInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the page that PayPal redirects to when the payment has been put on hold for additional review. This condition mostly applies to ACH transactions, and is not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success_pending.html, the relative URL is paypal/action/success_pending.html. + """ + pending_url: String + """ + The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! + """ + The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. Not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success.html, the relative URL is paypal/action/success.html. + """ + success_url: String +} + +""" +Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions. +""" +type PaypalExpressUrlList { + """The PayPal URL that allows the buyer to edit their checkout details.""" + edit: String + """The URL to the PayPal login page.""" + start: String +} + +""" +A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods. +""" +input PayflowLinkInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. + """ + error_url: String! + """ + The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! +} + +""" +Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods. +""" +input PayflowLinkTokenInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! +} + +""" +Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods. +""" +enum PayflowLinkMode { + TEST + LIVE +} + +""" +Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods. +""" +input PayflowProTokenInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! + """A set of relative URLs that PayPal uses for callback.""" + urls: PayflowProUrlInput! +} + +"""Contains input for the Payflow Pro and Payments Pro payment methods.""" +input PayflowProInput { + """Required input for credit card related information.""" + cc_details: CreditCardDetailsInput! + """ + Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the PayPal Payflow Pro payment integration. + """ + is_active_payment_token_enabler: Boolean +} + +"""Required fields for Payflow Pro and Payments Pro credit card payments.""" +input CreditCardDetailsInput { + """The credit card expiration month.""" + cc_exp_month: Int! + """The credit card expiration year.""" + cc_exp_year: Int! + """The last 4 digits of the credit card.""" + cc_last_4: Int! + """The credit card type.""" + cc_type: String! +} + +""" +Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods. +""" +input PayflowProUrlInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. + """ + error_url: String! + """ + The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! +} + +""" +Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. +""" +type PayflowProToken { + """ + The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. + """ + response_message: String! + """A non-zero value if any errors occurred.""" + result: Int! + """ + The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. + """ + result_code: Int! + """A secure token generated by PayPal.""" + secure_token: String! + """A secure token ID generated by PayPal.""" + secure_token_id: String! +} + +""" +Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. +""" +type CreatePayflowProTokenOutput { + """ + The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. + """ + response_message: String! + """A non-zero value if any errors occurred.""" + result: Int! + """ + The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. + """ + result_code: Int! + """A secure token generated by PayPal.""" + secure_token: String! + """A secure token ID generated by PayPal.""" + secure_token_id: String! +} + +""" +Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods. +""" +input PayflowProResponseInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! + """The payload returned from PayPal.""" + paypal_payload: String! +} + +type PayflowProResponseOutput { + """The cart with the updated selected payment method.""" + cart: Cart! +} + +"""Contains required input for payment methods with Vault support.""" +input VaultTokenInput { + """The public hash of the payment token.""" + public_hash: String! +} + +"""Contains the comment to be added to a purchase order.""" +input AddPurchaseOrderCommentInput { + """Comment text.""" + comment: String! + """The unique ID of a purchase order.""" + purchase_order_uid: ID! +} + +"""Contains the successfully added comment.""" +type AddPurchaseOrderCommentOutput { + """The purchase order comment.""" + comment: PurchaseOrderComment! +} + +"""Contains details about a purchase order.""" +type PurchaseOrder { + """The approval flows for each applied rules.""" + approval_flow: [PurchaseOrderRuleApprovalFlow]! + """ + Purchase order actions available to the customer. Can be used to display action buttons on the client. + """ + available_actions: [PurchaseOrderAction]! + """The set of comments applied to the purchase order.""" + comments: [PurchaseOrderComment]! + """The date the purchase order was created.""" + created_at: String! + """The company user who created the purchase order.""" + created_by: Customer + """The log of the events related to the purchase order.""" + history_log: [PurchaseOrderHistoryItem]! + """The purchase order number.""" + number: String! + """The reference to the order placed based on the purchase order.""" + order: CustomerOrder + """The quote related to the purchase order.""" + quote: Cart + """The current status of the purchase order.""" + status: PurchaseOrderStatus! + """A unique identifier for the purchase order.""" + uid: ID! + """The date the purchase order was last updated.""" + updated_at: String! +} + +"""Defines which purchase orders to act on.""" +input PurchaseOrdersActionInput { + """An array of purchase order UIDs.""" + purchase_order_uids: [ID]! +} + +"""Returns a list of updated purchase orders and any error messages.""" +type PurchaseOrdersActionOutput { + """An array of error messages encountered while performing the operation.""" + errors: [PurchaseOrderActionError]! + """A list of purchase orders.""" + purchase_orders: [PurchaseOrder]! +} + +"""Contains details about a failed action.""" +type PurchaseOrderActionError { + """The returned error message.""" + message: String! + """The error type.""" + type: PurchaseOrderErrorType! +} + +enum PurchaseOrderErrorType { + NOT_FOUND + OPERATION_NOT_APPLICABLE + COULD_NOT_SAVE + NOT_VALID_DATA + UNDEFINED +} + +enum PurchaseOrderAction { + REJECT + CANCEL + VALIDATE + APPROVE + PLACE_ORDER +} + +enum PurchaseOrderStatus { + PENDING + APPROVAL_REQUIRED + APPROVED + ORDER_IN_PROGRESS + ORDER_PLACED + ORDER_FAILED + REJECTED + CANCELED + APPROVED_PENDING_PAYMENT +} + +"""Contains details about a comment.""" +type PurchaseOrderComment { + """The user who left the comment.""" + author: Customer + """The date and time when the comment was created.""" + created_at: String! + """The text of the comment.""" + text: String! + """A unique identifier of the comment.""" + uid: ID! +} + +"""Contains details about a status change.""" +type PurchaseOrderHistoryItem { + """The activity type of the event.""" + activity: String! + """The date and time when the event happened.""" + created_at: String! + """The message representation of the event.""" + message: String! + """A unique identifier of the purchase order history item.""" + uid: ID! +} + +"""Defines the criteria to use to filter the list of purchase orders.""" +input PurchaseOrdersFilterInput { + """Include only purchase orders made by subordinate company users.""" + company_purchase_orders: Boolean + """Filter by the creation date of the purchase order.""" + created_date: FilterRangeTypeInput + """ + Include only purchase orders that are waiting for the customer’s approval. + """ + require_my_approval: Boolean + """Filter by the status of the purchase order.""" + status: PurchaseOrderStatus +} + +"""Contains a list of purchase orders.""" +type PurchaseOrders { + """Purchase orders matching the search criteria.""" + items: [PurchaseOrder]! + """Page information of search result's current page.""" + page_info: SearchResultPageInfo + """Total number of purchase orders found matching the search criteria.""" + total_count: Int +} + +"""Specifies the quote to be converted to a purchase order.""" +input PlacePurchaseOrderInput { + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Specifies the purchase order to convert to an order.""" +input PlaceOrderForPurchaseOrderInput { + """The unique ID of a purchase order.""" + purchase_order_uid: ID! +} + +"""Contains the results of the request to place a purchase order.""" +type PlacePurchaseOrderOutput { + """Placed purchase order.""" + purchase_order: PurchaseOrder! +} + +"""Contains the results of the request to place an order.""" +type PlaceOrderForPurchaseOrderOutput { + """Placed order.""" + order: CustomerOrder! +} + +"""Defines the purchase order and cart to act on.""" +input AddPurchaseOrderItemsToCartInput { + """The ID to assign to the cart.""" + cart_id: String! + """Purchase order unique ID.""" + purchase_order_uid: ID! + """Replace existing cart or merge items.""" + replace_existing_cart_items: Boolean! +} + +"""Defines the changes to be made to an approval rule.""" +input UpdatePurchaseOrderApprovalRuleInput { + """ + An updated list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. + """ + applies_to: [ID] + """ + An updated list of B2B user roles that can approve this purchase order approval rule. + """ + approvers: [ID] + """The updated condition of the purchase order approval rule.""" + condition: CreatePurchaseOrderApprovalRuleConditionInput + """The updated approval rule description.""" + description: String + """The updated approval rule name.""" + name: String + """The updated status of the purchase order approval rule.""" + status: PurchaseOrderApprovalRuleStatus + """Unique identifier for the purchase order approval rule.""" + uid: ID! +} + +"""Defines a new purchase order approval rule.""" +input PurchaseOrderApprovalRuleInput { + """ + A list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. + """ + applies_to: [ID]! + """ + A list of B2B user roles that can approve this purchase order approval rule. + """ + approvers: [ID]! + """The condition of the purchase order approval rule.""" + condition: CreatePurchaseOrderApprovalRuleConditionInput! + """A summary of the purpose of the purchase order approval rule.""" + description: String + """The purchase order approval rule name.""" + name: String! + """The status of the purchase order approval rule.""" + status: PurchaseOrderApprovalRuleStatus! +} + +"""Defines a set of conditions that apply to a rule.""" +input CreatePurchaseOrderApprovalRuleConditionInput { + """ + The amount to be compared in a purchase order approval rule. This field is mutually exclusive with condition quantity. + """ + amount: CreatePurchaseOrderApprovalRuleConditionAmountInput + """The type of approval rule.""" + attribute: PurchaseOrderApprovalRuleType! + """Defines how to evaluate an amount or quantity in a purchase order.""" + operator: PurchaseOrderApprovalRuleConditionOperator! + """ + The quantity to be compared in a purchase order approval rule. This field is mutually exclusive with condition amount. + """ + quantity: Int +} + +"""Specifies the amount and currency to evaluate.""" +input CreatePurchaseOrderApprovalRuleConditionAmountInput { + """Purchase order approval rule condition amount currency.""" + currency: CurrencyEnum! + """Purchase order approval rule condition amount value.""" + value: Float! +} + +"""Contains metadata that can be used to render rule edit forms.""" +type PurchaseOrderApprovalRuleMetadata { + """A list of B2B user roles that the rule can be applied to.""" + available_applies_to: [CompanyRole]! + """ + A list of currencies that can be used to create approval rules based on amounts, for example shipping cost rules. + """ + available_condition_currencies: [AvailableCurrency]! + """ + A list of B2B user roles that can be specified as approvers for the approval rules. + """ + available_requires_approval_from: [CompanyRole]! +} + +""" +Defines the code and symbol of a currency that can be used for purchase orders. +""" +type AvailableCurrency { + """3-letter currency code, for example USD.""" + code: CurrencyEnum! + """Currency symbol, for example $.""" + symbol: String! +} + +"""Contains the approval rules that the customer can see.""" +type PurchaseOrderApprovalRules { + """A list of purchase order approval rules visible to the customer.""" + items: [PurchaseOrderApprovalRule]! + """Result pagination details.""" + page_info: SearchResultPageInfo + """ + The total number of purchase order approval rules visible to the customer. + """ + total_count: Int +} + +"""Contains details about a purchase order approval rule.""" +type PurchaseOrderApprovalRule { + """ + The name of the user(s) affected by the the purchase order approval rule. + """ + applies_to_roles: [CompanyRole]! + """ + The name of the user who needs to approve purchase orders that trigger the approval rule. + """ + approver_roles: [CompanyRole]! + """Condition which triggers the approval rule.""" + condition: PurchaseOrderApprovalRuleConditionInterface + """The date the purchase order rule was created.""" + created_at: String! + """The name of the user who created the purchase order approval rule.""" + created_by: String! + """Description of the purchase order approval rule.""" + description: String + """The name of the purchase order approval rule.""" + name: String! + """The status of the purchase order approval rule.""" + status: PurchaseOrderApprovalRuleStatus! + """The unique identifier for the purchase order approval rule.""" + uid: ID! + """The date the purchase order rule was last updated.""" + updated_at: String! +} + +"""Purchase order rule condition details.""" +interface PurchaseOrderApprovalRuleConditionInterface { + """The type of purchase order approval rule.""" + attribute: PurchaseOrderApprovalRuleType + """The operator to be used for evaluating the approval rule condition.""" + operator: PurchaseOrderApprovalRuleConditionOperator +} + +""" +Contains approval rule condition details, including the amount to be evaluated. +""" +type PurchaseOrderApprovalRuleConditionAmount implements PurchaseOrderApprovalRuleConditionInterface { + """ + The amount to be be used for evaluation of the approval rule condition. + """ + amount: Money! + """The type of purchase order approval rule.""" + attribute: PurchaseOrderApprovalRuleType + """The operator to be used for evaluating the approval rule condition.""" + operator: PurchaseOrderApprovalRuleConditionOperator +} + +""" +Contains approval rule condition details, including the quantity to be evaluated. +""" +type PurchaseOrderApprovalRuleConditionQuantity implements PurchaseOrderApprovalRuleConditionInterface { + """The type of purchase order approval rule.""" + attribute: PurchaseOrderApprovalRuleType + """The operator to be used for evaluating the approval rule condition.""" + operator: PurchaseOrderApprovalRuleConditionOperator + """The quantity to be used for evaluation of the approval rule condition.""" + quantity: Int +} + +enum PurchaseOrderApprovalRuleConditionOperator { + MORE_THAN + LESS_THAN + MORE_THAN_OR_EQUAL_TO + LESS_THAN_OR_EQUAL_TO +} + +enum PurchaseOrderApprovalRuleStatus { + ENABLED + DISABLED +} + +enum PurchaseOrderApprovalRuleType { + GRAND_TOTAL + SHIPPING_INCL_TAX + NUMBER_OF_SKUS +} + +""" +Contains details about approval roles applied to the purchase order and status changes. +""" +type PurchaseOrderRuleApprovalFlow { + """The approval flow event related to the rule.""" + events: [PurchaseOrderApprovalFlowEvent]! + """The name of the applied rule.""" + rule_name: String! +} + +""" +Contains details about a single event in the approval flow of the purchase order. +""" +type PurchaseOrderApprovalFlowEvent { + """A formatted message.""" + message: String + """The approver name.""" + name: String + """The approver role.""" + role: String + """The status related to the event.""" + status: PurchaseOrderApprovalFlowItemStatus + """The date and time the event was updated.""" + updated_at: String +} + +enum PurchaseOrderApprovalFlowItemStatus { + PENDING + APPROVED + REJECTED +} + +"""Defines the purchase orders to be validated.""" +input ValidatePurchaseOrdersInput { + """An array of the purchase order IDs.""" + purchase_order_uids: [ID]! +} + +"""Contains the results of validation attempts.""" +type ValidatePurchaseOrdersOutput { + """An array of error messages encountered while performing the operation.""" + errors: [ValidatePurchaseOrderError]! + """An array of the purchase orders in the request.""" + purchase_orders: [PurchaseOrder]! +} + +"""Contains details about a failed validation attempt.""" +type ValidatePurchaseOrderError { + """The returned error message.""" + message: String! + """Error type.""" + type: ValidatePurchaseOrderErrorType! +} + +enum ValidatePurchaseOrderErrorType { + NOT_FOUND + OPERATION_NOT_APPLICABLE + COULD_NOT_SAVE + NOT_VALID_DATA + UNDEFINED +} + +"""Specifies the IDs of the approval rules to delete.""" +input DeletePurchaseOrderApprovalRuleInput { + """An array of purchase order approval rule IDs.""" + approval_rule_uids: [ID]! +} + +""" +Contains any errors encountered while attempting to delete approval rules. +""" +type DeletePurchaseOrderApprovalRuleOutput { + """An array of error messages encountered while performing the operation.""" + errors: [DeletePurchaseOrderApprovalRuleError]! +} + +""" +Contains details about an error that occurred when deleting an approval rule . +""" +type DeletePurchaseOrderApprovalRuleError { + """The text of the error message.""" + message: String + """The error type.""" + type: DeletePurchaseOrderApprovalRuleErrorType +} + +enum DeletePurchaseOrderApprovalRuleErrorType { + UNDEFINED + NOT_FOUND +} + +"""Assigns a specific `cart_id` to the empty cart.""" +input ClearCartInput { + """The unique ID of a `Cart` object.""" + uid: ID! +} + +"""Output of the request to clear the customer cart.""" +type ClearCartOutput { + """The cart after clear cart items.""" + cart: Cart + """An array of errors encountered while clearing the cart item""" + errors: [ClearCartError] +} + +"""Contains details about errors encountered when a customer clear cart.""" +type ClearCartError { + """A localized error message""" + message: String! + """A cart-specific error type.""" + type: ClearCartErrorType! +} + +enum ClearCartErrorType { + NOT_FOUND + UNAUTHORISED + INACTIVE + UNDEFINED +} + +enum ReCaptchaFormEnum { + PLACE_ORDER + CONTACT + CUSTOMER_LOGIN + CUSTOMER_FORGOT_PASSWORD + CUSTOMER_CREATE + CUSTOMER_EDIT + NEWSLETTER + PRODUCT_REVIEW + SENDFRIEND + BRAINTREE +} + +"""Contains reCAPTCHA V3-Invisible configuration details.""" +type ReCaptchaConfigurationV3 { + """The position of the invisible reCAPTCHA badge on each page.""" + badge_position: String! + """The message that appears to the user if validation fails.""" + failure_message: String! + """ + A list of forms on the storefront that have been configured to use reCAPTCHA V3. + """ + forms: [ReCaptchaFormEnum]! + """Return whether recaptcha is enabled or not""" + is_enabled: Boolean! + """ + A two-character code that specifies the language that is used for Google reCAPTCHA text and messaging. + """ + language_code: String + """ + The minimum score that identifies a user interaction as a potential risk. + """ + minimum_score: Float! + """ + The website key generated when the Google reCAPTCHA account was registered. + """ + website_key: String! +} + +""" +Contains details about configurable products added to a requisition list. +""" +type ConfigurableRequisitionListItem implements RequisitionListItemInterface { + """Selected configurable options for an item in the requisition list.""" + configurable_options: [SelectedConfigurableOption] + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The quantity of the product added to the requisition list.""" + quantity: Float! + """The unique ID of an item in a requisition list.""" + uid: ID! +} + +"""Contains an array of product reviews.""" +type ProductReviews { + """An array of product reviews.""" + items: [ProductReview]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo! +} + +"""Contains details of a product review.""" +type ProductReview { + """The average of all ratings for this product.""" + average_rating: Float! + """The date the review was created.""" + created_at: String! + """The customer's nickname. Defaults to the customer name, if logged in.""" + nickname: String! + """The reviewed product.""" + product: ProductInterface! + """ + An array of ratings by rating category, such as quality, price, and value. + """ + ratings_breakdown: [ProductReviewRating]! + """The summary (title) of the review.""" + summary: String! + """The review text.""" + text: String! +} + +"""Contains data about a single aspect of a product review.""" +type ProductReviewRating { + """ + The label assigned to an aspect of a product that is being rated, such as quality or price. + """ + name: String! + """ + The rating value given by customer. By default, possible values range from 1 to 5. + """ + value: String! +} + +"""Contains an array of metadata about each aspect of a product review.""" +type ProductReviewRatingsMetadata { + """An array of product reviews sorted by position.""" + items: [ProductReviewRatingMetadata]! +} + +"""Contains details about a single aspect of a product review.""" +type ProductReviewRatingMetadata { + """An encoded rating ID.""" + id: String! + """ + The label assigned to an aspect of a product that is being rated, such as quality or price. + """ + name: String! + """List of product review ratings sorted by position.""" + values: [ProductReviewRatingValueMetadata]! +} + +"""Contains details about a single value in a product review.""" +type ProductReviewRatingValueMetadata { + """A ratings scale, such as the number of stars awarded.""" + value: String! + """An encoded rating value ID.""" + value_id: String! +} + +"""Contains the completed product review.""" +type CreateProductReviewOutput { + """Product review details.""" + review: ProductReview! +} + +"""Defines a new product review.""" +input CreateProductReviewInput { + """The customer's nickname. Defaults to the customer name, if logged in.""" + nickname: String! + """ + The ratings details by category. For example, Price: 5 stars, Quality: 4 stars, etc. + """ + ratings: [ProductReviewRatingInput]! + """The SKU of the reviewed product.""" + sku: String! + """The summary (title) of the review.""" + summary: String! + """The review text.""" + text: String! +} + +"""Contains the reviewer's rating for a single aspect of a review.""" +input ProductReviewRatingInput { + """An encoded rating ID.""" + id: String! + """An encoded rating value ID.""" + value_id: String! +} + +"""Contains details about a customer's reward points.""" +type RewardPoints { + """The current balance of reward points.""" + balance: RewardPointsAmount + """ + The balance history of reward points. If the ability for customers to view the balance history has been disabled in the Admin, this field will be set to null. + """ + balance_history: [RewardPointsBalanceHistoryItem] + """The current exchange rates for reward points.""" + exchange_rates: RewardPointsExchangeRates + """The subscription status of emails related to reward points.""" + subscription_status: RewardPointsSubscriptionStatus +} + +type RewardPointsAmount { + """The reward points amount in store currency.""" + money: Money! + """The reward points amount in points.""" + points: Float! +} + +""" +Lists the reward points exchange rates. The values depend on the customer group. +""" +type RewardPointsExchangeRates { + """How many points are earned for a given amount spent.""" + earning: RewardPointsRate + """ + How many points must be redeemed to get a given amount of currency discount at the checkout. + """ + redemption: RewardPointsRate +} + +"""Contains details about customer's reward points rate.""" +type RewardPointsRate { + """ + The money value for the exchange rate. For earnings, this is the amount spent to earn the specified points. For redemption, this is the amount of money the number of points represents. + """ + currency_amount: Float! + """ + The number of points for an exchange rate. For earnings, this is the number of points earned. For redemption, this is the number of points needed for redemption. + """ + points: Float! +} + +"""Indicates whether the customer subscribes to reward points emails.""" +type RewardPointsSubscriptionStatus { + """ + Indicates whether the customer subscribes to 'Reward points balance updates' emails. + """ + balance_updates: RewardPointsSubscriptionStatusesEnum! + """ + Indicates whether the customer subscribes to 'Reward points expiration notifications' emails. + """ + points_expiration_notifications: RewardPointsSubscriptionStatusesEnum! +} + +enum RewardPointsSubscriptionStatusesEnum { + SUBSCRIBED + NOT_SUBSCRIBED +} + +"""Contain details about the reward points transaction.""" +type RewardPointsBalanceHistoryItem { + """The award points balance after the completion of the transaction.""" + balance: RewardPointsAmount + """The reason the balance changed.""" + change_reason: String! + """The date of the transaction.""" + date: String! + """The number of points added or deducted in the transaction.""" + points_change: Float! +} + +"""Contains the customer cart.""" +type ApplyRewardPointsToCartOutput { + """The customer cart after reward points are applied.""" + cart: Cart! +} + +"""Contains the customer cart.""" +type RemoveRewardPointsFromCartOutput { + """The customer cart after reward points are removed.""" + cart: Cart! +} + +"""Contains information needed to start a return request.""" +input RequestReturnInput { + """ + Text the buyer entered that describes the reason for the refund request. + """ + comment_text: String + """ + The email address the buyer enters to receive notifications about the status of the return. + """ + contact_email: String + """An array of items to be returned.""" + items: [RequestReturnItemInput]! + """The unique ID for a `Order` object.""" + order_uid: ID! +} + +"""Contains details about an item to be returned.""" +input RequestReturnItemInput { + """Details about a custom attribute that was entered.""" + entered_custom_attributes: [EnteredCustomAttributeInput] + """The unique ID for a `OrderItemInterface` object.""" + order_item_uid: ID! + """The quantity of the item to be returned.""" + quantity_to_return: Float! + """ + An array of selected custom option IDs associated with the item to be returned. For example, the IDs for the selected color and size of a configurable product. + """ + selected_custom_attributes: [SelectedCustomAttributeInput] +} + +"""Contains details about a custom text attribute that the buyer entered.""" +input EnteredCustomAttributeInput { + """A string that identifies the entered custom attribute.""" + attribute_code: String! + """The text or other entered value.""" + value: String! +} + +"""Contains details about an attribute the buyer selected.""" +input SelectedCustomAttributeInput { + """A string that identifies the selected attribute.""" + attribute_code: String! + """ + The unique ID for a `CustomAttribute` object of a selected custom attribute. + """ + value: ID! +} + +"""Contains the response to a return request.""" +type RequestReturnOutput { + """Details about a single return request.""" + return: Return + """An array of return requests.""" + returns( + """ + Specifies the maximum number of results to return at once. The default is 20. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default is 1.""" + currentPage: Int = 1 + ): Returns +} + +"""Defines a return comment.""" +input AddReturnCommentInput { + """The text added to the return request.""" + comment_text: String! + """The unique ID for a `Return` object.""" + return_uid: ID! +} + +"""Contains details about the return request.""" +type AddReturnCommentOutput { + """The modified return.""" + return: Return +} + +"""Defines tracking information to be added to the return.""" +input AddReturnTrackingInput { + """The unique ID for a `ReturnShippingCarrier` object.""" + carrier_uid: ID! + """The unique ID for a `Returns` object.""" + return_uid: ID! + """The shipping tracking number for this return request.""" + tracking_number: String! +} + +"""Contains the response after adding tracking information.""" +type AddReturnTrackingOutput { + """Details about the modified return.""" + return: Return + """Details about shipping for a return.""" + return_shipping_tracking: ReturnShippingTracking +} + +"""Defines the tracking information to delete.""" +input RemoveReturnTrackingInput { + """The unique ID for a `ReturnShippingTracking` object.""" + return_shipping_tracking_uid: ID! +} + +"""Contains the response after deleting tracking information.""" +type RemoveReturnTrackingOutput { + """Contains details about the modified return.""" + return: Return +} + +"""Contains a list of customer return requests.""" +type Returns { + """A list of return requests.""" + items: [Return] + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The total number of return requests.""" + total_count: Int +} + +"""Contains details about a return.""" +type Return { + """A list of shipping carriers available for returns.""" + available_shipping_carriers: [ReturnShippingCarrier] + """A list of comments posted for the return request.""" + comments: [ReturnComment] + """The date the return was requested.""" + created_at: String! + """Data from the customer who created the return request.""" + customer: ReturnCustomer! + """A list of items being returned.""" + items: [ReturnItem] + """A human-readable return number.""" + number: String! + """The order associated with the return.""" + order: CustomerOrder + """Shipping information for the return.""" + shipping: ReturnShipping + """The status of the return request.""" + status: ReturnStatus + """The unique ID for a `Return` object.""" + uid: ID! +} + +"""The customer information for the return.""" +type ReturnCustomer { + """The email address of the customer.""" + email: String! + """The first name of the customer.""" + firstname: String + """The last name of the customer.""" + lastname: String +} + +"""Contains details about a product being returned.""" +type ReturnItem { + """Return item custom attributes that are visible on the storefront.""" + custom_attributes: [ReturnCustomAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") + """Custom attributes that are visible on the storefront.""" + custom_attributesV2: [AttributeValueInterface] + """ + Provides access to the product being returned, including information about selected and entered options. + """ + order_item: OrderItemInterface! + """The quantity of the item the merchant authorized to be returned.""" + quantity: Float! + """The quantity of the item requested to be returned.""" + request_quantity: Float! + """The return status of the item.""" + status: ReturnItemStatus! + """The unique ID for a `ReturnItem` object.""" + uid: ID! +} + +"""Return Item attribute metadata.""" +type ReturnItemAttributeMetadata implements CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """The template used for the input of the attribute (e.g., 'date').""" + input_filter: InputFilterEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """The number of lines of the attribute value.""" + multiline_count: Int + """Attribute options.""" + options: [CustomAttributeOptionInterface]! + """The position of the attribute in the form.""" + sort_order: Int + """The validation rules of the attribute value.""" + validate_rules: [ValidationRule] +} + +"""Contains details about a `ReturnCustomerAttribute` object.""" +type ReturnCustomAttribute { + """A description of the attribute.""" + label: String! + """The unique ID for a `ReturnCustomAttribute` object.""" + uid: ID! + """A JSON-encoded value of the attribute.""" + value: String! +} + +"""Contains details about a return comment.""" +type ReturnComment { + """The name or author who posted the comment.""" + author_name: String! + """The date and time the comment was posted.""" + created_at: String! + """The contents of the comment.""" + text: String! + """The unique ID for a `ReturnComment` object.""" + uid: ID! +} + +"""Contains details about the return shipping address.""" +type ReturnShipping { + """The merchant-defined return shipping address.""" + address: ReturnShippingAddress + """ + The unique ID for a `ReturnShippingTracking` object. If a single UID is specified, the array contains a single tracking record. Otherwise, array contains all tracking information. + """ + tracking(uid: ID): [ReturnShippingTracking] +} + +"""Contains details about the carrier on a return.""" +type ReturnShippingCarrier { + """A description of the shipping carrier.""" + label: String! + """ + The unique ID for a `ReturnShippingCarrier` object assigned to the shipping carrier. + """ + uid: ID! +} + +"""Contains shipping and tracking details.""" +type ReturnShippingTracking { + """Contains details of a shipping carrier.""" + carrier: ReturnShippingCarrier! + """Details about the status of a shipment.""" + status: ReturnShippingTrackingStatus + """A tracking number assigned by the carrier.""" + tracking_number: String! + """ + The unique ID for a `ReturnShippingTracking` object assigned to the tracking item. + """ + uid: ID! +} + +"""Contains the status of a shipment.""" +type ReturnShippingTrackingStatus { + """Text that describes the status.""" + text: String! + """Indicates whether the status type is informational or an error.""" + type: ReturnShippingTrackingStatusType! +} + +enum ReturnShippingTrackingStatusType { + INFORMATION + ERROR +} + +""" +Contains details about the shipping address used for receiving returned items. +""" +type ReturnShippingAddress { + """The city for product returns.""" + city: String! + """The merchant's contact person.""" + contact_name: String + """An object that defines the country for product returns.""" + country: Country! + """The postal code for product returns.""" + postcode: String! + """An object that defines the state or province for product returns.""" + region: Region! + """The street address for product returns.""" + street: [String]! + """The telephone number for product returns.""" + telephone: String +} + +enum ReturnStatus { + PENDING + AUTHORIZED + PARTIALLY_AUTHORIZED + RECEIVED + PARTIALLY_RECEIVED + APPROVED + PARTIALLY_APPROVED + REJECTED + PARTIALLY_REJECTED + DENIED + PROCESSED_AND_CLOSED + CLOSED +} + +enum ReturnItemStatus { + PENDING + AUTHORIZED + RECEIVED + APPROVED + REJECTED + DENIED +} + +"""Defines the wish list visibility types.""" +enum WishlistVisibilityEnum { + PUBLIC + PRIVATE +} + +"""Contains the wish list.""" +type CreateWishlistOutput { + """The newly-created wish list""" + wishlist: Wishlist! +} + +""" +Contains the status of the request to delete a wish list and an array of the customer's remaining wish lists. +""" +type DeleteWishlistOutput { + """Indicates whether the wish list was deleted.""" + status: Boolean! + """A list of undeleted wish lists.""" + wishlists: [Wishlist]! +} + +"""Contains the source and target wish lists after copying products.""" +type CopyProductsBetweenWishlistsOutput { + """The destination wish list containing the copied products.""" + destination_wishlist: Wishlist! + """The wish list that the products were copied from.""" + source_wishlist: Wishlist! + """An array of errors encountered while copying products in a wish list.""" + user_errors: [WishListUserInputError]! +} + +"""Specifies the IDs of items to copy and their quantities.""" +input WishlistItemCopyInput { + """ + The quantity of this item to copy to the destination wish list. This value can't be greater than the quantity in the source wish list. + """ + quantity: Float + """The unique ID of the `WishlistItemInterface` object to be copied.""" + wishlist_item_id: ID! +} + +"""Specifies the IDs of the items to move and their quantities.""" +input WishlistItemMoveInput { + """ + The quantity of this item to move to the destination wish list. This value can't be greater than the quantity in the source wish list. + """ + quantity: Float + """The unique ID of the `WishlistItemInterface` object to be moved.""" + wishlist_item_id: ID! +} + +"""Defines the name and visibility of a new wish list.""" +input CreateWishlistInput { + """The name of the new wish list.""" + name: String! + """Indicates whether the wish list is public or private.""" + visibility: WishlistVisibilityEnum! +} + +"""Contains the name and visibility of an updated wish list.""" +type UpdateWishlistOutput { + """The wish list name.""" + name: String! + """The unique ID of a `Wishlist` object.""" + uid: ID! + """Indicates whether the wish list is public or private.""" + visibility: WishlistVisibilityEnum! +} + +"""Contains the source and target wish lists after moving products.""" +type MoveProductsBetweenWishlistsOutput { + """ + The destination wish list after receiving products moved from the source wish list. + """ + destination_wishlist: Wishlist! + """The source wish list after moving products from it.""" + source_wishlist: Wishlist! + """An array of errors encountered while moving products to a wish list.""" + user_errors: [WishListUserInputError]! +} + +type SearchTerm { + """Containes the popularity of the selected Search Term""" + popularity: Int + """Containes the query_text of the selected Search Term""" + query_text: String + """Containes the Url of the selected Search Term""" + redirect: String +} + +"""Defines the referenced product and the email sender and recipients.""" +input SendEmailToFriendInput { + """The ID of the product that the sender is referencing.""" + product_id: Int! + """An array containing information about each recipient.""" + recipients: [SendEmailToFriendRecipientInput]! + """Information about the customer and the content of the message.""" + sender: SendEmailToFriendSenderInput! +} + +"""Contains details about the sender.""" +input SendEmailToFriendSenderInput { + """The email address of the sender.""" + email: String! + """The text of the message to be sent.""" + message: String! + """The name of the sender.""" + name: String! +} + +"""Contains details about a recipient.""" +input SendEmailToFriendRecipientInput { + """The email address of the recipient.""" + email: String! + """The name of the recipient.""" + name: String! +} + +"""Contains information about the sender and recipients.""" +type SendEmailToFriendOutput { + """An array containing information about each recipient.""" + recipients: [SendEmailToFriendRecipient] + """Information about the customer and the content of the message.""" + sender: SendEmailToFriendSender +} + +"""An output object that contains information about the sender.""" +type SendEmailToFriendSender { + """The email address of the sender.""" + email: String! + """The text of the message to be sent.""" + message: String! + """The name of the sender.""" + name: String! +} + +"""An output object that contains information about the recipient.""" +type SendEmailToFriendRecipient { + """The email address of the recipient.""" + email: String! + """The name of the recipient.""" + name: String! +} + +""" +Contains details about the configuration of the Email to a Friend feature. +""" +type SendFriendConfiguration { + """Indicates whether the Email to a Friend feature is enabled.""" + enabled_for_customers: Boolean! + """Indicates whether the Email to a Friend feature is enabled for guests.""" + enabled_for_guests: Boolean! +} + +""" +Deprecated. Use `TierPrice` instead. Defines a tier price, which is a quantity discount offered to a specific customer group. +""" +type ProductTierPrices { + """The ID of the customer group.""" + customer_group_id: String @deprecated(reason: "Not relevant for the storefront.") + """The percentage discount of the item.""" + percentage_value: Float @deprecated(reason: "Use `TierPrice.discount` instead.") + """ + The number of items that must be purchased to qualify for tier pricing. + """ + qty: Float @deprecated(reason: "Use `TierPrice.quantity` instead.") + """The price of the fixed price item.""" + value: Float @deprecated(reason: "Use `TierPrice.final_price` instead.") + """The ID assigned to the website.""" + website_id: Float @deprecated(reason: "Not relevant for the storefront.") +} + +"""Defines a price based on the quantity purchased.""" +type TierPrice { + """The price discount that this tier represents.""" + discount: ProductDiscount + """The price of the product at this tier.""" + final_price: Money + """ + The minimum number of items that must be purchased to qualify for this price tier. + """ + quantity: Float +} + +interface SwatchLayerFilterItemInterface { + """Data required to render a swatch filter item.""" + swatch_data: SwatchData +} + +type SwatchLayerFilterItem implements LayerFilterItemInterface & SwatchLayerFilterItemInterface { + """The count of items per filter.""" + items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") + """The label for a filter.""" + label: String @deprecated(reason: "Use `AggregationOption.label` instead.") + """Data required to render a swatch filter item.""" + swatch_data: SwatchData + """The value of a filter request variable to be used in query.""" + value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") +} + +"""Describes the swatch type and a value.""" +type SwatchData { + """The type of swatch filter item: 1 - text; 2 - image.""" + type: String + """The value for the swatch item. It could be text or an image link.""" + value: String +} + +interface SwatchDataInterface { + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +type ImageSwatchData implements SwatchDataInterface { + """The URL assigned to the thumbnail of the swatch image.""" + thumbnail: String + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +type TextSwatchData implements SwatchDataInterface { + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +type ColorSwatchData implements SwatchDataInterface { + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +"""Swatch attribute metadata input types.""" +enum SwatchInputTypeEnum { + BOOLEAN + DATE + DATETIME + DROPDOWN + FILE + GALLERY + HIDDEN + IMAGE + MEDIA_IMAGE + MULTILINE + MULTISELECT + PRICE + SELECT + TEXT + TEXTAREA + UNDEFINED + VISUAL + WEIGHT +} + +enum TaxWrappingEnum { + DISPLAY_EXCLUDING_TAX + DISPLAY_INCLUDING_TAX + DISPLAY_TYPE_BOTH +} + +""" +Indicates whether the request succeeded and returns the remaining customer payment tokens. +""" +type DeletePaymentTokenOutput { + """A container for the customer's remaining payment tokens.""" + customerPaymentTokens: CustomerPaymentTokens + """Indicates whether the request succeeded.""" + result: Boolean! +} + +"""Contains payment tokens stored in the customer's vault.""" +type CustomerPaymentTokens { + """An array of payment tokens.""" + items: [PaymentToken]! +} + +"""The stored payment method available to the customer.""" +type PaymentToken { + """A description of the stored account details.""" + details: String + """The payment method code associated with the token.""" + payment_method_code: String! + """The public hash of the token.""" + public_hash: String! + """Specifies the payment token type.""" + type: PaymentTokenTypeEnum! +} + +"""The list of available payment token types.""" +enum PaymentTokenTypeEnum { + """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" + card + """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" + account +} + +"""A single FPT that can be applied to a product price.""" +type FixedProductTax { + """The amount of the Fixed Product Tax.""" + amount: Money + """The display label assigned to the Fixed Product Tax.""" + label: String +} + +"""Lists display settings for the Fixed Product Tax.""" +enum FixedProductTaxDisplaySettings { + """ + The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to 'Including FPT only'. + """ + INCLUDE_FPT_WITHOUT_DETAILS + """ + The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to 'Including FPT and FPT description'. + """ + INCLUDE_FPT_WITH_DETAILS + """ + The displayed price does not include the FPT amount. The values of `ProductPrice.fixed_product_taxes` and the price including the FPT are displayed separately. This value corresponds to 'Excluding FPT, Including FPT description and final price.' + """ + EXCLUDE_FPT_AND_INCLUDE_WITH_DETAILS + """ + The displayed price does not include the FPT amount. The values from `ProductPrice.fixed_product_taxes` are not displayed. This value corresponds to 'Excluding FPT'. + """ + EXCLUDE_FPT_WITHOUT_DETAILS + """ + The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query. + """ + FPT_DISABLED +} + +type UiAttributeTypeFixedProductTax implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Contains details about gift cards added to a requisition list.""" +type GiftCardRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """An array that defines gift card properties.""" + gift_card_options: GiftCardOptions! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +input BraintreeInput { + """ + Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway. + """ + device_data: String + """ + States whether the payment details (Credit/Debit Card, PayPal Account) entered by a customer should be tokenized for later usage. Required only if Vault is enabled for the relevant Braintree payment integration. + """ + is_active_payment_token_enabler: Boolean! + """ + The one-time payment token generated by Braintree payment gateway based on payment details (Card, PayPal). Required field to make sale transaction. + """ + payment_method_nonce: String! +} + +input BraintreeCcVaultInput { + device_data: String + public_hash: String! +} + +input BraintreeVaultInput { + device_data: String + public_hash: String! +} \ No newline at end of file diff --git a/.mesh/sources/AdobeCommerceAPI/introspectionSchema.js b/.mesh/sources/AdobeCommerceAPI/introspectionSchema.js new file mode 100644 index 00000000..3f50ef1d --- /dev/null +++ b/.mesh/sources/AdobeCommerceAPI/introspectionSchema.js @@ -0,0 +1,126338 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +// @ts-nocheck +var graphql_1 = require("graphql"); +var schemaAST = { + "kind": "Document", + "definitions": [ + { + "kind": "SchemaDefinition", + "operationTypes": [ + { + "kind": "OperationTypeDefinition", + "operation": "query", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Query" + } + } + }, + { + "kind": "OperationTypeDefinition", + "operation": "mutation", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Mutation" + } + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "Query" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributesForm" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Form code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "formCode" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributesFormOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Returns a list of attributes metadata for a given entity type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributesList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Entity type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entityType" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies which filter inputs to search for and return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributesMetadataOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return details about custom EAV attributes, and optionally, system attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributesMetadata" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity to search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entityType" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute IDs to search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributeUids" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to return matching system attributes as well.", + "block": true + }, + "name": { + "kind": "Name", + "value": "showSystemAttributes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributesMetadata" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `customAttributeMetadataV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Get a list of available store views and their config information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "availableStores" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter store views by the current store group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "useCurrentGroup" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StoreConfig" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return information about the specified shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the cart to query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a list of categories that match the specified filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies which Category filter inputs to search for and return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryResult" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Search for categories that match the criteria specified in the `search` and `filter` attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The category ID to use as the root of the search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryTree" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `categories` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return an array of categories based on the specified filters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categoryList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies which Category filter inputs to search for and return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryTree" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `categories` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return Terms and Conditions configuration information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "checkoutAgreements" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CheckoutAgreement" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return information about CMS blocks.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cmsBlocks" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of CMS block IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "identifiers" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CmsBlocks" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return details about a CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cmsPage" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The identifier of the CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "identifier" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CmsPage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return detailed information about the customer's company within the current company context.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Company" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return products that have been added to the specified compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "compareList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the compare list to be queried.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompareList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The countries query provides information for all countries.", + "block": true + }, + "name": { + "kind": "Name", + "value": "countries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Country" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The countries query provides information for a single country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Country" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return information about the store's currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currency" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Currency" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return the attribute type, given an attribute code and entity type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customAttributeMetadata" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the attribute code and entity type to search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributes" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadata" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `customAttributeMetadataV2` query instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve EAV attributes metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customAttributeMetadataV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeInput" + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributesMetadataOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return detailed information about a customer account.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return information about the customer's shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customerCart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a list of downloadable products the customer has purchased.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customerDownloadableProducts" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerDownloadableProducts" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "customerOrders" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrders" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `customer` query instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a list of customer payment tokens stored in the vault.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customerPaymentTokens" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerPaymentTokens" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a list of dynamic blocks filtered by type, location, or UIDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamicBlocks" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the filter for returning matching dynamic blocks.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DynamicBlocksFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DynamicBlocks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "getHostedProUrl" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the cart ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HostedProUrlInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HostedProUrl" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "getPayflowLinkToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the requirements to receive a payment token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowLinkTokenInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowLinkToken" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieves the payment configuration for a given location", + "block": true + }, + "name": { + "kind": "Name", + "value": "getPaymentConfig" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the origin location for that payment request", + "block": true + }, + "name": { + "kind": "Name", + "value": "location" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentLocation" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentConfigOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieves the payment details for the order", + "block": true + }, + "name": { + "kind": "Name", + "value": "getPaymentOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer cart ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Gets the payment SDK urls and values", + "block": true + }, + "name": { + "kind": "Name", + "value": "getPaymentSDK" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the origin location for that payment request", + "block": true + }, + "name": { + "kind": "Name", + "value": "location" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentLocation" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GetPaymentSDKOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieves the vault configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "getVaultConfig" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "VaultConfigOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return details about a specific gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftCardAccount" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the gift card code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardAccountInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardAccount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return the specified gift registry. Some details will not be available to guests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the registry to search for.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Search for gift registries by specifying a registrant email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryEmailSearch" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The registrant's email.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistrySearchResult" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Search for gift registries by specifying a registry URL key.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryIdSearch" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistrySearchResult" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Search for gift registries by specifying the registrant name and registry type ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryTypeSearch" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstName" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastName" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The type UID of the registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryTypeUid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistrySearchResult" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Get a list of available gift registry types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryTypes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve guest order details based on number, email and postcode.", + "block": true + }, + "name": { + "kind": "Name", + "value": "guestOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderInformationInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve guest order details based on token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "guestOrderByToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderTokenInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Check whether the specified email can be used to register a company admin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "isCompanyAdminEmailAvailable" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "IsCompanyAdminEmailAvailableOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Check whether the specified email can be used to register a new company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "isCompanyEmailAvailable" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "IsCompanyEmailAvailableOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Check whether the specified role name is valid for the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "isCompanyRoleNameAvailable" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "IsCompanyRoleNameAvailableOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Check whether the specified email can be used to register a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "isCompanyUserEmailAvailable" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "IsCompanyUserEmailAvailableOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Check whether the specified email has already been used to create a customer account.", + "block": true + }, + "name": { + "kind": "Name", + "value": "isEmailAvailable" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address to check.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "IsEmailAvailableOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve the specified negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiableQuote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve the specified negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiableQuoteTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "templateId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a list of negotiable quote templates that can be viewed by the logged-in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiableQuoteTemplates" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The filter to use to determine which negotiable quote templates to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The field to use for sorting results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplatesOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a list of negotiable quotes that can be viewed by the logged-in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiableQuotes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The filter to use to determine which negotiable quotes to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The field to use for sorting results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuotesOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The pickup locations query searches for locations that match the search request requirements.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pickupLocations" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Perform search by location using radius and search term.", + "block": true + }, + "name": { + "kind": "Name", + "value": "area" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AreaInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Apply filters by attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PickupLocationFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which attribute to sort on, and whether to return the results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PickupLocationSortInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of pickup locations to return at once. The attribute is optional.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Information about products which should be delivered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "productsInfo" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInfoInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PickupLocations" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return the active ratings attributes and the values each rating can have.", + "block": true + }, + "name": { + "kind": "Name", + "value": "productReviewRatingsMetadata" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviewRatingsMetadata" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Search for products that match the criteria specified in the `search` and `filter` attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "One or more keywords to use in a full-text search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "search" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The product attributes to search for and return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductAttributeFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which attributes to sort on, and whether to return the results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductAttributeSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Products" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Returns details about Google reCAPTCHA V3-Invisible configuration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recaptchaV3Config" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReCaptchaConfigurationV3" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return the full details for a specified product, category, or CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "route" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A `url_key` appended by the `url_suffix, if one exists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "searchTerm" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input of Search Term", + "block": true + }, + "name": { + "kind": "Name", + "value": "Search" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchTerm" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return details about the store's configuration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "storeConfig" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StoreConfig" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return the relative URL for a specified product, category or CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "urlResolver" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A `url_key` appended by the `url_suffix, if one exists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EntityUrl" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `route` query instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return the contents of a customer's wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistOutput" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Moved under `Customer.wishlist`." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "Mutation" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Accept invitation to the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "acceptCompanyInvitation" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyInvitationInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyInvitationOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update an existing negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "acceptNegotiableQuoteTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains the data to update a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AcceptNegotiableQuoteTemplateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addBundleProductsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which bundle products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddBundleProductsToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddBundleProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addConfigurableProductsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which configurable products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddConfigurableProductsToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddConfigurableProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addDownloadableProductsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which downloadable products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddDownloadableProductsToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddDownloadableProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add registrants to the specified gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addGiftRegistryRegistrants" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array registrants to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "registrants" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddGiftRegistryRegistrantInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddGiftRegistryRegistrantsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add any type of product to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addProductsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The cart ID of the shopper.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines the products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add products to the specified compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addProductsToCompareList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which products to add to an existing compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddProductsToCompareListInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompareList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add items to the specified requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addProductsToRequisitionList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products to be added to the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemsInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddProductsToRequisitionListOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add one or more products to the specified wish list. This mutation supports all product types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addProductsToWishlist" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products to add to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddProductsToWishlistOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add a comment to an existing purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addPurchaseOrderComment" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddPurchaseOrderCommentInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddPurchaseOrderCommentOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add purchase order items to the shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addPurchaseOrderItemsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddPurchaseOrderItemsToCartInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add items in the requisition list to the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addRequisitionListItemsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the requisition list will be added to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItemUids" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddRequisitionListItemsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add a comment to an existing return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addReturnComment" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines a return comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddReturnCommentInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddReturnCommentOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add tracking information to the return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addReturnTracking" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines tracking information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddReturnTrackingInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddReturnTrackingOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addSimpleProductsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which simple products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddSimpleProductsToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddSimpleProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addVirtualProductsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which virtual products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddVirtualProductsToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddVirtualProductsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add items in the specified wishlist to the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addWishlistItemsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the wish list", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of IDs representing products to be added to the cart. If no IDs are specified, all items in the wishlist will be added to the cart", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItemIds" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddWishlistItemsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Apply a pre-defined coupon code to the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applyCouponToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the coupon code to apply to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyCouponToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyCouponToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Apply a pre-defined coupon code to the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applyCouponsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the coupon code to apply to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyCouponsToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyCouponToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Apply a pre-defined gift card code to the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applyGiftCardToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the gift card code and cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyGiftCardToCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyGiftCardToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Apply all available points, up to the cart total. Partial redemption is not available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applyRewardPointsToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "cartId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyRewardPointsToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Apply store credit to the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applyStoreCreditToCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the cart ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyStoreCreditToCartInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyStoreCreditToCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Approve purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "approvePurchaseOrders" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign the specified compare list to the logged in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "assignCompareListToCustomer" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the compare list to be assigned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AssignCompareListToCustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign a logged-in customer to the specified guest shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "assignCustomerToGuestCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Cancel a negotiable quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancelNegotiableQuoteTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that cancels a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CancelNegotiableQuoteTemplateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Cancel the specified customer order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancelOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CancelOrderInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CancelOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Cancel purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancelPurchaseOrders" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Change the password for the logged-in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "changeCustomerPassword" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's original password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPassword" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's updated password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "newPassword" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove all items from the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "clearCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines cart ID of the shopper.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ClearCartInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ClearCartOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove all items from the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "clearCustomerCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The masked ID of the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ClearCustomerCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Mark a negotiable quote as closed. The negotiable quote is still visible on the storefront.", + "block": true + }, + "name": { + "kind": "Name", + "value": "closeNegotiableQuotes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that closes a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuotesInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuotesOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Confirms the email address for a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "confirmEmail" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object to identify the customer to confirm the email.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfirmEmailInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Send a 'Contact Us' email to the merchant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "contactUs" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines shopper information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContactUsInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContactUsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Copy items from one requisition list to another.", + "block": true + }, + "name": { + "kind": "Name", + "value": "copyItemsBetweenRequisitionLists" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the source requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sourceRequisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the destination requisition list. If null, a new requisition list will be created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destinationRequisitionListUid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products to copy.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItem" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CopyItemsBetweenRequisitionListsInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CopyItemsFromRequisitionListsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Copy products from one wish list to another. The original wish list is unchanged.", + "block": true + }, + "name": { + "kind": "Name", + "value": "copyProductsBetweenWishlists" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the original wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sourceWishlistUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the target wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destinationWishlistUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to copy.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemCopyInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CopyProductsBetweenWishlistsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Creates Client Token for Braintree Javascript SDK initialization.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createBraintreeClientToken" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Creates Client Token for Braintree PayPal Javascript SDK initialization.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createBraintreePayPalClientToken" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Creates Client Token for Braintree PayPal Vault Javascript SDK initialization.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createBraintreePayPalVaultClientToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeVaultInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a company at the request of either a customer or a guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCompany" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateCompanyOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a new company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCompanyRole" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRoleCreateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateCompanyRoleOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a new team for the customer's company within the current company context.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCompanyTeam" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeamCreateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateCompanyTeamOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a new company user at the request of an existing customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCompanyUser" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserCreateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateCompanyUserOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a new compare list. The compare list is saved for logged in customers.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCompareList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateCompareListInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompareList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Use `createCustomerV2` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCustomer" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the customer to be created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a billing or shipping address for a customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCustomerAddress" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a customer account.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createCustomerV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the customer to be created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerCreateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create an empty shopping cart for a guest or logged in user", + "block": true + }, + "name": { + "kind": "Name", + "value": "createEmptyCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An optional input object that assigns the specified ID to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "createEmptyCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `Mutation.createGuestCart` or `Query.customerCart` for logged in customer" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a gift registry on behalf of the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createGiftRegistry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines a new gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistry" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateGiftRegistryInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateGiftRegistryOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a new shopping cart", + "block": true + }, + "name": { + "kind": "Name", + "value": "createGuestCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateGuestCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateGuestCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Initiate a transaction and receive a token. Use this mutation for Payflow Pro and Payments Pro payment methods", + "block": true + }, + "name": { + "kind": "Name", + "value": "createPayflowProToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the requirements to fetch payment token information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowProTokenInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreatePayflowProTokenOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Creates a payment order for further payment processing", + "block": true + }, + "name": { + "kind": "Name", + "value": "createPaymentOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Contains payment order details that are used while processing the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreatePaymentOrderInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreatePaymentOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Initiate an Express Checkout transaction and receive a token. Use this mutation for Express Checkout and Payments Standard payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createPaypalExpressToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the requirements to receive a payment token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaypalExpressTokenInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaypalExpressTokenOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a product review for the specified product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createProductReview" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains the details necessary to create a product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateProductReviewInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateProductReviewOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createPurchaseOrderApprovalRule" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create an empty requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createRequisitionList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateRequisitionListInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateRequisitionListOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Creates a vault payment token", + "block": true + }, + "name": { + "kind": "Name", + "value": "createVaultCardPaymentToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Describe the variables needed to create a vault card payment token", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateVaultCardPaymentTokenInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateVaultCardPaymentTokenOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Creates a vault card setup token", + "block": true + }, + "name": { + "kind": "Name", + "value": "createVaultCardSetupToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Describe the variables needed to create a vault card setup token", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateVaultCardSetupTokenInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateVaultCardSetupTokenOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Create a new wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createWishlist" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines a new wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateWishlistInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreateWishlistOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCompanyRole" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteCompanyRoleOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCompanyTeam" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteCompanyTeamOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCompanyUser" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteCompanyUserOutput" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use deleteCompanyUserV2 instead. The current method only deactivates the user account associated with the company." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCompanyUserV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteCompanyUserOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCompareList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the compare list to be deleted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteCompareListOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete customer account", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCustomer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the billing or shipping address of a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteCustomerAddress" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the customer address to be deleted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete a negotiable quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteNegotiableQuoteTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that cancels a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteTemplateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete a negotiable quote. The negotiable quote will not be displayed on the storefront.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteNegotiableQuotes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that deletes a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuotesInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuotesOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete a customer's payment token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deletePaymentToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The reusable payment token securely stored in the vault.", + "block": true + }, + "name": { + "kind": "Name", + "value": "public_hash" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeletePaymentTokenOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete existing purchase order approval rules.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deletePurchaseOrderApprovalRule" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteRequisitionList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteRequisitionListOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete items from a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteRequisitionListItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of UIDs representing products to be removed from the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItemUids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteRequisitionListItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified wish list. You cannot delete the customer's default (first) wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "deleteWishlist" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the wish list to delete.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteWishlistOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Negotiable Quote resulting from duplication operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "duplicateNegotiableQuote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines ID of the quote to be duplicated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DuplicateNegotiableQuoteInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DuplicateNegotiableQuoteOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Estimate shipping method(s) for cart based on address", + "block": true + }, + "name": { + "kind": "Name", + "value": "estimateShippingMethods" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies details for estimation of available shipping methods", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EstimateTotalsInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AvailableShippingMethod" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Estimate totals for cart based on the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "estimateTotals" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies details for cart totals estimation", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EstimateTotalsInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EstimateTotalsOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Generate a token for specified customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "generateCustomerToken" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "password" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerToken" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Request a customer token so that an administrator can perform remote shopping assistance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "generateCustomerTokenAsAdmin" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the customer email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GenerateCustomerTokenAsAdminInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GenerateCustomerTokenAsAdminOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Generate a negotiable quote from an accept quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "generateNegotiableQuoteFromTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains the data to generate a negotiable quote from quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GenerateNegotiableQuoteFromTemplateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GenerateNegotiableQuoteFromTemplateOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Handle a payment response and save the payment in Quote. Use this mutation for Payflow Pro and Payments Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "handlePayflowProResponse" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that includes the payload returned by PayPal and the cart ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowProResponseInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowProResponseOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Transfer the contents of a guest cart into the cart of a logged-in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "mergeCarts" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The guest's cart ID before they login.", + "block": true + }, + "name": { + "kind": "Name", + "value": "source_cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The cart ID after the guest logs in.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destination_cart_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Move all items from the cart to a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "moveCartItemsToGiftRegistry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the cart containing items to be moved to a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the target gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MoveCartItemsToGiftRegistryOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Move Items from one requisition list to another.", + "block": true + }, + "name": { + "kind": "Name", + "value": "moveItemsBetweenRequisitionLists" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the source requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sourceRequisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the destination requisition list. If null, a new requisition list will be created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destinationRequisitionListUid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products to move.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItem" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MoveItemsBetweenRequisitionListsInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MoveItemsBetweenRequisitionListsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Move negotiable quote item to requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "moveLineItemToRequisitionList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the quote item and requisition list moved to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MoveLineItemToRequisitionListInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MoveLineItemToRequisitionListOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Move products from one wish list to another.", + "block": true + }, + "name": { + "kind": "Name", + "value": "moveProductsBetweenWishlists" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the original wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sourceWishlistUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the target wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destinationWishlistUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to move.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemMoveInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MoveProductsBetweenWishlistsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Open an existing negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "openNegotiableQuoteTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains the data to open a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OpenNegotiableQuoteTemplateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Convert a negotiable quote into an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "placeNegotiableQuoteOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceNegotiableQuoteOrderInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceNegotiableQuoteOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Convert the quote into an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "placeOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the shopper's cart ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Convert the purchase order into an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "placeOrderForPurchaseOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderForPurchaseOrderInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderForPurchaseOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Place a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "placePurchaseOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlacePurchaseOrderInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlacePurchaseOrderOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Redeem a gift card for store credit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redeemGiftCardBalanceAsStoreCredit" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the gift card code to redeem.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardAccountInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardAccount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Reject purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rejectPurchaseOrders" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeCouponFromCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which coupon code to remove from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveCouponFromCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveCouponFromCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeCouponsFromCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which coupon code to remove from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveCouponsFromCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveCouponFromCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Removes a gift card from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeGiftCardFromCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies which gift card code to remove from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveGiftCardFromCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveGiftCardFromCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeGiftRegistry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry to delete.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveGiftRegistryOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the specified items from a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeGiftRegistryItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of item IDs to remove from the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "itemsUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveGiftRegistryItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Removes registrants from a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeGiftRegistryRegistrants" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of registrant IDs to remove.", + "block": true + }, + "name": { + "kind": "Name", + "value": "registrantsUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveGiftRegistryRegistrantsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Delete the entire quantity of a specified item from the cart. If you remove all items from the cart, the cart continues to exist.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeItemFromCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which products to remove from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveItemFromCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveItemFromCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove one or more products from a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeNegotiableQuoteItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that removes one or more items from a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveNegotiableQuoteItemsInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveNegotiableQuoteItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove one or more products from a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeNegotiableQuoteTemplateItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that removes one or more items from a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveNegotiableQuoteTemplateItemsInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove products from the specified compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeProductsFromCompareList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which products to remove from a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveProductsFromCompareListInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompareList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove one or more products from the specified wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeProductsFromWishlist" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of item IDs representing products to be removed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItemsIds" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveProductsFromWishlistOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove a tracked shipment from a return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeReturnTracking" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that removes tracking information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveReturnTrackingInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveReturnTrackingOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Cancel the application of reward points to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeRewardPointsFromCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "cartId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveRewardPointsFromCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Remove store credit that has been applied to the specified cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "removeStoreCreditFromCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the cart ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveStoreCreditFromCartInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RemoveStoreCreditFromCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Rename negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "renameNegotiableQuote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the quote item name and comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RenameNegotiableQuoteInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RenameNegotiableQuoteOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add all products from a customer's previous order to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reorderItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "orderNumber" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReorderItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Request a new negotiable quote on behalf of the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requestNegotiableQuote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains a request to initiate a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequestNegotiableQuoteInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequestNegotiableQuoteOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Request a new negotiable quote on behalf of the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requestNegotiableQuoteTemplateFromQuote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains a request to initiate a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequestNegotiableQuoteTemplateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Request an email with a reset password token for the registered customer identified by the specified email.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requestPasswordResetEmail" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Initiates a buyer's request to return items for replacement or refund.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requestReturn" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains the fields needed to start a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequestReturnInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequestReturnOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "resetPassword" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A runtime token generated by the `requestPasswordResetEmail` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "resetPasswordToken" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's new password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "newPassword" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Revoke the customer token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "revokeCustomerToken" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RevokeCustomerTokenOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Send a message on behalf of a customer to the specified email addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sendEmailToFriend" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines sender, recipients, and product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendEmailToFriendInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendEmailToFriendOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Send the negotiable quote to the seller for review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sendNegotiableQuoteForReview" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that sends a request for the merchant to review a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendNegotiableQuoteForReviewInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendNegotiableQuoteForReviewOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Set the billing address on a specific cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setBillingAddressOnCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the billing address to be assigned to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetBillingAddressOnCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetBillingAddressOnCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Set gift options, including gift messages, gift wrapping, gift receipts, and printed cards.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setGiftOptionsOnCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the selected gift options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetGiftOptionsOnCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetGiftOptionsOnCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign the email address of a guest to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setGuestEmailOnCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines a guest email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetGuestEmailOnCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetGuestEmailOnCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add buyer's note to a negotiable quote item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setLineItemNote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the quote item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LineItemNoteInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetLineItemNoteOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign a billing address to a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setNegotiableQuoteBillingAddress" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the billing address to be assigned to a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteBillingAddressInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteBillingAddressOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Set the payment method on a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setNegotiableQuotePaymentMethod" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the payment method for the specified negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuotePaymentMethodInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuotePaymentMethodOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign a previously-defined address as the shipping address for a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setNegotiableQuoteShippingAddress" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the shipping address to be assigned to a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingAddressInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingAddressOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign the shipping methods on the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setNegotiableQuoteShippingMethods" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the shipping methods to be assigned to a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingMethodsInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingMethodsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Assign a previously-defined address as the shipping address for a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setNegotiableQuoteTemplateShippingAddress" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the shipping address to be assigned to a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteTemplateShippingAddressInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Set the cart payment method and convert the cart into an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setPaymentMethodAndPlaceOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetPaymentMethodAndPlaceOrderInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderOutput" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Should use setPaymentMethodOnCart and placeOrder mutations in single request." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Apply a payment method to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setPaymentMethodOnCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which payment method to apply to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetPaymentMethodOnCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetPaymentMethodOnCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Add buyer's note to a negotiable quote template item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setQuoteTemplateLineItemNote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the quote template item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "QuoteTemplateLineItemNoteInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Set one or more shipping addresses on a specific cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setShippingAddressesOnCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines one or more shipping addresses to be assigned to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetShippingAddressesOnCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetShippingAddressesOnCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Set one or more delivery methods on a cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "setShippingMethodsOnCart" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that applies one or more shipping methods to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetShippingMethodsOnCartInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SetShippingMethodsOnCartOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Send an email about the gift registry to a list of invitees.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shareGiftRegistry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The sender's email address and gift message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShareGiftRegistrySenderInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing invitee names and email addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "invitees" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShareGiftRegistryInviteeInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShareGiftRegistryOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Accept an existing negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "submitNegotiableQuoteTemplateForReview" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains the data to update a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SubmitNegotiableQuoteTemplateForReviewInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Subscribe the specified email to the store's newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subscribeEmailToNewsletter" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address that will receive the store's newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SubscribeEmailToNewsletterOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Synchronizes the payment order details for further payment processing", + "block": true + }, + "name": { + "kind": "Name", + "value": "syncPaymentOrder" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Describes the variables needed to synchronize the payment order details", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SyncPaymentOrderInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Modify items in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCartItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines products to be updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCartItemsInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCartItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update company information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCompany" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUpdateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCompanyOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update company role information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCompanyRole" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRoleUpdateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCompanyRoleOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Change the parent node of a company team within the current company context.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCompanyStructure" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyStructureUpdateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCompanyStructureOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update company team data.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCompanyTeam" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeamUpdateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCompanyTeamOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update an existing company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCompanyUser" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserUpdateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateCompanyUserOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Use `updateCustomerV2` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCustomer" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the customer characteristics to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update the billing or shipping address of a customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCustomerAddress" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that contains changes to the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Change the email address for the logged-in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCustomerEmail" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "password" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update the customer's personal information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateCustomerV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the customer characteristics to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerUpdateInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update the specified gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateGiftRegistry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an existing gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which fields to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistry" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update the specified items in the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateGiftRegistryItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to be updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryItemInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Modify the properties of one or more gift registry registrants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateGiftRegistryRegistrants" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of registrants to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "registrants" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryRegistrantInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryRegistrantsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Change the quantity of one or more items in an existing negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateNegotiableQuoteQuantities" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that changes the quantity of one or more items in a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteQuantitiesInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteItemsQuantityOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Change the quantity of one or more items in an existing negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateNegotiableQuoteTemplateQuantities" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that changes the quantity of one or more items in a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteTemplateQuantitiesInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteTemplateItemsQuantityOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update one or more products in the specified wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateProductsInWishlist" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to be updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemUpdateInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateProductsInWishlistOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update existing purchase order approval rules.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updatePurchaseOrderApprovalRule" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdatePurchaseOrderApprovalRuleInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Rename a requisition list and change its description.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateRequisitionList" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateRequisitionListInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateRequisitionListOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Update items in a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateRequisitionListItems" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Items to be updated in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItems" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateRequisitionListItemsInput" + } + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateRequisitionListItemsOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Change the name and visibility of the specified wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updateWishlist" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the wish list to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name assigned to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the visibility of the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "visibility" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistVisibilityEnum" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UpdateWishlistOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Validate purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "validatePurchaseOrders" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrdersInput" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrdersOutput" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the comparison operators that can be used in a filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FilterTypeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Equals.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "finset" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "From. Must be used with the `to` field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "from" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Greater than.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Greater than or equal to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gteq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "In. The value can contain a set of comma-separated values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "like" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Less than.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Less than or equal to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lteq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "More than or equal to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "moreq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Not equal to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Not in. The value can contain a set of comma-separated values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Not null.", + "block": true + }, + "name": { + "kind": "Name", + "value": "notnull" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Is null.", + "block": true + }, + "name": { + "kind": "Name", + "value": "null" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "To. Must be used with the `from` field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "to" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter that matches the input exactly.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Use this attribute to exactly match the specified string. For example, to filter on a specific category ID, specify a value such as `5`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Use this attribute to filter on an array of values. For example, to filter on category IDs 4, 5, and 6, specify a value of `[\"4\", \"5\", \"6\"]`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter that matches a range of values, such as prices or dates.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FilterRangeTypeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Use this attribute to specify the lowest possible value in the range.", + "block": true + }, + "name": { + "kind": "Name", + "value": "from" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Use this attribute to specify the highest possible value in the range.", + "block": true + }, + "name": { + "kind": "Name", + "value": "to" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter that performs a fuzzy search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Use this attribute to fuzzy match the specified string. For example, to filter on a specific SKU, specify a value such as `24-MB01`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "match" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match.", + "block": true + }, + "name": { + "kind": "Name", + "value": "match_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeEnum" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "FilterMatchTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FULL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PARTIAL" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter for an input string.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FilterStringTypeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filters items that are exactly the same as the specified string.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filters items that are exactly the same as entries specified in an array of strings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter that performs a fuzzy search using the specified string.", + "block": true + }, + "name": { + "kind": "Name", + "value": "match" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Provides navigation for the query response.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The specific page to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "current_page" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of items to return per page of results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_size" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of pages in the response.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_pages" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to return results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SortEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ASC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DESC" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Text that can contain HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "html" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a monetary value, including a numeric value and a currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Money" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A three-letter currency code, such as USD or EUR.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currency" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CurrencyEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number expressing a monetary value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The list of available currency codes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CurrencyEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AFN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ALL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AZN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DZD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AOA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ARS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AMD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AWG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AUD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BSD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BHD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BDT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BBD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BYN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BZD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BMD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BTN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BOB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BAM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BWP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BRL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GBP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BGN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BUK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BIF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KHR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CAD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CZK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KYD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GQE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CLP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CNY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "COP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KMF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CDF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CRC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HRK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DKK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DJF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DOP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "XCD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "EGP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SVC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ERN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "EEK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ETB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "EUR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FKP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FJD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GMD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GEK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GEL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GHS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GIP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GTQ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GNF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GYD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HTG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HNL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HKD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HUF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ISK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IDR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IRR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IQD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ILS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "JMD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "JPY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "JOD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KZT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KES" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KWD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KGS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LAK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LVL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LBP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LSL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LRD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LYD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LTL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MOP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MKD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MGA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MWK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MYR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MVR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LSM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MRO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MUR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MXN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MDL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MAD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MZN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MMK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NAD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NPR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ANG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "YTL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NZD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NIC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NGN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KPW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OMR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PKR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PAB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PGK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PYG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PEN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PHP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PLN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "QAR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RHD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RON" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RUB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RWF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SHP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "STD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SAR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RSD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SCR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SLL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SGD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SKK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SBD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SOS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ZAR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "KRW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LKR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SDG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SRD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SZL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SEK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CHF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SYP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TWD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TJS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TZS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "THB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TOP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TTD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TMM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "USD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UGX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UAH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UYU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UZS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VUV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VEB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VEF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CHE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CHW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "XOF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WST" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "YER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ZMK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ZWD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TRY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AZM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ROL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TRL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "XPF" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a customer-entered option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Text the customer entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "BatchMutationStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SUCCESS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FAILURE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MIXED_RESULTS" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "ErrorInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The returned error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an error message when an invalid UID was specified.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NoSuchEntityUidError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The returned error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The specified invalid unique ID of an object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ErrorInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an error message when an internal error occurred.", + "block": true + }, + "name": { + "kind": "Name", + "value": "InternalError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The returned error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ErrorInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an array of custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomAttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Attribute" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the attribute, including the code and type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Attribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute options list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The data type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the storefront properties configured for the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "storefront_properties" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StorefrontProperties" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates where an attribute can be displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "StorefrontProperties" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative position of the attribute in the layered navigation block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute is filterable with results, without results, or not at all.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_in_layered_navigation" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UseInLayeredNavigationOptions" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute is displayed in product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_in_product_listing" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute can be used in layered navigation on search results pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_in_search_results_layered_navigation" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute is displayed on product pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "visible_on_catalog_pages" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines whether the attribute is filterable in layered navigation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UseInLayeredNavigationOptions" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FILTERABLE_WITH_RESULTS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FILTERABLE_NO_RESULT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if option is set to be used as default value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute option value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the attribute characteristics to search for the `attribute_code` and `entity_type` to search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata of EAV attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributesMetadataOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Errors of retrieving certain attributes metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Requested attributes metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute metadata retrieval error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeMetadataError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute metadata retrieval error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute metadata retrieval error type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataErrorType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute metadata retrieval error types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeMetadataErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The requested entity was not found.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ENTITY_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The requested attribute was not found.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ATTRIBUTE_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The filter cannot be applied as it does not belong to the entity", + "block": true + }, + "name": { + "kind": "Name", + "value": "FILTER_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Not categorized error, see the error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An interface containing fields that define the EAV attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Default attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend class of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_class" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFrontendInputEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value must be unique.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_unique" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + } + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Is the option value default.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute option value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Base EAV implementation of CustomAttributeOptionInterface.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeOptionMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Is the option value default.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute option value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Base EAV implementation of CustomAttributeMetadataInterface.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Default attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend class of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_class" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFrontendInputEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value must be unique.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_unique" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "List of all entity types. Populated by the modules introducing EAV entities.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CATALOG_PRODUCT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CATALOG_CATEGORY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER_ADDRESS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RMA_ITEM" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "EAV attribute frontend input types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeFrontendInputEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BOOLEAN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATETIME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FILE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GALLERY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HIDDEN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IMAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MEDIA_IMAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MULTILINE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MULTISELECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SELECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXTAREA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEIGHT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata of EAV attributes associated to form", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributesFormOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Errors of retrieving certain attributes metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Requested attributes metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "AttributeValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "AttributeSelectedOptions" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "selected_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeSelectedOptionInterface" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "AttributeSelectedOptionInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute selected option label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute selected option value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "AttributeSelectedOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute selected option label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute selected option value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeSelectedOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the value for attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeValueInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The code of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing selected options for a select or multiselect attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeInputSelectedOption" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The value assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies selected option for a select or multiselect attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeInputSelectedOption" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute option value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the filters used for attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be compared against another or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_comparable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be filtered or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_filterable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be filtered in search or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_filterable_in_search" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can use HTML on front or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed_on_front" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be searched or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_searchable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a customer or customer address attribute is used for customer segment or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_used_for_customer_segment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be used for price rules or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_used_for_price_rules" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is used for promo rules or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_used_for_promo_rules" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is visible in advanced search or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible_in_advanced_search" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is visible on front or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible_on_front" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute has WYSIWYG enabled or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_wysiwyg_enabled" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is used in product listing or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "used_in_product_listing" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a store's configuration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "StoreConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains scripts that must be included in the HTML before the closing `` tag.", + "block": true + }, + "name": { + "kind": "Name", + "value": "absolute_footer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if the gift sender has the option to send a gift receipt. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_gift_receipt" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether gift wrapping can be added for the entire order. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_gift_wrapping_on_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether gift wrapping can be added for individual order items. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_gift_wrapping_on_order_items" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether guest users can write product reviews. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_guests_to_write_product_reviews" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the Allow Gift Messages for Order Items option", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_items" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the Allow Gift Messages on Order Level option", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if a printed card can accompany an order. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_printed_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to enable autocomplete on login and forgot password forms.", + "block": true + }, + "name": { + "kind": "Name", + "value": "autocomplete_on_storefront" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The base currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_currency_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A fully-qualified URL that is used to create relative links to the `base_url`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_link_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The fully-qualified URL that specifies the location of media files.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_media_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The fully-qualified URL that specifies the location of static view files.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_static_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The store’s fully-qualified base URL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree 3D Secure, should 3D Secure be used for specific countries.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_3dsecure_allowspecific" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree 3D Secure, always request 3D Secure flag.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_3dsecure_always_request_3ds" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree 3D Secure, the specific countries to use 3D Secure in, to be used if allow specific is status is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_3dsecure_specificcountry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree 3D Secure, threshold above which 3D Secure should be requested.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_3dsecure_threshold_amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree 3D Secure enabled/active status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_3dsecure_verify_3dsecure" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree ACH vault status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_ach_direct_debit_vault_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Apple Pay merchant name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_applepay_merchant_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Apple Pay vault status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_applepay_vault_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree cc vault status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_cc_vault_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree cc vault CVV re-verification enabled status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_cc_vault_cvv" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree environment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_environment" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Google Pay button color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_googlepay_btn_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Google Pay Card types supported.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_googlepay_cctypes" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Google Pay merchant ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_googlepay_merchant_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Google Pay vault status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_googlepay_vault_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Local Payment Methods allowed payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_local_payment_allowed_methods" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Local Payment Methods fallback button text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_local_payment_fallback_button_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Local Payment Methods redirect URL on failed payment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_local_payment_redirect_on_fail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree Merchant Account ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_merchant_account_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit mini-cart & cart button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_credit_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit mini-cart & cart button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_credit_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit mini-cart & cart button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_credit_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit mini-cart & cart button show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_credit_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging mini-cart & cart style layout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_messaging_layout" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging mini-cart & cart style logo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_messaging_logo" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging mini-cart & cart style logo position.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_messaging_logo_position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging mini-cart & cart show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_messaging_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging checkout style text color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_messaging_text_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later mini-cart & cart button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paylater_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later mini-cart & cart button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paylater_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later mini-cart & cart button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paylater_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later mini-cart & cart button show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paylater_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal mini-cart & cart button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paypal_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal mini-cart & cart button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paypal_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal mini-cart & cart button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paypal_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal mini-cart & cart button show.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_cart_type_paypal_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit checkout button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_credit_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit checkout button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_credit_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit checkout button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_credit_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit checkout button show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_credit_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging checkout style layout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_messaging_layout" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging checkout style logo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_messaging_logo" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging checkout style logo position.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_messaging_logo_position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging checkout show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_messaging_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging checkout style text color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_messaging_text_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later checkout button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paylater_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later checkout button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paylater_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later checkout button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paylater_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later checkout button show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paylater_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal checkout button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paypal_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal checkout button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paypal_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal checkout button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paypal_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal checkout button show.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_checkout_type_paypal_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit PDP button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_credit_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit PDP button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_credit_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit PDP button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_credit_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit PDP button show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_credit_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging PDP style layout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_messaging_layout" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging PDP style logo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_messaging_logo" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging PDP style logo position.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_messaging_logo_position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging PDP show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_messaging_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later messaging PDP style text color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_messaging_text_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later PDP button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paylater_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later PDP button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paylater_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later PDP button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paylater_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Pay Later PDP button show status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paylater_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal PDP button style color.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paypal_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal PDP button style label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paypal_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal PDP button style shape.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paypal_shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal PDP button show.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_button_location_productpage_type_paypal_show" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal Credit Merchant Name on the FCA Register.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_credit_uk_merchant_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Should display Braintree PayPal in mini-cart & cart?", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_display_on_shopping_cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal merchant's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_merchant_country" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal override for Merchant Name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_merchant_name_override" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Does Braintree PayPal require the customer's billing address?", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_require_billing_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Does Braintree PayPal require the order line items?", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_send_cart_line_items" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Braintree PayPal vault status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "braintree_paypal_vault_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/cart/delete_quote_after", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_expires_in_days" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if gift wrapping prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_printed_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/cart_link/use_qty", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_summary_display_quantity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default sort order of the search results list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "catalog_default_sort_by" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Corresponds to the 'Display Prices In Product Lists' field in the Admin. It indicates how FPT information is displayed on category pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_fixed_product_tax_display_setting" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FixedProductTaxDisplaySettings" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The suffix applied to category pages, such as `.htm` or `.html`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether only specific countries can use this payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_enable_for_specific_countries" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the Check/Money Order payment method is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the party to whom the check must be payable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_make_check_payable_to" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum order amount required to qualify for the Check/Money Order payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_max_order_total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum order amount required to qualify for the Check/Money Order payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_min_order_total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of new orders placed using the Check/Money Order payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_new_order_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of specific countries allowed to use the Check/Money Order payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_payment_from_specific_countries" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full street address or PO Box where the checks are mailed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_send_check_to" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number indicating the position of the Check/Money Order payment method in the list of available payment methods during checkout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title of the Check/Money Order payment method displayed on the storefront.", + "block": true + }, + "name": { + "kind": "Name", + "value": "check_money_order_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the CMS page that identifies the home page for the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cms_home_page" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A specific CMS page that displays when cookies are not enabled for the browser.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cms_no_cookies" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A specific CMS page that displays when a 404 'Page Not Found' error occurs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cms_no_route" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A code assigned to the store to identify it.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `store_code` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_thumbnail_source" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the Contact Us form in enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "contact_enabled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The copyright statement that appears at the bottom of each page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "copyright" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - general/region/state_required", + "block": true + }, + "name": { + "kind": "Name", + "value": "countries_with_required_region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if the new accounts need confirmation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "create_account_confirmation" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Customer access token lifetime.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_access_token_lifetime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - general/country/default", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_country" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description that provides a summary of your site for search engine listings. It should not be more than 160 characters in length.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default display currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_display_currency_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A series of keywords that describe your store, each separated by a comma.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_keywords" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title that appears at the title bar of each page when viewed in a browser.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Controls the display of the demo store notice at the top of the page. Options: 0 (No) or 1 (Yes).", + "block": true + }, + "name": { + "kind": "Name", + "value": "demonotice" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - general/region/display_all", + "block": true + }, + "name": { + "kind": "Name", + "value": "display_state_if_optional" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether customers can have multiple wish lists. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "enable_multiple_wishlists" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The landing page that is associated with the base URL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "front" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default number of products per page in Grid View.", + "block": true + }, + "name": { + "kind": "Name", + "value": "grid_per_page" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of numbers that define how many products can be displayed in Grid View.", + "block": true + }, + "name": { + "kind": "Name", + "value": "grid_per_page_values" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Scripts that must be included in the HTML before the closing `` tag.", + "block": true + }, + "name": { + "kind": "Name", + "value": "head_includes" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The small graphic image (favicon) that appears in the address bar and tab of the browser.", + "block": true + }, + "name": { + "kind": "Name", + "value": "head_shortcut_icon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The path to the logo that appears in the header.", + "block": true + }, + "name": { + "kind": "Name", + "value": "header_logo_src" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `store_code` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the store view has been designated as the default within the store group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default_store" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the store group has been designated as the default within the website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default_store_group" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/options/guest_checkout", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_guest_checkout_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether negotiable quote functionality is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_negotiable_quote_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/options/onepage_checkout_enabled", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_one_page_checkout_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether requisition lists are enabled. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_requisition_list_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The format of the search results list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "list_mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default number of products per page in List View.", + "block": true + }, + "name": { + "kind": "Name", + "value": "list_per_page" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of numbers that define how many products can be displayed in List View.", + "block": true + }, + "name": { + "kind": "Name", + "value": "list_per_page_values" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The store locale.", + "block": true + }, + "name": { + "kind": "Name", + "value": "locale" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Alt text that is associated with the logo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "logo_alt" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The height of the logo image, in pixels.", + "block": true + }, + "name": { + "kind": "Name", + "value": "logo_height" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The width of the logo image, in pixels.", + "block": true + }, + "name": { + "kind": "Name", + "value": "logo_width" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether reward points functionality is enabled. Possible values: 1 (Enabled) and 0 (Disabled).", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_general_is_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether reward points functionality is enabled on the storefront. Possible values: 1 (Enabled) and 0 (Disabled).", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_general_is_enabled_on_front" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum point balance customers must have before they can redeem them. A null value indicates no minimum.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_general_min_points_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "When enabled, customers can see a detailed history of their reward points. Possible values: 1 (Enabled) and 0 (Disabled).", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_general_publish_history" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points for a referral when an invitee registers on the site.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_invitation_customer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of registration referrals that will qualify for rewards. A null value indicates no limit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_invitation_customer_limit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points for a referral, when an invitee places their first order on the site.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_invitation_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of order conversions that can earn points for the customer who sends the invitation. A null value indicates no limit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_invitation_order_limit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points earned by registered customers who subscribe to a newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_newsletter" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates customers earn points for shopping according to the reward point exchange rate. In Luma, this also controls whether to show a message in the shopping cart about the rewards points earned for the purchase, as well as the customer’s current reward point balance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points customer gets for registering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_register" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points for writing a review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_review" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of reviews that will qualify for the rewards. A null value indicates no limit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_reward_points_review_limit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether wishlists are enabled (1) or disabled (0).", + "block": true + }, + "name": { + "kind": "Name", + "value": "magento_wishlist_general_is_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/options/max_items_display_count", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_items_in_order_summary" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If multiple wish lists are enabled, the maximum number of wish lists the customer can have.", + "block": true + }, + "name": { + "kind": "Name", + "value": "maximum_number_of_wishlists" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/sidebar/display", + "block": true + }, + "name": { + "kind": "Name", + "value": "minicart_display" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - checkout/sidebar/count", + "block": true + }, + "name": { + "kind": "Name", + "value": "minicart_max_items" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum number of characters required for a valid password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "minimum_password_length" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether newsletters are enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "newsletter_enabled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default page that displays when a 404 'Page not Found' error occurs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "no_route" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - general/country/optional_zip_countries", + "block": true + }, + "name": { + "kind": "Name", + "value": "optional_zip_countries" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether orders can be cancelled by customers or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_cancellation_enabled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing available cancellation reasons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_cancellation_reasons" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CancellationReason" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Payflow Pro vault status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_payflowpro_cc_vault_active" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default price of a printed card that accompanies an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "printed_card_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Corresponds to the 'Display Prices On Product View Page' field in the Admin. It indicates how FPT information is displayed on product pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_fixed_product_tax_display_setting" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FixedProductTaxDisplaySettings" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether product reviews are enabled. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_reviews_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The suffix applied to product pages, such as `.htm` or `.html`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether quick order functionality is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quickorder_active" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of different character classes (lowercase, uppercase, digits, special characters) required in a password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required_character_classes_number" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether RMA is enabled on the storefront. Possible values: enabled/disabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "returns_enabled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the root category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "root_category_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `root_category_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "root_category_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Corresponds to the 'Display Prices In Sales Modules' field in the Admin. It indicates how FPT information is displayed on cart, checkout, and order pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sales_fixed_product_tax_display_setting" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FixedProductTaxDisplaySettings" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if gift wrapping prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "sales_gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if printed card prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No).", + "block": true + }, + "name": { + "kind": "Name", + "value": "sales_printed_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A secure fully-qualified URL that is used to create relative links to the `base_url`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_base_link_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The secure fully-qualified URL that specifies the location of media files.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_base_media_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The secure fully-qualified URL that specifies the location of static view files.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_base_static_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The store’s fully-qualified secure base URL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_base_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Email to a Friend configuration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "send_friend" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendFriendConfiguration" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/full_summary", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_full_summary" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/grandtotal", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_grand_total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/price", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/shipping", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_shipping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/subtotal", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_subtotal" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/gift_wrapping", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_tax_gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TaxWrappingEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Extended Config Data - tax/cart_display/zero_tax", + "block": true + }, + "name": { + "kind": "Name", + "value": "shopping_cart_display_zero_tax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes).", + "block": true + }, + "name": { + "kind": "Name", + "value": "show_cms_breadcrumbs" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID assigned to the store group. In the Admin, this is called the Store Name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_group_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the store group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_group_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the store view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The store view sort order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The time zone of the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "timezone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A prefix that appears before the title to create a two- or three-part title.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title_prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The character that separates the category name and subcategory in the browser title bar.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title_separator" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A suffix that appears after the title to create a two- or three-part title.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the store code should be used in the URL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_store_in_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for the website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the website store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unit of weight.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight_unit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Text that appears in the header of the page and includes the name of the logged in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "welcome" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether only specific countries can use this payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_enable_for_specific_countries" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the Zero Subtotal payment method is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of new orders placed using the Zero Subtotal payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_new_order_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "When the new order status is 'Processing', this can be set to `authorize_capture` to automatically invoice all items that have a zero balance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_payment_action" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of specific countries allowed to use the Zero Subtotal payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_payment_from_specific_countries" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number indicating the position of the Zero Subtotal payment method in the list of available payment methods during checkout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title of the Zero Subtotal payment method displayed on the storefront.", + "block": true + }, + "name": { + "kind": "Name", + "value": "zero_subtotal_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CmsPage" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The content of the CMS page in raw HTML.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The heading that displays at the top of the CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content_heading" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a CMS page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "identifier" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief description of the page for search results listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief description of the page for search results listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keywords" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A page title that is indexed by search engines and appears in search results listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The design layout of the page, indicating the number of columns and navigation features used on the page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_layout" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name that appears in the breadcrumb trail navigation and in the browser title bar and tab.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL key of the CMS page, which is often based on the `content_heading`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array CMS block items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CmsBlocks" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of CMS blocks.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CmsBlock" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a specific CMS block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CmsBlock" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The content of the CMS block in raw HTML.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The CMS block identifier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "identifier" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title assigned to the CMS block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. It should not be used on the storefront. Contains information about a website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Website" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A code assigned to the website to identify it.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default group ID of the website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_group_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether this is the default website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The website name. Websites use this name to identify it easier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute to use for sorting websites.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of custom and system attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributesMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataInterface" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An interface containing fields that define attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeMetadataInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute labels defined for the current store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_labels" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StoreLabels" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The data type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ObjectDataTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute is a system attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_system" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative position of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Frontend UI properties of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines frontend UI properties of an attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeOptionsInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines selectable input types of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectableInputTypeInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates if option is set to be used as default value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "AttributeOptions" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionsInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeSelect" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionsInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectableInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeMultiSelect" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionsInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectableInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeBoolean" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionsInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectableInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeAny" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeTextarea" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeTextEditor" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the store code and label of an attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "StoreLabels" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The assigned store code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ObjectDataTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "STRING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FLOAT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BOOLEAN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "COMPLEX" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BOOLEAN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATETIME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GALLERY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IMAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MEDIA_IMAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MULTISELECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SELECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXTAREA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXTEDITOR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEIGHT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PAGEBUILDER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FIXED_PRODUCT_TAX" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains custom attribute value and metadata details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute metadata details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_metadata" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute value represented as entered data using input type like text field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_attribute_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredAttributeValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute value represented as selected options using input type like select.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_attribute_options" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedAttributeOption" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "SelectedAttributeOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected attribute option details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_option" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeOptionInterface" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "EnteredAttributeValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains fields that are common to all types of products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "This enumeration states whether a product stock status is in stock or out of stock", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductStockStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IN_STOCK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OUT_OF_STOCK" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `ProductPrice` instead. Defines the price of a product as well as any tax-related adjustments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Price" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that provides information about tax, weee, or weee_tax adjustments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "adjustments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceAdjustment" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `ProductPrice` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of a product plus a three-letter currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `ProductPrice` instead." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceAdjustment" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the price adjustment and its currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the adjustment involves tax, weee, or weee_tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceAdjustmentCodesEnum" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`PriceAdjustment` is deprecated." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the entity described by the code attribute is included or excluded from the adjustment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceAdjustmentDescriptionEnum" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`PriceAdjustment` is deprecated." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "`PriceAdjustment.code` is deprecated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceAdjustmentCodesEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TAX" + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`PriceAdjustmentCodesEnum` is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog." + } + } + ] + } + ] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEEE" + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "WEEE code is deprecated. Use `fixed_product_taxes.label` instead." + } + } + ] + } + ] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEEE_TAX" + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `fixed_product_taxes` instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog." + } + } + ] + } + ] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "`PriceAdjustmentDescriptionEnum` is deprecated. States whether a price adjustment is included or excluded.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceAdjustmentDescriptionEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INCLUDED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "EXCLUDED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FIXED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PERCENT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DYNAMIC" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the customizable date type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableDateTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE_TIME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TIME" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `PriceRange` instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductPrices" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `to` value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "maximalPrice" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Price" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `PriceRange.maximum_price` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `from` value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "minimalPrice" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Price" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `PriceRange.minimum_price` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The base price of a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "regularPrice" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Price" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `regular_price` from `PriceRange.minimum_price` or `PriceRange.maximum_price` instead." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceRange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The highest possible price for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "maximum_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrice" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The lowest possible price for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "minimum_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrice" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Represents a product price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductPrice" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price discount. Represents the difference between the regular and final price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductDiscount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final price of the product after applying discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "final_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of the multiple Fixed Product Taxes that can be applied to a product price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fixed_product_taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FixedProductTax" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The regular price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "regular_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the discount applied to a product price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductDiscount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The actual value of the discount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount_off" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discount expressed a percentage.", + "block": true + }, + "name": { + "kind": "Name", + "value": "percent_off" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation of `ProductLinksInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductLinks" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of related, associated, upsell, or crosssell.", + "block": true + }, + "name": { + "kind": "Name", + "value": "link_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the linked product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "linked_product_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable).", + "block": true + }, + "name": { + "kind": "Name", + "value": "linked_product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position within the list of product links.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The identifier of the linked product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about linked products, including the link type and product type of each item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of related, associated, upsell, or crosssell.", + "block": true + }, + "name": { + "kind": "Name", + "value": "link_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the linked product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "linked_product_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable).", + "block": true + }, + "name": { + "kind": "Name", + "value": "linked_product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position within the list of product links.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The identifier of the linked product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains attributes specific to tangible products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PhysicalProductInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a text area that is defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableAreaOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that defines a text area.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableAreaValue" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized text area.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableAreaValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of characters that can be entered for this customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_characters" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableAreaValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the hierarchy of categories.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CategoryTree" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "automatic_sorting" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "available_sort_by" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of breadcrumb items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "breadcrumbs" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Breadcrumb" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A tree of child categories.", + "block": true + }, + "name": { + "kind": "Name", + "value": "children" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryTree" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "children_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a category CMS block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cms_block" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CmsBlock" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the category was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "custom_layout_update_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute to use for sorting.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_sort_by" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An optional description of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "display_mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "filter_price_range" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An ID that uniquely identifies the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "include_in_menu" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "is_anchor" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "landing_page" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The depth of the category within the tree.", + "block": true + }, + "name": { + "kind": "Name", + "value": "level" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "meta_keywords" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full category path.", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The category path within the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "path_in_store" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position of the category relative to other categories at the same level in tree.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The attributes to sort on, and whether to return the results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductAttributeSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryProducts" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the category is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the category was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL key assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL path assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the category URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a collection of `CategoryTree` objects and pagination information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CategoryResult" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of categories that match the filter criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryTree" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that includes the `page_info` and `currentPage` values specified in the query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of categories that match the criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a date picker that is defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableDateOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that defines a date field in a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableDateValue" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized date picker.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableDateValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "DATE, DATE_TIME or TIME", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableDateTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableDateValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a drop down menu that is defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableDropDownOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines the set of options for a drop down menu.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableDropDownValue" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized drop down menu.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableDropDownValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableDropDownValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a multiselect that is defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableMultipleOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines the set of options for a multiselect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableMultipleValue" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized multiselect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableMultipleValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableMultipleValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a text field that is defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableFieldOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that defines a text field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableFieldValue" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized text field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableFieldValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of characters that can be entered for this customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_characters" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the custom value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableFieldValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a file picker that is defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableFileOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that defines a file value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableFileValue" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized file picker.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableFileValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file extension to accept.", + "block": true + }, + "name": { + "kind": "Name", + "value": "file_extension" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum width of an image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image_size_x" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum height of an image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image_size_y" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableFileValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains basic information about a product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the image is hidden from view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "disabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The media item's position after it has been sorted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL of the product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains product image information, including the image URL and label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductImage" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the image is hidden from view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "disabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The media item's position after it has been sorted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL of the product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a product video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductVideo" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the image is hidden from view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "disabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The media item's position after it has been sorted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL of the product image or video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a `ProductMediaGalleryEntriesVideoContent` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_content" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductMediaGalleryEntriesVideoContent" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains basic information about a customizable option. It can be implemented by several types of configurable options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about customizable product options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the full set of attributes that can be returned in a category search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CategoryInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "automatic_sorting" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "available_sort_by" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of breadcrumb items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "breadcrumbs" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Breadcrumb" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "children_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a category CMS block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cms_block" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CmsBlock" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the category was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "custom_layout_update_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute to use for sorting.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_sort_by" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An optional description of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "display_mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "filter_price_range" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An ID that uniquely identifies the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "include_in_menu" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "is_anchor" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "landing_page" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The depth of the category within the tree.", + "block": true + }, + "name": { + "kind": "Name", + "value": "level" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "meta_keywords" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full category path.", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The category path within the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "path_in_store" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position of the category relative to other categories at the same level in tree.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The attributes to sort on, and whether to return the results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductAttributeSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryProducts" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the category is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the category was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL key assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL path assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the category URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about an individual category that comprises a breadcrumb.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Breadcrumb" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `category_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The category level.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_level" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Breadcrumb` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL key of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL path of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a set of radio buttons that are defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableRadioOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines a set of radio buttons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableRadioValue" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized set of radio buttons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableRadioValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the radio button is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableRadioValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about a set of checkbox values that are defined as part of a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableCheckboxOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Option ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the option is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines a set of checkbox values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableCheckboxValue" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the price and sku of a product whose page contains a customized set of checkbox values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableCheckboxValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price assigned to this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The Stock Keeping Unit for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which the checkbox value is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomizableCheckboxValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a virtual product, which is a non-tangible product that does not require shipping and is not kept in inventory.", + "block": true + }, + "name": { + "kind": "Name", + "value": "VirtualProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a simple product, which is tangible and is usually sold in single units or in fixed quantities.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SimpleProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PhysicalProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a `products` query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Products" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A bucket that contains the attribute code and label for each filterable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "aggregations" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AggregationsFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Aggregation" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Layered navigation filters array.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filters" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LayerFilter" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `aggregations` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products that match the specified search criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that includes the page_info and currentPage values specified in the query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that includes the default sort field and all available sort fields.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_fields" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortFields" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of search suggestions for case when search query have no results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suggestions" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchSuggestion" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of products that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that specifies the filters used in product aggregations.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AggregationsFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter category aggregations in layered navigation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AggregationsCategoryFilterInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Filter category aggregations in layered navigation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AggregationsCategoryFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to include only direct subcategories or all children categories at all levels.", + "block": true + }, + "name": { + "kind": "Name", + "value": "includeDirectChildrenOnly" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the products assigned to a category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CategoryProducts" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products that are assigned to the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductAttributeFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Brand", + "block": true + }, + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Gemstone Addon", + "block": true + }, + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Recyclable Material", + "block": true + }, + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: use `category_uid` to filter product by category ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter product by the unique ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter product by category URL path.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_url_path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Color", + "block": true + }, + "name": { + "kind": "Name", + "value": "color" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Description", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Color", + "block": true + }, + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Material", + "block": true + }, + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Style", + "block": true + }, + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Format", + "block": true + }, + "name": { + "kind": "Name", + "value": "format" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Has Video", + "block": true + }, + "name": { + "kind": "Name", + "value": "has_video" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Product Name", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Price", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterRangeTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Short Description", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: SKU", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CategoryFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the unique category ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: use 'category_uid' to filter uniquely identifiers of categories.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ids" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the display name of the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the unique parent category ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_category_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the unique parent category ID for a `CategoryInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the part of the URL that identifies the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the URL path for the category.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The category ID the product belongs to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "category_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of a custom layout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_layout" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "XML code that is applied as a layout update to the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_layout_update" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether additional attributes have been created for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "has_options" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to a product image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image_label" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The numeric maximal price of the product. Do not include the currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The numeric minimal price of the product. Do not include the currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "news_from_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "news_to_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The keyword required to perform a logical OR comparison.", + "block": true + }, + "name": { + "kind": "Name", + "value": "or" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product has required options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required_options" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to a product's small image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image_label" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product. Do not include the currency code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The end date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to a product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail_label" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an image in base64 format and basic information about the image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductMediaGalleryEntriesContent" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The image in base64 format.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base64_encoded_data" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of the image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The MIME type of the file, such as image/png.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a link to a video file and basic information about the video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductMediaGalleryEntriesVideoContent" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Must be external-video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A description of the video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Optional data about the video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_metadata" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Describes the video source.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_provider" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title of the video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL to the video.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `ProductAttributeSortInput` instead. Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of a custom layout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_layout" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "XML code that is applied as a layout update to the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_layout_update" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether additional attributes have been created for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "has_options" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to a product image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image_label" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "news_from_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "news_to_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product has required options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required_options" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to a product's small image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image_label" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The end date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the criteria to sort swatches.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to a product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail_label" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductAttributeSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Brand", + "block": true + }, + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Product Name", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sort by the position assigned to each product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute label: Price", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sort by the search relevance score (default).", + "block": true + }, + "name": { + "kind": "Name", + "value": "relevance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines characteristics about images and videos associated with a specific product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the content of the media gallery item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductMediaGalleryEntriesContent" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the image is hidden from view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "disabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The path of the image on the server.", + "block": true + }, + "name": { + "kind": "Name", + "value": "file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The identifier assigned to the object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The alt text displayed on the storefront when the user points to the image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Either `image` or `video`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The media item's position after it has been sorted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Array of image types. It can have the following values: image, small_image, thumbnail.", + "block": true + }, + "name": { + "kind": "Name", + "value": "types" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `MediaGalleryEntry` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the content of a video item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "video_content" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductMediaGalleryEntriesVideoContent" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information for rendering layered navigation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "LayerFilter" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of filter items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter_items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LayerFilterItemInterface" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `Aggregation.options` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The count of filter items in filter group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter_items_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `Aggregation.count` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of a layered navigation filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `Aggregation.label` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The request variable name for a filter query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "request_var" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `Aggregation.attribute_code` instead." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "LayerFilterItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The count of items per filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.count` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for a filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.label` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of a filter request variable to be used in query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_string" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.value` instead." + } + } + ] + } + ] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "LayerFilterItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The count of items per filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.count` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for a filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.label` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of a filter request variable to be used in query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_string" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.value` instead." + } + } + ] + } + ] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LayerFilterItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information for each filterable option (such as price, category `UID`, and custom attributes).", + "block": true + }, + "name": { + "kind": "Name", + "value": "Aggregation" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute code of the aggregation group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of options in the aggregation group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The aggregation display name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Array of options for the aggregation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AggregationOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative position of the attribute in a layered navigation block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A string that contains search suggestion", + "block": true + }, + "name": { + "kind": "Name", + "value": "SearchSuggestion" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The search suggestion of existing product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "search" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines aggregation option fields.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AggregationOptionInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items that match the aggregation option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display label for an aggregation option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID that represents the value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation of `AggregationOptionInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AggregationOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items that match the aggregation option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display label for an aggregation option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID that represents the value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AggregationOptionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a possible sort field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SortField" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the sort field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute code of the sort field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a default value for sort fields and all available sort fields.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SortFields" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The default sort field value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of possible sort fields.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortField" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a simple product wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SimpleWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a virtual product wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "VirtualWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Swatch attribute metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CatalogAttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "To which catalog types an attribute can be applied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "apply_to" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CatalogAttributeApplyToEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Default attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend class of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_class" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFrontendInputEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be compared against another or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_comparable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be filtered or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_filterable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be filtered in search or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_filterable_in_search" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can use HTML on front or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed_on_front" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be searched or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_searchable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value must be unique.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_unique" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute can be used for price rules or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_used_for_price_rules" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is used for promo rules or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_used_for_promo_rules" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is visible in advanced search or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible_in_advanced_search" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is visible on front or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible_on_front" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute has WYSIWYG enabled or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_wysiwyg_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Input type of the swatch attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchInputTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether update product preview image or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "update_product_preview_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether use product image for swatch or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_product_image_for_swatch" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether a product or category attribute is used in product listing or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "used_in_product_listing" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CatalogAttributeApplyToEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SIMPLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VIRTUAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BUNDLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DOWNLOADABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CONFIGURABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GROUPED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CATEGORY" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Errors when retrieving custom attributes metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Requested custom attributes", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the `uid`, `relative_url`, and `type` attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EntityUrl" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `relative_url` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `entity_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirectCode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "This enumeration defines the entity type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CMS_PAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CATEGORY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PWA_404" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains URL rewrite details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UrlRewrite" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of request parameters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parameters" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HttpQueryParameter" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The request URL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains target path parameters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "HttpQueryParameter" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A parameter name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A parameter value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Default implementation of RoutableInterface. This type is returned when the URL is not linked to an entity.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RoutableUrl" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Routable entities serve as the model for a rendered page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RoutableInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CreateGuestCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Optional client-generated ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Assigns a specific `cart_id` to the empty cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "createEmptyCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID to assign to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the simple and group products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddSimpleProductsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of simple and group items to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SimpleProductCartItemInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a single product to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SimpleProductCartItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines customizable options for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the `sku`, `quantity`, and other relevant information about the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the virtual products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddVirtualProductsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of virtual products to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "VirtualProductCartItemInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a single product to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "VirtualProductCartItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines customizable options for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the `sku`, `quantity`, and other relevant information about the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an item to be added to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of entered options for the base product, such as personalization text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "For a child product, the SKU of its parent product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The amount or number of an item to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the field to use for sorting quote items", + "block": true + }, + "name": { + "kind": "Name", + "value": "SortQuoteItemsEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ITEM_ID" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CREATED_AT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UPDATED_AT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_ID" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SKU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NAME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DESCRIPTION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEIGHT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "QTY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOM_PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISCOUNT_PERCENT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISCOUNT_AMOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_DISCOUNT_AMOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TAX_PERCENT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TAX_AMOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_TAX_AMOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ROW_TOTAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_ROW_TOTAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ROW_TOTAL_WITH_DISCOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ROW_WEIGHT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_TYPE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_TAX_BEFORE_DISCOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TAX_BEFORE_DISCOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ORIGINAL_CUSTOM_PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRICE_INC_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_PRICE_INC_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ROW_TOTAL_INC_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_ROW_TOTAL_INC_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISCOUNT_TAX_COMPENSATION_AMOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FREE_SHIPPING" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the field to use for sorting quote items", + "block": true + }, + "name": { + "kind": "Name", + "value": "QuoteItemsSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote items field to sort by", + "block": true + }, + "name": { + "kind": "Name", + "value": "field" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortQuoteItemsEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the order of quote items' sorting", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customizable option ID of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The string value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_string" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the coupon code to apply to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyCouponToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A valid coupon code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "coupon_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Modifies the specified items in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCartItemsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to be updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemUpdateInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A single item to be updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartItemUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `cart_item_uid` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_item_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_item_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines customizable options for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Gift message details for the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessageInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `GiftWrapping` object to be used for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new quantity of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which items to remove from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveItemFromCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `cart_item_uid` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_item_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required field. The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_item_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies an array of addresses to use for shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetShippingAddressesOnCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipping addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_addresses" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingAddressInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a single shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShippingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An ID from the customer's address book that uniquely identifies the address to be used for shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_address_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Text provided by the shopper.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_notes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The code of Pickup Location which will be used for In-Store Pickup.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pickup_location_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Sets the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetBillingAddressOnCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "billing_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BillingAddressInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BillingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An ID from the customer's address book that uniquely identifies the address to be used for billing.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_address_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to set the billing address to be the same as the existing shipping address on the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "same_as_shipping" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to set the shipping address to be the same as this billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_for_shipping" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the billing or shipping address to be applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The city specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The country code and label for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The custom attribute values of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ZIP or postal code of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that defines the state or province of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An integer that defines the state or province of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Determines whether to save the address in the customer's address book. The default value is true.", + "block": true + }, + "name": { + "kind": "Name", + "value": "save_in_address_book" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the street for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The VAT company number for billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Applies one or shipping methods to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetShippingMethodsOnCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipping methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_methods" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingMethodInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the shipping carrier and method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShippingMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that identifies a commercial carrier or an offline delivery method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that indicates which service a commercial carrier will use to ship items. For offline delivery methods, this value is similar to the label displayed on the checkout page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "method_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Applies a payment method to the quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetPaymentMethodAndPlaceOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method data to apply to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_method" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentMethodInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote to be converted to an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Applies a payment method to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetPaymentMethodOnCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method data to apply to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_method" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentMethodInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_ach_direct_debit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_ach_direct_debit_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeVaultInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_applepay_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeVaultInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_cc_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeCcVaultInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_googlepay_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeVaultInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_paypal" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "braintree_paypal_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BraintreeVaultInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The internal name for the payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for PayPal Hosted pro payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "hosted_pro" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HostedProInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for Payflow Express Checkout payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payflow_express" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowExpressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for PayPal Payflow Link and Payments Advanced payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payflow_link" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowLinkInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for PayPal Payflow Pro and Payment Pro payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payflowpro" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowProInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for PayPal Payflow Pro vault payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payflowpro_cc_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "VaultTokenInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for Apple Pay button", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_services_paypal_apple_pay" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplePayMethodInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for Google Pay button", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_services_paypal_google_pay" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GooglePayMethodInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for Hosted Fields", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_services_paypal_hosted_fields" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HostedFieldsInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for Smart buttons", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_services_paypal_smart_buttons" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SmartButtonMethodInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for vault", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_services_paypal_vault" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "VaultMethodInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for Express Checkout and Payments Standard payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_express" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaypalExpressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order number. Optional for most payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the guest email and cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetGuestEmailOnCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the final price of items in the cart, including discount and tax information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartPrices" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the names and amounts of taxes applied to each item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartTaxItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartDiscount" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use discounts instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing cart rule discounts, store credit and gift cards applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of prices for the selected gift options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_options" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftOptionsPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total, including discounts, taxes, shipping, and other fees.", + "block": true + }, + "name": { + "kind": "Name", + "value": "grand_total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subtotal without any applied taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subtotal_excluding_tax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subtotal including any applied taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subtotal_including_tax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subtotal with any discounts applied, but not taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subtotal_with_discount_excluding_tax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains tax information about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartTaxItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of tax applied to the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about discounts applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartDiscount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the discount applied to the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the discount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CreateGuestCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The newly created cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after setting the payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetPaymentMethodOnCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after setting the payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after setting the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetBillingAddressOnCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after setting the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after setting the shipping addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetShippingAddressesOnCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after setting the shipping addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after setting the shipping methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetShippingMethodsOnCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after setting the shipping methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after applying a coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyCouponToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after applying a coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of the request to place an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of place order errors.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Order" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `orderV2` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Full order information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "orderV2" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An error encountered while placing an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceOrderError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An error code that is specific to place order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PlaceOrderErrorCodes" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the contents and other details about a guest or customer cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Cart" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "applied_coupon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AppliedCoupon" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `applied_coupons` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_coupons" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AppliedCoupon" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of gift card items applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_gift_cards" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AppliedGiftCard" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of reward points applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_reward_points" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsAmount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Store credit information applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_store_credit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AppliedStoreCredit" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of available gift wrapping options for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_gift_wrappings" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of available payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_payment_methods" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AvailablePaymentMethod" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address assigned to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "billing_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BillingCartAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the guest or customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered gift message for the cart", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the shopper requested gift receipt for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_receipt_included" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the cart contains only virtual products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_virtual" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products that have been added to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `itemsV2` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "itemsV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "QuoteItemsSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItems" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pricing details for the quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the shopper requested a printed card for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "printed_card_included" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates which payment method was applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_payment_method" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedPaymentMethod" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipping addresses assigned to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_addresses" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingCartAddress" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of items in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of items in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_summary_quantity_including_config" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CartItems" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products that have been added to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata for pagination rendering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "CartAddressInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The city specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the country label and code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressCountry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The custom attribute values of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ZIP or postal code of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region label and code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the street for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique id of the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The VAT company number for billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains shipping addresses and methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShippingCartAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that lists the shipping methods that can be applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_shipping_methods" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AvailableShippingMethod" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "cart_items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemQuantity" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `cart_items_v2` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that lists the items in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items_v2" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The city specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the country label and code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressCountry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The custom attribute values of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Text provided by the shopper.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_notes" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "items_weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "This information should not be exposed on the frontend." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "pickup_location_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ZIP or postal code of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region label and code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that describes the selected shipping method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_shipping_method" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedShippingMethod" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the street for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique id of the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The VAT company number for billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BillingCartAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The city specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the country label and code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressCountry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The custom attribute values of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "customer_notes" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field is used only in shipping address." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the customer or guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ZIP or postal code of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region label and code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the street for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique id of the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The VAT company number for billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartAddressInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartItemQuantity" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "cart_item_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the region in a billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartAddressRegion" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The state or province code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display label for the region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a pre-defined region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details the country in a billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartAddressCountry" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The country code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display label for the country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the selected shipping method and carrier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedShippingMethod" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cost of shipping using this shipping method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "base_amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that identifies a commercial carrier or an offline shipping method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for the carrier code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier_title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A shipping method code associated with a carrier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "method_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for the method code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "method_title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cost of shipping using this shipping method, excluding tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_excl_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cost of shipping using this shipping method, including tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_incl_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the possible shipping methods and carriers.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AvailableShippingMethod" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cost of shipping using this shipping method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether this shipping method can be applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "base_amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that identifies a commercial carrier or an offline shipping method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for the carrier code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier_title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Describes an error condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "error_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A shipping method code associated with a carrier. The value could be null if no method is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "method_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for the shipping method code. The value could be null if no method is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "method_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cost of shipping using this shipping method, excluding tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_excl_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cost of shipping using this shipping method, including tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_incl_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describes a payment method that the shopper can use to pay for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AvailablePaymentMethod" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the payment method is an online integration", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_deferred" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method title.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describes the payment method the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedPaymentMethod" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_number" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method title.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the applied coupon code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AppliedCoupon" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The coupon code the shopper applied to the card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the cart from which to remove a coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveCouponFromCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after removing a coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveCouponFromCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after removing a coupon.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after adding simple or group products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddSimpleProductsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after adding virtual products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddVirtualProductsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after updating items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCartItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after updating products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after removing an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveItemFromCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after removing an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after setting the email of a guest.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetGuestEmailOnCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after setting the guest email.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation for simple product cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SimpleCartItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of available gift wrapping options for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the customizable options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered gift message for the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation for virtual product cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "VirtualCartItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing customizable options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An interface for products in a cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CartItemError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An error code that describes the error encountered", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemErrorType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CartItemErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ITEM_QTY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ITEM_INCREMENTS" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the discount type and value for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Discount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the discount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of the entity the discount is applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_to" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartDiscountType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The coupon related to the discount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "coupon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AppliedCoupon" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Is quote discounting locked for line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_discounting_locked" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A description of the discount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Quote line item discount type. Values: 1 = PERCENTAGE_DISCOUNT; 2 = AMOUNT_DISCOUNT; 3 = PROPOSED_TOTAL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Quote line item discount value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CartDiscountType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ITEM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SHIPPING" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartItemPrices" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of discounts to be applied to the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of FPTs applied to the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fixed_product_taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FixedProductTax" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_including_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the price multiplied by the quantity of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "row_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of `row_total` plus the tax applied to the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "row_total_including_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total of all discounts applied to the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_item_discount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies a customized product that has been placed in a cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a specific `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_option_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `SelectedCustomizableOption.customizable_option_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customizable option is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the selected customizable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value indicating the order to display this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of `CustomizableOptionInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selectable values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "values" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOptionValue" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies the value of the selected customized option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedCustomizableOptionValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a value object that corresponds to the object represented by the `customizable_option_uid` attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_option_value_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `SelectedCustomizableOptionValue.customizable_option_value_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the selected value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the selected customizable value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemSelectedOptionValuePrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The text identifying the selected value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of a selected customizable value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartItemSelectedOptionValuePrice" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the price type is fixed, percent, or dynamic.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that describes the unit of the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "units" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A price value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the order ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Order" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "order_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `order_number` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `Order` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An error encountered while adding an item to the the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CartUserInputError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A cart-specific error code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartUserInputErrorType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after adding products to it.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddProductsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after products have been added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains errors encountered while adding an item to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartUserInputError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CartUserInputErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_SALABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INSUFFICIENT_STOCK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PERMISSION_DENIED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PlaceOrderErrorCodes" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CART_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CART_NOT_ACTIVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GUEST_EMAIL_MISSING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNABLE_TO_PLACE_ORDER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "EstimateTotalsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Customer's address to estimate totals.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EstimateAddressInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the cart to query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Selected shipping method to estimate totals.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_method" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingMethodInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Estimate totals output.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EstimateTotalsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Cart after totals estimation", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about an address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EstimateAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The two-letter code representing the customer's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name, region code, and region ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressRegionInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines details about an individual checkout agreement.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CheckoutAgreement" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID for a checkout agreement.", + "block": true + }, + "name": { + "kind": "Name", + "value": "agreement_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The checkbox text for the checkout agreement.", + "block": true + }, + "name": { + "kind": "Name", + "value": "checkbox_text" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Required. The text of the agreement.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The height of the text box where the Terms and Conditions statement appears during checkout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content_height" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the `content` text is in HTML format.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether agreements are accepted automatically or manually.", + "block": true + }, + "name": { + "kind": "Name", + "value": "mode" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CheckoutAgreementMode" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name given to the condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates how agreements are accepted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CheckoutAgreementMode" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Conditions are automatically accepted upon checkout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AUTO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Shoppers must manually accept the conditions to place an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MANUAL" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a customer email address to confirm.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfirmEmailInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The key to confirm the email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "confirmation_key" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address to be confirmed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's city or town.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The two-letter code representing the customer's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: use `country_code` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use custom_attributesV2 instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressAttributeInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Custom attributes assigned to the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the address is the default billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_billing" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the address is the default shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_shipping" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The family name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the billing/shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name, region code, and region ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressRegionInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street number and name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Tax/VAT number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the customer's state or province.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAddressRegionInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The state or province name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The address region code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a pre-defined region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the attribute code and value of a customer attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAddressAttributeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The value assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a customer authorization token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerToken" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Generate logout time", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_token_lifetime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer authorization token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that assigns or updates customer attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's date of birth.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date_of_birth" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: Use `date_of_birth` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dob" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address. Required when creating a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's gender (Male - 1, Female - 2).", + "block": true + }, + "name": { + "kind": "Name", + "value": "gender" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer is subscribed to the company's newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_subscribed" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's family name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's middle name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "password" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Tax/VAT number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxvat" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object for creating a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerCreateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer has enabled remote shopping assistance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_remote_shopping_assistance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's date of birth.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date_of_birth" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: Use `date_of_birth` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dob" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's gender (Male - 1, Female - 2).", + "block": true + }, + "name": { + "kind": "Name", + "value": "gender" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer is subscribed to the company's newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_subscribed" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's family name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's middle name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's password.", + "block": true + }, + "name": { + "kind": "Name", + "value": "password" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Tax/VAT number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxvat" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object for updating a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer has enabled remote shopping assistance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_remote_shopping_assistance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's date of birth.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date_of_birth" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: Use `date_of_birth` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dob" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's gender (Male - 1, Female - 2).", + "block": true + }, + "name": { + "kind": "Name", + "value": "gender" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer is subscribed to the company's newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_subscribed" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's family name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's middle name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Tax/VAT number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxvat" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a newly-created or updated customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Customer details after creating or updating a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the result of a request to revoke a customer token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RevokeCustomerTokenOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The result of a request to revoke a customer token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the customer name, addresses, and other details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Customer" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the customer's shipping and billing addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "addresses" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddress" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer has enabled remote shopping assistance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_remote_shopping_assistance" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that contains a list of companies user is assigned to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "companies" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "input" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UserCompaniesInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UserCompaniesOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The contents of the customer's compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "compare_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompareList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's confirmation status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "confirmation_status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfirmationStatusEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the account was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Customer's custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "attributeCodes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's date of birth.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date_of_birth" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_billing" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_shipping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's date of birth.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dob" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `date_of_birth` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's email address. Required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's gender (Male - 1, Female - 2).", + "block": true + }, + "name": { + "kind": "Name", + "value": "gender" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about all of the customer's gift registries.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a specific gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "giftRegistryUid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "group_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Customer group should not be exposed in the storefront scenarios." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`id` is not needed as part of `Customer`, because on the server side, it can be identified based on the customer token used for authentication. There is no need to know customer ID on the client side." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Customer's confirmation status (confirmed/confirmation not required - true, unconfirmed - false).", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_confirmed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer is subscribed to the company's newsletter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_subscribed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The job title of a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "job_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's family name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's middle name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "orders" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the filter to use for searching customer orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrdersFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which field to sort on, and whether to return the results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrderSortInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores.", + "block": true + }, + "name": { + "kind": "Name", + "value": "scope" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ScopeTypeEnum" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrders" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrder" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a single purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_approval_rule" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order approval rule metadata that can be used for rule edit form rendering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_approval_rule_metadata" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleMetadata" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of purchase order approval rules visible to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_approval_rules" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRules" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of purchase orders visible to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_orders" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrdersFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrders" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether purchase order functionality is enabled for the current customer. Global and company-level settings are factored into the result.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_orders_enabled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that contains the customer's requisition lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_lists" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The filter to use to limit the number of requisition lists to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionLists" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the specified return request from the unique ID for a `Return` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Return" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the customer's return requests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "returns" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Returns" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's product reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Customer reward points details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reward_points" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPoints" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The role name and permissions assigned to the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the company user is ACTIVE or INACTIVE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserStatusEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Store credit information applied for the logged in customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_credit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerStoreCredit" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "ID of the company structure", + "block": true + }, + "name": { + "kind": "Name", + "value": "structure_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Value-added tax (VAT) number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxvat" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The team the company user is assigned to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "team" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeam" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The phone number of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return a customer's wish lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `Customer.wishlists` or `Customer.wishlist_v2` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieve the wish list identified by the unique ID for a `Wishlist` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist_v2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlists" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the maximum number of results to return at once. This attribute is optional.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains detailed information about a customer's billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's city or town.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `country_code` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressAttribute" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use custom_attributesV2 instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom attributes assigned to the customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "attributeCodes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`customer_id` is not needed as part of `CustomerAddress`. The `id` is a unique identifier for the addresses." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the address is the customer's default billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_billing" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the address is the customer's default shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_shipping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains any extension attributes for the address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "extension_attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressAttribute" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the person associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a `CustomerAddress` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The family name of the person associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name, region code, and region ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a pre-defined region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street number and name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Value-added tax (VAT) number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the customer's state or province.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAddressRegion" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The state or province name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The address region code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a pre-defined region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the attribute code and value of a customer address attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAddressAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name assigned to the customer address attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value assigned to the customer address attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the result of the `isEmailAvailable` query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "IsEmailAvailableOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the specified email address can be used to create a customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_email_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The list of country codes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Afghanistan", + "block": true + }, + "name": { + "kind": "Name", + "value": "AF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Åland Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "AX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Albania", + "block": true + }, + "name": { + "kind": "Name", + "value": "AL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Algeria", + "block": true + }, + "name": { + "kind": "Name", + "value": "DZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "American Samoa", + "block": true + }, + "name": { + "kind": "Name", + "value": "AS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Andorra", + "block": true + }, + "name": { + "kind": "Name", + "value": "AD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Angola", + "block": true + }, + "name": { + "kind": "Name", + "value": "AO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Anguilla", + "block": true + }, + "name": { + "kind": "Name", + "value": "AI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Antarctica", + "block": true + }, + "name": { + "kind": "Name", + "value": "AQ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Antigua & Barbuda", + "block": true + }, + "name": { + "kind": "Name", + "value": "AG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Argentina", + "block": true + }, + "name": { + "kind": "Name", + "value": "AR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Armenia", + "block": true + }, + "name": { + "kind": "Name", + "value": "AM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Aruba", + "block": true + }, + "name": { + "kind": "Name", + "value": "AW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Australia", + "block": true + }, + "name": { + "kind": "Name", + "value": "AU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Austria", + "block": true + }, + "name": { + "kind": "Name", + "value": "AT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Azerbaijan", + "block": true + }, + "name": { + "kind": "Name", + "value": "AZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bahamas", + "block": true + }, + "name": { + "kind": "Name", + "value": "BS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bahrain", + "block": true + }, + "name": { + "kind": "Name", + "value": "BH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bangladesh", + "block": true + }, + "name": { + "kind": "Name", + "value": "BD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Barbados", + "block": true + }, + "name": { + "kind": "Name", + "value": "BB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Belarus", + "block": true + }, + "name": { + "kind": "Name", + "value": "BY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Belgium", + "block": true + }, + "name": { + "kind": "Name", + "value": "BE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Belize", + "block": true + }, + "name": { + "kind": "Name", + "value": "BZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Benin", + "block": true + }, + "name": { + "kind": "Name", + "value": "BJ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bermuda", + "block": true + }, + "name": { + "kind": "Name", + "value": "BM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bhutan", + "block": true + }, + "name": { + "kind": "Name", + "value": "BT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bolivia", + "block": true + }, + "name": { + "kind": "Name", + "value": "BO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bosnia & Herzegovina", + "block": true + }, + "name": { + "kind": "Name", + "value": "BA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Botswana", + "block": true + }, + "name": { + "kind": "Name", + "value": "BW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bouvet Island", + "block": true + }, + "name": { + "kind": "Name", + "value": "BV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Brazil", + "block": true + }, + "name": { + "kind": "Name", + "value": "BR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "British Indian Ocean Territory", + "block": true + }, + "name": { + "kind": "Name", + "value": "IO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "British Virgin Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "VG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Brunei", + "block": true + }, + "name": { + "kind": "Name", + "value": "BN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Bulgaria", + "block": true + }, + "name": { + "kind": "Name", + "value": "BG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Burkina Faso", + "block": true + }, + "name": { + "kind": "Name", + "value": "BF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Burundi", + "block": true + }, + "name": { + "kind": "Name", + "value": "BI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cambodia", + "block": true + }, + "name": { + "kind": "Name", + "value": "KH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cameroon", + "block": true + }, + "name": { + "kind": "Name", + "value": "CM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Canada", + "block": true + }, + "name": { + "kind": "Name", + "value": "CA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cape Verde", + "block": true + }, + "name": { + "kind": "Name", + "value": "CV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cayman Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "KY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Central African Republic", + "block": true + }, + "name": { + "kind": "Name", + "value": "CF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Chad", + "block": true + }, + "name": { + "kind": "Name", + "value": "TD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Chile", + "block": true + }, + "name": { + "kind": "Name", + "value": "CL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "China", + "block": true + }, + "name": { + "kind": "Name", + "value": "CN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Christmas Island", + "block": true + }, + "name": { + "kind": "Name", + "value": "CX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cocos (Keeling) Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "CC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Colombia", + "block": true + }, + "name": { + "kind": "Name", + "value": "CO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Comoros", + "block": true + }, + "name": { + "kind": "Name", + "value": "KM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Congo-Brazzaville", + "block": true + }, + "name": { + "kind": "Name", + "value": "CG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Congo-Kinshasa", + "block": true + }, + "name": { + "kind": "Name", + "value": "CD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cook Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "CK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Costa Rica", + "block": true + }, + "name": { + "kind": "Name", + "value": "CR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Côte d’Ivoire", + "block": true + }, + "name": { + "kind": "Name", + "value": "CI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Croatia", + "block": true + }, + "name": { + "kind": "Name", + "value": "HR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cuba", + "block": true + }, + "name": { + "kind": "Name", + "value": "CU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cyprus", + "block": true + }, + "name": { + "kind": "Name", + "value": "CY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Czech Republic", + "block": true + }, + "name": { + "kind": "Name", + "value": "CZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Denmark", + "block": true + }, + "name": { + "kind": "Name", + "value": "DK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Djibouti", + "block": true + }, + "name": { + "kind": "Name", + "value": "DJ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Dominica", + "block": true + }, + "name": { + "kind": "Name", + "value": "DM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Dominican Republic", + "block": true + }, + "name": { + "kind": "Name", + "value": "DO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Ecuador", + "block": true + }, + "name": { + "kind": "Name", + "value": "EC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Egypt", + "block": true + }, + "name": { + "kind": "Name", + "value": "EG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "El Salvador", + "block": true + }, + "name": { + "kind": "Name", + "value": "SV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Equatorial Guinea", + "block": true + }, + "name": { + "kind": "Name", + "value": "GQ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Eritrea", + "block": true + }, + "name": { + "kind": "Name", + "value": "ER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Estonia", + "block": true + }, + "name": { + "kind": "Name", + "value": "EE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Eswatini", + "block": true + }, + "name": { + "kind": "Name", + "value": "SZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Ethiopia", + "block": true + }, + "name": { + "kind": "Name", + "value": "ET" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Falkland Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "FK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Faroe Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "FO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Fiji", + "block": true + }, + "name": { + "kind": "Name", + "value": "FJ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Finland", + "block": true + }, + "name": { + "kind": "Name", + "value": "FI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "France", + "block": true + }, + "name": { + "kind": "Name", + "value": "FR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "French Guiana", + "block": true + }, + "name": { + "kind": "Name", + "value": "GF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "French Polynesia", + "block": true + }, + "name": { + "kind": "Name", + "value": "PF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "French Southern Territories", + "block": true + }, + "name": { + "kind": "Name", + "value": "TF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Gabon", + "block": true + }, + "name": { + "kind": "Name", + "value": "GA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Gambia", + "block": true + }, + "name": { + "kind": "Name", + "value": "GM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Georgia", + "block": true + }, + "name": { + "kind": "Name", + "value": "GE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Germany", + "block": true + }, + "name": { + "kind": "Name", + "value": "DE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Ghana", + "block": true + }, + "name": { + "kind": "Name", + "value": "GH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Gibraltar", + "block": true + }, + "name": { + "kind": "Name", + "value": "GI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Greece", + "block": true + }, + "name": { + "kind": "Name", + "value": "GR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Greenland", + "block": true + }, + "name": { + "kind": "Name", + "value": "GL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Grenada", + "block": true + }, + "name": { + "kind": "Name", + "value": "GD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guadeloupe", + "block": true + }, + "name": { + "kind": "Name", + "value": "GP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guam", + "block": true + }, + "name": { + "kind": "Name", + "value": "GU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guatemala", + "block": true + }, + "name": { + "kind": "Name", + "value": "GT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guernsey", + "block": true + }, + "name": { + "kind": "Name", + "value": "GG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guinea", + "block": true + }, + "name": { + "kind": "Name", + "value": "GN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guinea-Bissau", + "block": true + }, + "name": { + "kind": "Name", + "value": "GW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Guyana", + "block": true + }, + "name": { + "kind": "Name", + "value": "GY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Haiti", + "block": true + }, + "name": { + "kind": "Name", + "value": "HT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Heard & McDonald Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "HM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Honduras", + "block": true + }, + "name": { + "kind": "Name", + "value": "HN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Hong Kong SAR China", + "block": true + }, + "name": { + "kind": "Name", + "value": "HK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Hungary", + "block": true + }, + "name": { + "kind": "Name", + "value": "HU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Iceland", + "block": true + }, + "name": { + "kind": "Name", + "value": "IS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "India", + "block": true + }, + "name": { + "kind": "Name", + "value": "IN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indonesia", + "block": true + }, + "name": { + "kind": "Name", + "value": "ID" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Iran", + "block": true + }, + "name": { + "kind": "Name", + "value": "IR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Iraq", + "block": true + }, + "name": { + "kind": "Name", + "value": "IQ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Ireland", + "block": true + }, + "name": { + "kind": "Name", + "value": "IE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Isle of Man", + "block": true + }, + "name": { + "kind": "Name", + "value": "IM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Israel", + "block": true + }, + "name": { + "kind": "Name", + "value": "IL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Italy", + "block": true + }, + "name": { + "kind": "Name", + "value": "IT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Jamaica", + "block": true + }, + "name": { + "kind": "Name", + "value": "JM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Japan", + "block": true + }, + "name": { + "kind": "Name", + "value": "JP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Jersey", + "block": true + }, + "name": { + "kind": "Name", + "value": "JE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Jordan", + "block": true + }, + "name": { + "kind": "Name", + "value": "JO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Kazakhstan", + "block": true + }, + "name": { + "kind": "Name", + "value": "KZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Kenya", + "block": true + }, + "name": { + "kind": "Name", + "value": "KE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Kiribati", + "block": true + }, + "name": { + "kind": "Name", + "value": "KI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Kuwait", + "block": true + }, + "name": { + "kind": "Name", + "value": "KW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Kyrgyzstan", + "block": true + }, + "name": { + "kind": "Name", + "value": "KG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Laos", + "block": true + }, + "name": { + "kind": "Name", + "value": "LA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Latvia", + "block": true + }, + "name": { + "kind": "Name", + "value": "LV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Lebanon", + "block": true + }, + "name": { + "kind": "Name", + "value": "LB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Lesotho", + "block": true + }, + "name": { + "kind": "Name", + "value": "LS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Liberia", + "block": true + }, + "name": { + "kind": "Name", + "value": "LR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Libya", + "block": true + }, + "name": { + "kind": "Name", + "value": "LY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Liechtenstein", + "block": true + }, + "name": { + "kind": "Name", + "value": "LI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Lithuania", + "block": true + }, + "name": { + "kind": "Name", + "value": "LT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Luxembourg", + "block": true + }, + "name": { + "kind": "Name", + "value": "LU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Macau SAR China", + "block": true + }, + "name": { + "kind": "Name", + "value": "MO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Macedonia", + "block": true + }, + "name": { + "kind": "Name", + "value": "MK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Madagascar", + "block": true + }, + "name": { + "kind": "Name", + "value": "MG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Malawi", + "block": true + }, + "name": { + "kind": "Name", + "value": "MW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Malaysia", + "block": true + }, + "name": { + "kind": "Name", + "value": "MY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Maldives", + "block": true + }, + "name": { + "kind": "Name", + "value": "MV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mali", + "block": true + }, + "name": { + "kind": "Name", + "value": "ML" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Malta", + "block": true + }, + "name": { + "kind": "Name", + "value": "MT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Marshall Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "MH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Martinique", + "block": true + }, + "name": { + "kind": "Name", + "value": "MQ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mauritania", + "block": true + }, + "name": { + "kind": "Name", + "value": "MR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mauritius", + "block": true + }, + "name": { + "kind": "Name", + "value": "MU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mayotte", + "block": true + }, + "name": { + "kind": "Name", + "value": "YT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mexico", + "block": true + }, + "name": { + "kind": "Name", + "value": "MX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Micronesia", + "block": true + }, + "name": { + "kind": "Name", + "value": "FM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Moldova", + "block": true + }, + "name": { + "kind": "Name", + "value": "MD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Monaco", + "block": true + }, + "name": { + "kind": "Name", + "value": "MC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mongolia", + "block": true + }, + "name": { + "kind": "Name", + "value": "MN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Montenegro", + "block": true + }, + "name": { + "kind": "Name", + "value": "ME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Montserrat", + "block": true + }, + "name": { + "kind": "Name", + "value": "MS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Morocco", + "block": true + }, + "name": { + "kind": "Name", + "value": "MA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Mozambique", + "block": true + }, + "name": { + "kind": "Name", + "value": "MZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Myanmar (Burma)", + "block": true + }, + "name": { + "kind": "Name", + "value": "MM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Namibia", + "block": true + }, + "name": { + "kind": "Name", + "value": "NA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Nauru", + "block": true + }, + "name": { + "kind": "Name", + "value": "NR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Nepal", + "block": true + }, + "name": { + "kind": "Name", + "value": "NP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Netherlands", + "block": true + }, + "name": { + "kind": "Name", + "value": "NL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Netherlands Antilles", + "block": true + }, + "name": { + "kind": "Name", + "value": "AN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "New Caledonia", + "block": true + }, + "name": { + "kind": "Name", + "value": "NC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "New Zealand", + "block": true + }, + "name": { + "kind": "Name", + "value": "NZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Nicaragua", + "block": true + }, + "name": { + "kind": "Name", + "value": "NI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Niger", + "block": true + }, + "name": { + "kind": "Name", + "value": "NE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Nigeria", + "block": true + }, + "name": { + "kind": "Name", + "value": "NG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Niue", + "block": true + }, + "name": { + "kind": "Name", + "value": "NU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Norfolk Island", + "block": true + }, + "name": { + "kind": "Name", + "value": "NF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Northern Mariana Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "MP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "North Korea", + "block": true + }, + "name": { + "kind": "Name", + "value": "KP" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Norway", + "block": true + }, + "name": { + "kind": "Name", + "value": "NO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Oman", + "block": true + }, + "name": { + "kind": "Name", + "value": "OM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Pakistan", + "block": true + }, + "name": { + "kind": "Name", + "value": "PK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Palau", + "block": true + }, + "name": { + "kind": "Name", + "value": "PW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Palestinian Territories", + "block": true + }, + "name": { + "kind": "Name", + "value": "PS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Panama", + "block": true + }, + "name": { + "kind": "Name", + "value": "PA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Papua New Guinea", + "block": true + }, + "name": { + "kind": "Name", + "value": "PG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Paraguay", + "block": true + }, + "name": { + "kind": "Name", + "value": "PY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Peru", + "block": true + }, + "name": { + "kind": "Name", + "value": "PE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Philippines", + "block": true + }, + "name": { + "kind": "Name", + "value": "PH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Pitcairn Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "PN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Poland", + "block": true + }, + "name": { + "kind": "Name", + "value": "PL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Portugal", + "block": true + }, + "name": { + "kind": "Name", + "value": "PT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Qatar", + "block": true + }, + "name": { + "kind": "Name", + "value": "QA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Réunion", + "block": true + }, + "name": { + "kind": "Name", + "value": "RE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Romania", + "block": true + }, + "name": { + "kind": "Name", + "value": "RO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Russia", + "block": true + }, + "name": { + "kind": "Name", + "value": "RU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Rwanda", + "block": true + }, + "name": { + "kind": "Name", + "value": "RW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Samoa", + "block": true + }, + "name": { + "kind": "Name", + "value": "WS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "San Marino", + "block": true + }, + "name": { + "kind": "Name", + "value": "SM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "São Tomé & Príncipe", + "block": true + }, + "name": { + "kind": "Name", + "value": "ST" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Saudi Arabia", + "block": true + }, + "name": { + "kind": "Name", + "value": "SA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Senegal", + "block": true + }, + "name": { + "kind": "Name", + "value": "SN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Serbia", + "block": true + }, + "name": { + "kind": "Name", + "value": "RS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Seychelles", + "block": true + }, + "name": { + "kind": "Name", + "value": "SC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sierra Leone", + "block": true + }, + "name": { + "kind": "Name", + "value": "SL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Singapore", + "block": true + }, + "name": { + "kind": "Name", + "value": "SG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Slovakia", + "block": true + }, + "name": { + "kind": "Name", + "value": "SK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Slovenia", + "block": true + }, + "name": { + "kind": "Name", + "value": "SI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Solomon Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "SB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Somalia", + "block": true + }, + "name": { + "kind": "Name", + "value": "SO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "South Africa", + "block": true + }, + "name": { + "kind": "Name", + "value": "ZA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "South Georgia & South Sandwich Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "GS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "South Korea", + "block": true + }, + "name": { + "kind": "Name", + "value": "KR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Spain", + "block": true + }, + "name": { + "kind": "Name", + "value": "ES" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sri Lanka", + "block": true + }, + "name": { + "kind": "Name", + "value": "LK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Barthélemy", + "block": true + }, + "name": { + "kind": "Name", + "value": "BL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Helena", + "block": true + }, + "name": { + "kind": "Name", + "value": "SH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Kitts & Nevis", + "block": true + }, + "name": { + "kind": "Name", + "value": "KN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Lucia", + "block": true + }, + "name": { + "kind": "Name", + "value": "LC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Martin", + "block": true + }, + "name": { + "kind": "Name", + "value": "MF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Pierre & Miquelon", + "block": true + }, + "name": { + "kind": "Name", + "value": "PM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "St. Vincent & Grenadines", + "block": true + }, + "name": { + "kind": "Name", + "value": "VC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sudan", + "block": true + }, + "name": { + "kind": "Name", + "value": "SD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Suriname", + "block": true + }, + "name": { + "kind": "Name", + "value": "SR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Svalbard & Jan Mayen", + "block": true + }, + "name": { + "kind": "Name", + "value": "SJ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sweden", + "block": true + }, + "name": { + "kind": "Name", + "value": "SE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Switzerland", + "block": true + }, + "name": { + "kind": "Name", + "value": "CH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Syria", + "block": true + }, + "name": { + "kind": "Name", + "value": "SY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Taiwan", + "block": true + }, + "name": { + "kind": "Name", + "value": "TW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Tajikistan", + "block": true + }, + "name": { + "kind": "Name", + "value": "TJ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Tanzania", + "block": true + }, + "name": { + "kind": "Name", + "value": "TZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Thailand", + "block": true + }, + "name": { + "kind": "Name", + "value": "TH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Timor-Leste", + "block": true + }, + "name": { + "kind": "Name", + "value": "TL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Togo", + "block": true + }, + "name": { + "kind": "Name", + "value": "TG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Tokelau", + "block": true + }, + "name": { + "kind": "Name", + "value": "TK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Tonga", + "block": true + }, + "name": { + "kind": "Name", + "value": "TO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Trinidad & Tobago", + "block": true + }, + "name": { + "kind": "Name", + "value": "TT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Tunisia", + "block": true + }, + "name": { + "kind": "Name", + "value": "TN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Turkey", + "block": true + }, + "name": { + "kind": "Name", + "value": "TR" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Turkmenistan", + "block": true + }, + "name": { + "kind": "Name", + "value": "TM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Turks & Caicos Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "TC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Tuvalu", + "block": true + }, + "name": { + "kind": "Name", + "value": "TV" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Uganda", + "block": true + }, + "name": { + "kind": "Name", + "value": "UG" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Ukraine", + "block": true + }, + "name": { + "kind": "Name", + "value": "UA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "United Arab Emirates", + "block": true + }, + "name": { + "kind": "Name", + "value": "AE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "United Kingdom", + "block": true + }, + "name": { + "kind": "Name", + "value": "GB" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "United States", + "block": true + }, + "name": { + "kind": "Name", + "value": "US" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Uruguay", + "block": true + }, + "name": { + "kind": "Name", + "value": "UY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "U.S. Outlying Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "UM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "U.S. Virgin Islands", + "block": true + }, + "name": { + "kind": "Name", + "value": "VI" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Uzbekistan", + "block": true + }, + "name": { + "kind": "Name", + "value": "UZ" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Vanuatu", + "block": true + }, + "name": { + "kind": "Name", + "value": "VU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Vatican City", + "block": true + }, + "name": { + "kind": "Name", + "value": "VA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Venezuela", + "block": true + }, + "name": { + "kind": "Name", + "value": "VE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Vietnam", + "block": true + }, + "name": { + "kind": "Name", + "value": "VN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Wallis & Futuna", + "block": true + }, + "name": { + "kind": "Name", + "value": "WF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Western Sahara", + "block": true + }, + "name": { + "kind": "Name", + "value": "EH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Yemen", + "block": true + }, + "name": { + "kind": "Name", + "value": "YE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Zambia", + "block": true + }, + "name": { + "kind": "Name", + "value": "ZM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Zimbabwe", + "block": true + }, + "name": { + "kind": "Name", + "value": "ZW" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Customer attribute metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerAttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Default attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend class of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_class" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFrontendInputEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The template used for the input of the attribute (e.g., 'date').", + "block": true + }, + "name": { + "kind": "Name", + "value": "input_filter" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InputFilterEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value must be unique.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_unique" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of lines of the attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "multiline_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position of the attribute in the form.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The validation rules of the attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "validate_rules" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidationRule" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "List of templates/filters applied to customer attribute input.", + "block": true + }, + "name": { + "kind": "Name", + "value": "InputFilterEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "There are no templates or filters to be applied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NONE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Forces attribute input to follow the date format.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Strip whitespace (or other characters) from the beginning and end of the input.", + "block": true + }, + "name": { + "kind": "Name", + "value": "TRIM" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Strip HTML Tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "STRIPTAGS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Escape HTML Entities.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ESCAPEHTML" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a customer attribute validation rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ValidationRule" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Validation rule name applied to a customer attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidationRuleEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Validation rule value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "List of validation rule names applied to a customer attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ValidationRuleEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE_RANGE_MAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE_RANGE_MIN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FILE_EXTENSIONS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INPUT_VALIDATION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MAX_TEXT_LENGTH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MIN_TEXT_LENGTH" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MAX_FILE_SIZE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MAX_IMAGE_HEIGHT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MAX_IMAGE_WIDTH" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "List of account confirmation statuses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfirmationStatusEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Account confirmed", + "block": true + }, + "name": { + "kind": "Name", + "value": "ACCOUNT_CONFIRMED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Account confirmation not required", + "block": true + }, + "name": { + "kind": "Name", + "value": "ACCOUNT_CONFIRMATION_NOT_REQUIRED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines properties of a negotiable quote request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequestNegotiableQuoteInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The cart ID of the buyer requesting a new negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Comments the buyer entered to describe the request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteCommentInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Flag indicating if quote is draft or not.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_draft" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name the buyer assigned to the negotiable quote request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the items to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteQuantitiesInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteItemQuantityInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the updated quantity of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteItemQuantityInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new quantity of the negotiable quote item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_item_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the updated negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteItemsQuantityOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the negotiable quote to convert to an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceNegotiableQuoteOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An output object that returns the generated order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceNegotiableQuoteOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the generated order number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Order" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which negotiable quote to send for review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendNegotiableQuoteForReviewInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A comment for the seller to review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteCommentInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendNegotiableQuoteForReviewOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after sending for seller review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the shipping address to assign to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CustomerAddress` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_address_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipping addresses to apply to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_addresses" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteShippingAddressInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines shipping addresses for the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteShippingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An ID from the company user's address book that uniquely identifies the address to be used for shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_address_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Text provided by the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_notes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Sets the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteBillingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address to be added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "billing_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteBillingAddressInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteBillingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CustomerAddress` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_address_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to set the billing address to be the same as the existing shipping address on the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "same_as_shipping" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to set the shipping address to be the same as this billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_for_shipping" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the billing or shipping address to be applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The city specified for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The country code and label for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ZIP or postal code of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that defines the state or province of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An integer that defines the state or province of the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Determines whether to save the address in the customer's address book. The default value is true.", + "block": true + }, + "name": { + "kind": "Name", + "value": "save_in_address_book" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the street for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number for the billing or shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the shipping method to apply to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingMethodsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipping methods to apply to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_methods" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingMethodInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Sets quote item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "LineItemNoteInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The note text to be added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CartLineItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_item_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Sets new name for a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RenameNegotiableQuoteInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The reason for the quote name change specified by the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_comment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new quote name the buyer specified to the negotiable quote request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The cart ID of the buyer requesting a new negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the updated negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetLineItemNoteOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after sending for seller review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Move Line Item to Requisition List.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MoveLineItemToRequisitionListInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CartLineItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_item_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the updated negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MoveLineItemToRequisitionListOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after moving item to requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingMethodsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after applying shipping methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteShippingAddressOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after assigning a shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteBillingAddressOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after assigning a billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the items to remove from the specified negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveNegotiableQuoteItemsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of IDs indicating which items to remove from the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_item_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveNegotiableQuoteItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after removing items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the negotiable quotes to mark as closed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CloseNegotiableQuotesInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A list of unique IDs from `NegotiableQuote` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the closed negotiable quotes and other negotiable quotes the company user can view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CloseNegotiableQuotesOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the negotiable quotes that were just closed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "closed_quotes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `operation_results` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of negotiable quotes that can be viewed by the logged-in customer", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiable_quotes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The filter to use to determine which negotiable quotes to close.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The field to use for sorting results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuotesOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of closed negotiable quote UIDs and details about any errors.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operation_results" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuoteOperationResult" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the request to close one or more negotiable quotes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result_status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BatchMutationStatus" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the updated negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RenameNegotiableQuoteOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The negotiable quote after updating the name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "UnionTypeDefinition", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuoteOperationResult" + }, + "directives": [], + "types": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUidOperationSuccess" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuoteOperationFailure" + } + } + ] + }, + { + "kind": "UnionTypeDefinition", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuoteError" + }, + "directives": [], + "types": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteInvalidStateError" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NoSuchEntityUidError" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InternalError" + } + } + ] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of undeleted negotiable quotes the company user can view.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuotesOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of negotiable quotes that the customer can view", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiable_quotes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The filter to use to determine which negotiable quotes to delete.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The field to use for sorting results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteSortInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuotesOutput" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of deleted negotiable quote UIDs and details about any errors.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operation_results" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteOperationResult" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the request to delete one or more negotiable quotes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result_status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BatchMutationStatus" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "UnionTypeDefinition", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteOperationResult" + }, + "directives": [], + "types": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUidOperationSuccess" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteOperationFailure" + } + } + ] + }, + { + "kind": "UnionTypeDefinition", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteError" + }, + "directives": [], + "types": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteInvalidStateError" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NoSuchEntityUidError" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InternalError" + } + } + ] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment method to be applied to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuotePaymentMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Payment method code", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order number. Optional for most payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the negotiable quote after setting the payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuotePaymentMethodOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of negotiable that match the specified filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuotesOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of negotiable quotes", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains pagination metadata", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the default sort field and all available sort fields.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_fields" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortFields" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of negotiable quotes returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the field to use to sort a list of negotiable quotes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether to return results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_direction" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The specified sort field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_field" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteSortableField" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteSortableField" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts negotiable quotes by name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "QUOTE_NAME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts negotiable quotes by the dates they were created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CREATED_AT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts negotiable quotes by the dates they were last modified.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UPDATED_AT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the commend provided by the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteCommentInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The comment provided by the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a single plain text comment from either the buyer or seller.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteComment" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first and last name of the commenter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "author" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUser" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the comment was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a buyer or seller commented.", + "block": true + }, + "name": { + "kind": "Name", + "value": "creator_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteCommentCreatorType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The plain text comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteComment` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteCommentCreatorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BUYER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SELLER" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuote" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of payment methods that can be applied to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_payment_methods" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AvailablePaymentMethod" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address applied to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "billing_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteBillingAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first and last name of the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "buyer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUser" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of comments made by the buyer and seller.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteComment" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the negotiable quote was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of status and price changes for the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "history" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryEntry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the negotiable quote contains only virtual products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_virtual" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of items in the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title assigned to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A set of subtotals and totals applied to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method that was applied to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_payment_method" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedPaymentMethod" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of shipping addresses applied to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_addresses" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteShippingAddress" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteStatus" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of items in the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the negotiable quote was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SUBMITTED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PENDING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UPDATED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OPEN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ORDERED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CLOSED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DECLINED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "EXPIRED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DRAFT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter to limit the negotiable quotes to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the ID of one or more negotiable quotes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ids" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the negotiable quote name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a change for a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryEntry" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The person who made a change in the status of the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "author" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUser" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An enum that describes the why the entry in the negotiable quote history changed status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "change_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryEntryChangeType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The set of changes in the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "changes" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryChanges" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the negotiable quote entry was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteHistoryEntry` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of changes to a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryChanges" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The comment provided with a change in the negotiable quote history.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment_added" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryCommentChange" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Lists log entries added by third-party extensions.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_changes" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteCustomLogChange" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiration date of the negotiable quote before and after a change in the quote history.", + "block": true + }, + "name": { + "kind": "Name", + "value": "expiration" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryExpirationChange" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Lists products that were removed as a result of a change in the quote history.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products_removed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryProductsRemovedChange" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status before and after a change in the negotiable quote history.", + "block": true + }, + "name": { + "kind": "Name", + "value": "statuses" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryStatusesChange" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total amount of the negotiable quote before and after a change in the quote history.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryTotalChange" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Lists a new status change applied to a negotiable quote and the previous status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryStatusChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteStatus" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The previous status. The value will be null for the first history entry in a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "old_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteStatus" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of status changes that occurred for the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryStatusesChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of status changes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "changes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryStatusChange" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a comment submitted by a seller or buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryCommentChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A plain text comment submitted by a seller or buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a new price and the previous price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryTotalChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total price as a result of the change.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The previous total price on the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "old_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a new expiration date and the previous date.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryExpirationChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiration date after the change. The value will be 'null' if not set.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_expiration" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The previous expiration date. The value will be 'null' if not previously set.", + "block": true + }, + "name": { + "kind": "Name", + "value": "old_expiration" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains lists of products that have been removed from the catalog and negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryProductsRemovedChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of product IDs the seller removed from the catalog.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products_removed_from_catalog" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of products removed from the negotiable quote by either the buyer or the seller.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products_removed_from_quote" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains custom log entries added by third-party extensions.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteCustomLogChange" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The new entry content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The previous entry in the custom log.", + "block": true + }, + "name": { + "kind": "Name", + "value": "old_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title of the custom log entry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryEntryChangeType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CREATED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UPDATED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CLOSED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UPDATED_BY_SYSTEM" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the `NegotiableQuote` object generated when a buyer requests a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequestNegotiableQuoteOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's city or town.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company name associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressCountry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name, region code, and region ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street number and name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the company's state or province.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressRegion" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The address region code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a pre-defined region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the company's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressCountry" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The address country code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteShippingAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipping methods available to the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_shipping_methods" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AvailableShippingMethod" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's city or town.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company name associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressCountry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name, region code, and region ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected shipping method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_shipping_method" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedShippingMethod" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street number and name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteBillingAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's city or town.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company name associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressCountry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name, region code, and region ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street number and name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A limited view of a Buyer or Seller in the negotiable quote process.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteUser" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the buyer or seller making a change.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's or seller's last name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUidNonFatalResultInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a successful operation on a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteUidOperationSuccess" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUidNonFatalResultInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An error indicating that an operation was attempted on a negotiable quote in an invalid state.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteInvalidStateError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The returned error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ErrorInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The note object for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ItemNote" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp that reflects note creation date.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "ID of the user who submitted a note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "creator_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Type of teh user who submitted a note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "creator_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiable_quote_item_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Note text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `ItemNote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a failed close operation on a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CloseNegotiableQuoteOperationFailure" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while attempting close the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CloseNegotiableQuoteError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuotesInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A list of unique IDs for `NegotiableQuote` objects to delete.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a failed delete operation on a negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteOperationFailure" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment method of the specified negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuotePaymentMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method to be assigned to the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_method" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuotePaymentMethodInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an object used to iterate through items for product comparisons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ComparableItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of product attributes that can be used to compare products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductAttribute" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a product in a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an item in a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a product attribute code and value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for a product attribute code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display value of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an attribute code that is used for product comparisons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ComparableAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An attribute code that is enabled for product comparisons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the attribute code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains iterable information such as the array of items, the count, and attributes that represent the compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompareList" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attributes that can be used for comparing products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComparableAttribute" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items in the compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "item_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products to compare.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComparableItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID assigned to the compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of product IDs to use for creating a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateCompareListInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of product IDs to add to the compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains products to add to an existing compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddProductsToCompareListInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of product IDs to add to the compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier of the compare list to modify.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines which products to remove from a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveProductsFromCompareListInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of product IDs to remove from the compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "products" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier of the compare list to modify.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of the request to delete a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteCompareListOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the compare list was successfully deleted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of the request to assign a compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AssignCompareListToCustomerOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The contents of the customer's compare list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "compare_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompareList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the compare list was successfully assigned to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines basic features of a configurable product and its simple product variants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for the configurable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableProductOptions" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_product_options_selection" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "configurableOptionValueUids" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableProductOptionsSelection" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of simple product variants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "variants" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableVariant" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PhysicalProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains all the simple product variants of a configurable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableVariant" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of configurable attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableAttributeOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of linked simple products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SimpleProduct" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a configurable product attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableAttributeOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that describes the configurable attribute option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ConfigurableAttributeOption` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A unique index number assigned to the configurable product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_index" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines configurable attributes for the specified product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableProductOptions" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that identifies the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `attribute_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_id_v2" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `attribute_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `Attribute` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The configurable option ID number assigned by the system.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A displayed string that describes the configurable product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number that indicates the order in which the attribute is displayed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "This is the same as a product's `id` field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`product_id` is not needed and can be obtained from its parent." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ConfigurableProductOptions` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the option is the default.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_default" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines the `value_index` codes assigned to the configurable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "values" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableProductOptionsValues" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the index number assigned to a configurable product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableProductOptionsValues" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the product on the default store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the product on the current store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "store_label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Swatch data for a configurable product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_data" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchDataInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ConfigurableProductOptionsValues` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to use the default_label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_default_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A unique index number assigned to the configurable product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_index" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the configurable products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddConfigurableProductsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of configurable products to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableProductCartItemInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after adding configurable products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddConfigurableProductsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ConfigurableProductCartItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID and value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity and SKU of the configurable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the parent configurable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `CartItemInput.sku` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "variant_sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation for configurable product cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableCartItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of available gift wrapping options for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the configuranle options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedConfigurableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configured_variant" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the customizable options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered gift message for the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a selected configurable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedConfigurableOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ConfigurableProductOptions` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_product_option_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ConfigurableProductOptionsValues` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_product_option_value_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `SelectedConfigurableOption.configurable_product_option_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display text for the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "value_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `SelectedConfigurableOption.configurable_product_option_value_uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the selected configurable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A configurable product wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the simple product corresponding to a set of selected configurable options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "child_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `ConfigurableWishlistItem.configured_variant.sku` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selected configurable options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedConfigurableOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the selected variant. The value is null if some options are not configured.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configured_variant" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains metadata corresponding to the selected configurable options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableProductOptionsSelection" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of all possible configurable options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableProductOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product images and videos corresponding to the specified configurable options selection.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The configurable options available for further selection based on the current selection.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_available_for_selection" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableOptionAvailableForSelection" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "variant" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SimpleProduct" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describes configurable options that have been selected and can be selected as a result of the previous selections.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableOptionAvailableForSelection" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An attribute code that uniquely identifies a configurable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selectable option value IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_value_uids" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about configurable product options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableProductOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An attribute code that uniquely identifies a configurable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the configurable option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of values that are applicable for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "values" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ConfigurableProductOptionValue" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a value for a configurable product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableProductOptionValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is available with this selected option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the value is the default.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_use_default" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL assigned to the thumbnail of the swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchDataInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines customer requisition lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequisitionLists" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of requisition lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned requisition lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the contents of a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequisitionList" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Optional text that describes the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products added to the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequistionListItems" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items in the list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The requisition list name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique requisition list ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The time of the last modification of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of items added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequistionListItems" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of pages returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_pages" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The interface for requisition list items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for the requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about simple products added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SimpleRequisitionListItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for the requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about virtual products added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "VirtualRequisitionListItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for the requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that identifies and describes a new requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateRequisitionListInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An optional description of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name assigned to the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines which requistion list characteristics to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateRequisitionListInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated description of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new name of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to rename the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateRequisitionListOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The renamed requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines which items in a requisition list to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateRequisitionListItemsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of customer-entered options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the requisition list item to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "item_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new quantity of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selected option IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to update items in the specified requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateRequisitionListItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The requisition list after updating items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the request to delete the requisition list was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteRequisitionListOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's requisition lists after deleting a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_lists" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionLists" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the request to delete the requisition list was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to add products to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddProductsToRequisitionListOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The requisition list after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to remove items from the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteRequisitionListItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The requisition list after removing items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to add items in a requisition list to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddRequisitionListItemsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about why the attempt to add items to the requistion list was not successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "add_requisition_list_items_to_cart_user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddRequisitionListItemToCartUserError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after adding requisition list items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attempt to add items to the requisition list was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about why an attempt to add items to the requistion list failed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddRequisitionListItemToCartUserError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A description of the error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of error that occurred.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddRequisitionListItemToCartUserErrorType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "AddRequisitionListItemToCartUserErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OUT_OF_STOCK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNAVAILABLE_SKU" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OPTIONS_UPDATED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LOW_QUANTITY" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the items in a requisition list to be copied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CopyItemsBetweenRequisitionListsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of IDs representing products copied from one requisition list to another.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItemUids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to copy items to the destination requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CopyItemsFromRequisitionListsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The destination requisition list after the items were copied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An input object that defines the items in a requisition list to be moved.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MoveItemsBetweenRequisitionListsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of IDs representing products moved from one requisition list to another.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisitionListItemUids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to move items to another requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MoveItemsBetweenRequisitionListsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The destination requisition list after moving items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destination_requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The source requisition list after moving items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "source_requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines requisition list filters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequisitionListFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the display name of the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterMatchTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter requisition lists by one or more requisition list IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uids" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to create a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateRequisitionListOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The created requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "requisition_list" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionList" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to clear the customer cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ClearCustomerCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after clearing items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether cart was cleared.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the items to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequisitionListItemsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Entered option IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "For configurable products, the SKU of the parent product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the product to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Selected option IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The product SKU.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ContactUsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The shopper's comment to the merchant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the shopper.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The full name of the shopper.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The shopper's telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the status of the request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContactUsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the request was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input required to run the `applyStoreCreditToCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyStoreCreditToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the possible output for the `applyStoreCreditToCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyStoreCreditToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The contents of the specified shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input required to run the `removeStoreCreditFromCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveStoreCreditFromCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the possible output for the `removeStoreCreditFromCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveStoreCreditFromCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The contents of the specified shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the applied and current balances.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AppliedStoreCredit" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The applied store credit balance to the current cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current balance remaining on store credit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "current_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains store credit information with balance and history.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerStoreCredit" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's store credit balance history. If the history or store credit feature is disabled, then a null value will be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance_history" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. This value is optional. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerStoreCreditHistory" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current balance of store credit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "current_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether store credits are enabled. If the feature is disabled, then the balance will not be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Lists changes to the amount of store credit available to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerStoreCreditHistory" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about changes to the store credit available to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerStoreCreditHistoryItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata for pagination rendering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains store credit history information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerStoreCreditHistoryItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The action that was made on the store credit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "action" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The store credit available to the customer as a result of this action. ", + "block": true + }, + "name": { + "kind": "Name", + "value": "actual_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount added to or subtracted from the store credit as a result of this action.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance_change" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time when the store credit change was made.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date_time_changed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "AddDownloadableProductsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of downloadable products to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductCartItemInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a single downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableProductCartItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID and value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity and SKU of the downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of objects containing the link_id of the downloadable product link.", + "block": true + }, + "name": { + "kind": "Name", + "value": "downloadable_product_links" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductLinksInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the link ID for the downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableProductLinksInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the downloadable product link.", + "block": true + }, + "name": { + "kind": "Name", + "value": "link_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after adding downloadable products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddDownloadableProductsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation for downloadable product cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableCartItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the customizable options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about the links for the downloadable product added to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about samples of the selected downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "samples" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductSamples" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a product that the shopper downloads.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about the links for this downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "downloadable_product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about samples of this downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "downloadable_product_samples" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductSamples" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value of 1 indicates that each link in the array must be purchased separately.", + "block": true + }, + "name": { + "kind": "Name", + "value": "links_purchased_separately" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The heading above the list of downloadable products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "links_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "DownloadableFileTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FILE" + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "URL" + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines characteristics of a downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableProductLinks" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "This information should not be exposed on frontend." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "is_shareable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "This information should not be exposed on frontend." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "link_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableFileTypeEnum" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "number_of_downloads" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "This information should not be exposed on frontend." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "sample_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "sample_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableFileTypeEnum" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full URL to the downloadable sample.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sample_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number indicating the sort order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the link.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `DownloadableProductLinks` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines characteristics of a downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableProductSamples" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "This information should not be exposed on frontend." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "sample_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "sample_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableFileTypeEnum" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "`sample_url` serves to get the downloadable sample" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full URL to the downloadable sample.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sample_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number indicating the sort order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the sample.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines downloadable product options for `OrderItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableOrderItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final discount information for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of downloadable links that are ordered from the downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "downloadable_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableItemsLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the order item is eligible to be in a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eligible_for_return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered option for the base product, such as a logo or image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift message for the order item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `OrderItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ProductInterface object, which contains details about the base product", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price of the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of product, such as simple, configurable, etc.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL key of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of canceled items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_canceled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of units ordered for this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_ordered" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_returned" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected options for the base product, such as color or size.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines downloadable product options for `InvoiceItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableInvoiceItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of downloadable links that are invoiced from the downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "downloadable_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableItemsLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `InvoiceItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an individual order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InvoiceItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines downloadable product options for `CreditMemoItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableCreditMemoItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of downloadable links that are refunded from the downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "downloadable_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableItemsLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CreditMemoItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item the credit memo is applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemoItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines characteristics of the links for downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableItemsLinks" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number indicating the sort order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the link.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `DownloadableItemsLinks` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A downloadable product wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about the selected links.", + "block": true + }, + "name": { + "kind": "Name", + "value": "links_v2" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about the selected samples.", + "block": true + }, + "name": { + "kind": "Name", + "value": "samples" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductSamples" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the output schema for a company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Company" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of all resources defined within the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "acl_resources" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyAclResource" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing information about the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_admin" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Company credit balances and limits.", + "block": true + }, + "name": { + "kind": "Name", + "value": "credit" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCredit" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the history of company credit operations.", + "block": true + }, + "name": { + "kind": "Name", + "value": "credit_history" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditHistoryFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditHistory" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company contact.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Company` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The address where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyLegalAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full legal name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of payment methods available to a company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_methods" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The resale number that is assigned to the company for tax reporting purposes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reseller_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A company role filtered by the unique ID of a `CompanyRole` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that contains a list of company roles.", + "block": true + }, + "name": { + "kind": "Name", + "value": "roles" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRoles" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing information about the company sales representative.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sales_representative" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanySalesRepresentative" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company structure of teams and customers in depth-first order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "structure" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the node in the company structure that serves as the root for the query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rootId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum depth that can be reached when listing structure nodes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "depth" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "10" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyStructure" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company team data filtered by the unique ID for a `CompanyTeam` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "team" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeam" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A company user filtered by the unique ID of a `Customer` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that contains a list of company users based on activity status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "users" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The type of company users to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "filter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUsersFilterInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default value is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUsers" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_tax_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the address where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyLegalAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The city where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The country code of the company's legal address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing region data for the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressRegion" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the company's street address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company's phone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyAdmin" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's gender (Male - 1, Female - 2, Not Specified - 3).", + "block": true + }, + "name": { + "kind": "Name", + "value": "gender" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyAdmin` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The job title of the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "job_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's last name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a company sales representative.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanySalesRepresentative" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company sales representative.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company sales representative's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company sales representative's last name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about company users.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyUsers" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `CompanyUser` objects that match the specified filter criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of objects returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of roles.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyRoles" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of company roles that match the specified filter criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of objects matching the specified filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contails details about a single role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyRole" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyRole` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name assigned to the role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of permission resources defined for a role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "permissions" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyAclResource" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of users assigned the specified role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "users_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the access control list settings of a resource.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyAclResource" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of sub-resources.", + "block": true + }, + "name": { + "kind": "Name", + "value": "children" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyAclResource" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyAclResource` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sort order of an ACL resource.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the ACL resource.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response of a role name validation query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "IsCompanyRoleNameAvailableOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the specified company role name is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_role_name_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response of a company user email validation query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "IsCompanyUserEmailAvailableOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the specified email address can be used to create a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_email_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response of a company admin email validation query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "IsCompanyAdminEmailAvailableOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the specified email address can be used to create a company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_email_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response of a company email validation query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "IsCompanyEmailAvailableOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the specified email address can be used to create a company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_email_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "UnionTypeDefinition", + "name": { + "kind": "Name", + "value": "CompanyStructureEntity" + }, + "directives": [], + "types": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeam" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + } + ] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of the individual nodes that comprise the company structure.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyStructure" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of elements in a company structure.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyStructureItem" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describes a company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyTeam" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An optional description of the team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyTeam` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "ID of the company structure", + "block": true + }, + "name": { + "kind": "Name", + "value": "structure_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the filter for returning a list of company users.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyUsersFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The activity status to filter on.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserStatusEnum" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the list of company user status values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyUserStatusEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Only active users.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ACTIVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Only inactive users.", + "block": true + }, + "name": { + "kind": "Name", + "value": "INACTIVE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to create a company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateCompanyTeamOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The new company team instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "team" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeam" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to update a company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCompanyTeamOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated company team instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "team" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyTeam" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the status of the request to delete a company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteCompanyTeamOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the delete operation succeeded.", + "block": true + }, + "name": { + "kind": "Name", + "value": "success" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for creating a company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyTeamCreateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An optional description of the team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a node within a company's structure. This ID will be the parent of the created team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "target_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for updating a company team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyTeamUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An optional description of the team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the `CompanyTeam` object to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the team.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to update the company structure.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCompanyStructureOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated company instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Company" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for updating the company structure.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyStructureUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a company that will be the new parent.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_tree_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the company team that is being moved to another parent.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tree_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to create a company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateCompanyOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The new company instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Company" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to update the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCompanyOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated company instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Company" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to create a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateCompanyUserOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The new company user instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to update the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCompanyUserOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated company user instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to delete the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteCompanyUserOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the company user has been deactivated successfully.", + "block": true + }, + "name": { + "kind": "Name", + "value": "success" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to create a company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateCompanyRoleOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The new company role instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to update the company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateCompanyRoleOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated company role instance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to the request to delete the company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteCompanyRoleOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "SIndicates whether the company role has been deleted successfully.", + "block": true + }, + "name": { + "kind": "Name", + "value": "success" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for creating a new company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyCreateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_admin" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyAdminInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company contact.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the company to create.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines legal address data of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyLegalAddressCreateInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The full legal name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The resale number that is assigned to the company for tax reporting purposes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reseller_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_tax_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for creating a company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyAdminInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's gender (Male - 1, Female - 2, Not Specified - 3).", + "block": true + }, + "name": { + "kind": "Name", + "value": "gender" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The job title of the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "job_title" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company administrator's last name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The phone number of the company administrator.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for defining a company's legal address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyLegalAddressCreateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The city where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company's country ID. Use the `countries` query to get this value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The postal code of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name and/or region ID where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressRegionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street address where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The primary phone number of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for updating a company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the company contact.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_email" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the company to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The legal address data of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyLegalAddressUpdateInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The full legal name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The resale number that is assigned to the company for tax reporting purposes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reseller_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_tax_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for updating a company's legal address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyLegalAddressUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The city where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Country` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The postal code of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An object containing the region name and/or region ID where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressRegionInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street address where the company is registered to conduct business.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The primary phone number of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for creating a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyUserCreateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's email address", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's job title or function.", + "block": true + }, + "name": { + "kind": "Name", + "value": "job_title" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's last name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyRole` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the company user is ACTIVE or INACTIVE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserStatusEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of a node within a company's structure. This ID will be the parent of the created company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "target_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's phone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for updating a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyUserUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's email address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's first name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Customer` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's job title or function.", + "block": true + }, + "name": { + "kind": "Name", + "value": "job_title" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's last name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyRole` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the company user is ACTIVE or INACTIVE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserStatusEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company user's phone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for creating a company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyRoleCreateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the role to create.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A list of resources the role can access.", + "block": true + }, + "name": { + "kind": "Name", + "value": "permissions" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for updating a company role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyRoleUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyRole` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the role to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A list of resources the role can access.", + "block": true + }, + "name": { + "kind": "Name", + "value": "permissions" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input for returning matching companies the customer is assigned to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UserCompaniesInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default value is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the maximum number of results to return at once. This attribute is optional.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the sorting of the results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompaniesSortInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An object that contains a list of companies customer is assigned to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UserCompaniesOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of companies customer is assigned to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyBasicInfo" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Provides navigation for the query response.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which field to sort on, and whether to return the results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompaniesSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The field for sorting the results.", + "block": true + }, + "name": { + "kind": "Name", + "value": "field" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompaniesSortFieldEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to return results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The fields available for sorting the customer companies.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompaniesSortFieldEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NAME" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The minimal required information to identify and display the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyBasicInfo" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Company` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The full legal name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "legal_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input schema for accepting the company invitation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyInvitationInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The invitation code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company role id.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Company user attributes in the invitation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyInvitationUserInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Company user attributes in the invitation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyInvitationUserInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The company unique identifier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer unique identifier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The job title of a company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "job_title" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the company user is ACTIVE or INACTIVE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyUserStatusEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The phone number of the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The result of accepting the company invitation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyInvitationOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer was added to the company successfully.", + "block": true + }, + "name": { + "kind": "Name", + "value": "success" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an individual node in the company structure.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyStructureItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A union of `CompanyTeam` and `Customer` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyStructureEntity" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CompanyStructureItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the parent item in the company hierarchy.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a single dynamic block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DynamicBlock" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The renderable HTML code of the dynamic block.", + "block": true + }, + "name": { + "kind": "Name", + "value": "content" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `DynamicBlock` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of dynamic blocks.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DynamicBlocks" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing individual dynamic blocks.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DynamicBlock" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata for pagination rendering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned dynamic blocks.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the dynamic block filter. The filter can identify the block type, location and IDs to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DynamicBlocksFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of dynamic block UIDs to filter on.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_block_uids" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array indicating the locations the dynamic block can be placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "locations" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DynamicBlockLocationEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the product currently viewed", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A value indicating the type of dynamic block to filter on.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DynamicBlockTypeEnum" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the selected Dynamic Blocks Rotator inline widget.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DynamicBlockTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SPECIFIED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CART_PRICE_RULE_RELATED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CATALOG_PRICE_RULE_RELATED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the locations the dynamic block can be placed. If this field is not specified, the query returns all locations.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DynamicBlockLocationEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CONTENT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HEADER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FOOTER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LEFT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RIGHT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "Currency" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of three-letter currency codes accepted by the store, such as USD and EUR.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_currency_codes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The base currency set for the store, such as USD.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_currency_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The symbol for the specified base currency, such as $.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_currency_symbol" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "default_display_currecy_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Symbol was missed. Use `default_display_currency_code`." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "default_display_currecy_symbol" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Symbol was missed. Use `default_display_currency_code`." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The currency that is displayed by default, such as USD.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_display_currency_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The currency symbol that is displayed by default, such as $.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_display_currency_symbol" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of exchange rates for currencies defined in the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "exchange_rates" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ExchangeRate" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Lists the exchange rate.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ExchangeRate" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the store’s default currency to exchange to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currency_to" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The exchange rate for the store’s default currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rate" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "Country" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of regions within a particular country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_regions" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Region" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the country in English.", + "block": true + }, + "name": { + "kind": "Name", + "value": "full_name_english" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the country in the current locale.", + "block": true + }, + "name": { + "kind": "Name", + "value": "full_name_locale" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Country` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The three-letter abbreviation of the country, such as USA.", + "block": true + }, + "name": { + "kind": "Name", + "value": "three_letter_abbreviation" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The two-letter abbreviation of the country, such as US.", + "block": true + }, + "name": { + "kind": "Name", + "value": "two_letter_abbreviation" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "Region" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The two-letter code for the region, such as TX for Texas.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Region` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the region, such as Texas.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of downloadable products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerDownloadableProducts" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of purchased downloadable items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerDownloadableProduct" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a single downloadable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerDownloadableProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the purchase was made.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The fully qualified URL to the download file.", + "block": true + }, + "name": { + "kind": "Name", + "value": "download_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID assigned to the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_increment_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The remaining number of times the customer can download the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "remaining_downloads" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates when the product becomes available for download. Options are `Pending` and `Invoiced`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about downloadable products added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DownloadableRequisitionListItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of links for downloadable products in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductLinks" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the product added to the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of links to downloadable product samples.", + "block": true + }, + "name": { + "kind": "Name", + "value": "samples" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DownloadableProductSamples" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an item in a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the bundle products to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddBundleProductsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of bundle products to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BundleProductCartItemInput" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a single bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleProductCartItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A mandatory array of options for the bundle product, including each chosen option and specified quantity.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BundleOptionInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID and value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity and SKU of the bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input for a bundle option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleOptionInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The number of the selected item to add to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array with the chosen value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the cart after adding bundle products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddBundleProductsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An implementation for bundle product cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleCartItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of available gift wrapping options for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the bundle options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedBundleOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the customizable options the shopper selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered gift message for the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the cart item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a selected bundle option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedBundleOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the selected bundle product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of selected bundle product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `SelectedBundleOption` object", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selected bundle option values.", + "block": true + }, + "name": { + "kind": "Name", + "value": "values" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedBundleOptionValue" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a value for a selected bundle option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedBundleOptionValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Use `uid` instead", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the value for the selected bundle product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the value for the selected bundle product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the value for the selected bundle product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `SelectedBundleOptionValue` object", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Can be used to retrieve the main price details in case of bundle product", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceDetails" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The percentage of discount applied to the main product price", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount_percentage" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final price after applying the discount to the main product", + "block": true + }, + "name": { + "kind": "Name", + "value": "main_final_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The regular price of the main product", + "block": true + }, + "name": { + "kind": "Name", + "value": "main_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an individual item within a bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An ID assigned to each type of item in a bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "option_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of additional options for this bundle item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BundleItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number indicating the sequence order of this item compared to the other bundle items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the item must be included in the bundle.", + "block": true + }, + "name": { + "kind": "Name", + "value": "required" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The input type that the customer uses to select the item. Examples include radio button and checkbox.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `BundleItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the characteristics that comprise a specific bundle item and its options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleItemOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer can change the number of items for this option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "can_change_quantity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the bundled item option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether this option is the default option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_default" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The text that identifies the bundled item option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "When a bundle item contains multiple options, the relative position of this option compared to the other options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the selected option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of FIXED, PERCENT, or DYNAMIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about this product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the quantity of this specific bundle item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `quantity` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this specific bundle item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `BundleItemOption` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines basic features of a bundle product and contains multiple BundleItems.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the bundle product has a dynamic price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the bundle product has a dynamic SKU.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the bundle product has a dynamically calculated weight.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about individual bundle items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BundleItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price details of the main product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_details" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceDetails" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRICE_RANGE or AS_LOW_AS.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_view" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceViewEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to ship bundle items together or individually.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ship_bundle_items" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipBundleItemsEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PhysicalProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines whether a bundle product's price is displayed as the lowest possible value or as a range.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PriceViewEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRICE_RANGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AS_LOW_AS" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines whether bundle items must be shipped together.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipBundleItemsEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TOGETHER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SEPARATELY" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines bundle product options for `OrderItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleOrderItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of bundle options that are assigned to the bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final discount information for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the order item is eligible to be in a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eligible_for_return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered option for the base product, such as a logo or image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift message for the order item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `OrderItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ProductInterface object, which contains details about the base product", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price of the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of product, such as simple, configurable, etc.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL key of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of canceled items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_canceled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of units ordered for this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_ordered" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_returned" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected options for the base product, such as color or size.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines bundle product options for `InvoiceItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleInvoiceItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of bundle options that are assigned to an invoiced bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `InvoiceItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an individual order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InvoiceItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines bundle product options for `ShipmentItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleShipmentItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of bundle options that are assigned to a shipped product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ShipmentItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item associated with the shipment item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipmentItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines bundle product options for `CreditMemoItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleCreditMemoItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of bundle options that are assigned to a bundle product that is part of a credit memo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CreditMemoItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item the credit memo is applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemoItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A list of options of the selected bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ItemSelectedBundleOption` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ItemSelectedBundleOption` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of products that represent the values of the parent option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "values" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOptionValue" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A list of values for the selected bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ItemSelectedBundleOptionValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ItemSelectedBundleOptionValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the child bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the child bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the child bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of this bundle product that were ordered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ItemSelectedBundleOptionValue` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines bundle product options for `WishlistItemInterface`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about the selected bundle items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedBundleOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ProductAttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attribute labels defined for the current store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_labels" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StoreLabels" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The data type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "data_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ObjectDataTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute is a system attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_system" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative position of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Frontend UI properties of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Places in the store front where the attribute is used.", + "block": true + }, + "name": { + "kind": "Name", + "value": "used_in_components" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributesListsEnum" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeMetadataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CustomAttributesListsEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_DETAILS_PAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCTS_LISTING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCTS_COMPARE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_SORT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_FILTER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_SEARCH_RESULTS_FILTER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ADVANCED_CATALOG_SEARCH" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input required to run the `applyGiftCardToCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyGiftCardToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The gift card code to be applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the possible output for the `applyGiftCardToCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyGiftCardToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Describes the contents of the specified shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the input required to run the `removeGiftCardFromCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveGiftCardFromCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The gift card code to be removed to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the possible output for the `removeGiftCardFromCart` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveGiftCardFromCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The contents of the specified shopping cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an applied gift card with applied and remaining balance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AppliedGiftCard" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount applied to the current cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift card account code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The remaining balance on the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "current_balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiration date of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "expiration_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the gift card code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardAccountInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The applied gift card code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the gift card account.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardAccount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The balance remaining on the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift card account code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiration date of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "expiration_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the sales total amounts used to calculate the final price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderTotal" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final base grand total amount in the base currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The applied discounts to the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final total amount, including shipping, discounts, and taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the shipping and handling costs for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_handling" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingHandling" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subtotal of the order, excluding shipping, discounts, and taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subtotal" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order tax details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TaxItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift card balance applied to the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_giftcard" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping amount for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_shipping" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of tax applied to the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated: Use the `Wishlist` type instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items in the customer's wish list", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItem" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `Wishlist.items` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items in the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `Wishlist.items_count` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "When multiple wish lists are enabled, the name the customer assigns to the wishlist.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "This field is related to Commerce functionality and is always `null` in Open Source." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An encrypted code that links to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sharing_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `Wishlist.sharing_code` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The time of the last modification to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `Wishlist.updated_at` field instead." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a customer wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Wishlist" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Wishlist` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItem" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `items_v2` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items in the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items in the customer's wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_v2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItems" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An encrypted code that Magento uses to link to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sharing_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The time of the last modification to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the wish list is public or private.", + "block": true + }, + "name": { + "kind": "Name", + "value": "visibility" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistVisibilityEnum" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The interface for wish list items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of items in a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItems" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of items in the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The time when the customer added the item to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's comment about this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item", + "block": true + }, + "name": { + "kind": "Name", + "value": "qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the resultant wish list and any error information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddWishlistItemsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while adding products to the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "add_wishlist_items_to_cart_user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistCartUserInputError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attempt to add items to the customer's cart was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the wish list with all items that were successfully added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about errors encountered when a customer added wish list items to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistCartUserInputError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An error code that describes the error encountered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistCartUserInputErrorType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the `Wishlist` object containing an error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the wish list item containing an error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlistItemId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A list of possible error types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistCartUserInputErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_SALABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INSUFFICIENT_STOCK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the items to add to a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options that the customer entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "For complex product types, the SKU of the parent product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The amount or number of items to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings corresponding to options the customer selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the product to add. For complex product types, specify the child product SKU.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's wish list and any errors encountered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddProductsToWishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while adding products to a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishListUserInputError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the wish list with all items that were successfully added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's wish list and any errors encountered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveProductsFromWishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while deleting products from a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishListUserInputError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the wish list with after items were successfully deleted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines updates to items in a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItemUpdateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Customer-entered comments about the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options that the customer entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new amount or number of this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings corresponding to options the customer selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist_item_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's wish list and any errors encountered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateProductsInWishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while updating products in a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishListUserInputError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the wish list with all items that were successfully updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An error encountered while performing operations with WishList.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishListUserInputError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A wish list-specific error code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishListUserInputErrorType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A list of possible error types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishListUserInputErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines properties of a gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer can provide a message to accompany the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether shoppers have the ability to set the value of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "allow_open_amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of customizable gift card options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that contains information about the values and ID of a gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftcard_amounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardAmounts" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An enumeration that specifies the type of gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "giftcard_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer can redeem the value on the card for cash.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_redeemable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of days after purchase until the gift card expires. A null value means there is no limit.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lifetime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of characters the gift message can contain.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message_max_length" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum acceptable value of an open amount gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "open_amount_max" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum acceptable value of an open amount gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "open_amount_min" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options for a customizable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableOptionInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PhysicalProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomizableProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the value of a gift card, the website that generated the card, and related information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardAmounts" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An internal attribute ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `GiftCardAmounts` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An ID that is assigned to each unique gift card amount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the website that generated the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the gift card type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VIRTUAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PHYSICAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "COMBINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftCardOrderItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final discount information for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the order item is eligible to be in a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eligible_for_return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered option for the base product, such as a logo or image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected gift card properties for an order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardItem" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift message for the order item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `OrderItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ProductInterface object, which contains details about the base product", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price of the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of product, such as simple, configurable, etc.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL key of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of canceled items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_canceled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of units ordered for this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_ordered" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_returned" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected options for the base product, such as color or size.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftCardInvoiceItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected gift card properties for an invoice item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardItem" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `InvoiceItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an individual order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InvoiceItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftCardCreditMemoItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected gift card properties for a credit memo item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardItem" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CreditMemoItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item the credit memo is applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemoItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftCardShipmentItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected gift card properties for a shipment item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardItem" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ShipmentItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item associated with the shipment item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipmentItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message from the sender to the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the receiver of a virtual gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipient_email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the receiver of a physical or virtual gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipient_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the sender of a virtual gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender_email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the sender of a physical or virtual gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a gift card that has been added to a cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardCartItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount and currency of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of customizations applied to the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains discount for quote line item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while loading the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemError" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "True if requested quantity is less than available stock, false otherwise.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_available" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item max qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message from the sender to the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Line item min qty in quote template", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The buyer's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_buyer" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The seller's quote line item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note_from_seller" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ItemNote" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the price of the item, including taxes and discounts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item in the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the person receiving the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipient_email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the person receiving the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipient_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender_email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A single gift card added to a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardOptions" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the sender, recipient, and amount of a gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardOptions" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount and currency of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The custom amount and currency of the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_giftcard_amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A message to the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the person receiving the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipient_email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the person receiving the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipient_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the person sending the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender_email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the person sending the gift card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the text of a gift message, its sender, and recipient", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftMessage" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Sender name", + "block": true + }, + "name": { + "kind": "Name", + "value": "from" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Gift message text", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Recipient name", + "block": true + }, + "name": { + "kind": "Name", + "value": "to" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a gift message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftMessageInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "from" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The text of the gift message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the recepient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "to" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "SalesItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered gift message for the order item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about each of the customer's orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerOrder" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Coupons applied to the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applied_coupons" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AppliedCoupon" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "billing_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping carrier for the order delivery.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Comments about the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SalesCommentItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `order_date` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of credit memos.", + "block": true + }, + "name": { + "kind": "Name", + "value": "credit_memos" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemo" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Order customer email.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered gift message for the order", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer requested a gift receipt for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_receipt_included" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "grand_total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `totals.grand_total` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomerOrder` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "increment_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `id` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of invoices for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "invoices" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Invoice" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing the items purchased in this order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of order items eligible to be in a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_eligible_for_return" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the order was placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_date" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "order_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `number` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Payment details for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_methods" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderPaymentMethod" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer requested a printed card for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "printed_card_included" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return requests associated with this order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "returns" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Returns" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of shipments for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderShipment" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping address for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The delivery method for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_method" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current state of the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "state" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current status of the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The token that can be used to retrieve the order using order query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the calculated totals for this order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderTotal" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Order item details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final discount information for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the order item is eligible to be in a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eligible_for_return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered option for the base product, such as a logo or image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift message for the order item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `OrderItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ProductInterface object, which contains details about the base product", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price of the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of product, such as simple, configurable, etc.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL key of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of canceled items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_canceled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of units ordered for this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_ordered" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_returned" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected options for the base product, such as color or size.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a gift registry search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistrySearchResult" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title given to the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL key of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The location of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "location" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the gift registry owner.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of event being held.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A unique key for an additional attribute of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that describes a dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the sender of an invitation to view a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShareGiftRegistrySenderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A brief message from the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The sender of the gift registry invitation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a gift registry invitee.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShareGiftRegistryInviteeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the gift registry invitee.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the gift registry invitee.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an item to add to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddGiftRegistryItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of options the customer has entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredOptionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A brief note about the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "For complex product types, the SKU of the parent product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "parent_sku" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the product to add.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings corresponding to options the customer has selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the product to add to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a new gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateGiftRegistryInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Additional attributes specified as a code-value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the selected event type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry_type_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A message describing the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the registry is PRIVATE or PUBLIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "privacy_settings" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryPrivacySettings" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The list of people who receive notifications about the registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "registrants" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AddGiftRegistryRegistrantInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping address for all gift registry items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryShippingAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the registry is ACTIVE or INACTIVE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryStatus" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines updates to an item in a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `giftRegistryItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry_item_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated quantity of the gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines updates to a `GiftRegistry` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Additional attributes specified as a code-value pair. Unspecified dynamic attributes are not changed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated name of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated message describing the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the gift registry is PRIVATE or PUBLIC.", + "block": true + }, + "name": { + "kind": "Name", + "value": "privacy_settings" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryPrivacySettings" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated shipping address for all gift registry items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryShippingAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the gift registry is ACTIVE or INACTIVE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryStatus" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a new registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddGiftRegistryRegistrantInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Additional attributes specified as a code-value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a shipping address for a gift registry. Specify either `address_data` or the `address_id`. If both are provided, validation will fail.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryShippingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the shipping address for this gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address_data" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to this customer address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines updates to an existing registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryRegistrantInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "As a result of the update, only the values of provided attributes will be affected. If the attribute is missing in the request, its value will not be changed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated email address of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated first name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `giftRegistryRegistrant` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry_registrant_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated last name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryOutputInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryOutputInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the status and any errors that encountered with the customer's gift register item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryItemUserErrorInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attempt to move the cart items to the gift registry was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while moving items from the cart to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemsUserError" + } + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains error information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryItemUserErrors" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attempt to move the cart items to the gift registry was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while moving items from the cart to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemsUserError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemUserErrorInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about an error that occurred when processing a gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryItemsUserError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An error code that describes the error encountered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemsUserErrorType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the gift registry item containing an error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry_item_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the `GiftRegistry` object containing an error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the product containing an error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_uid" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the error type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryItemsUserErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Used for handling out of stock products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OUT_OF_STOCK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Used for exceptions like EntityNotFound.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Used for other exceptions, such as database connection failures.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's gift registry and any errors encountered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MoveCartItemsToGiftRegistryOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attempt to move the cart items to the gift registry was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while moving items from the cart to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemsUserError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryOutputInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemUserErrorInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to delete a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveGiftRegistryOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the gift registry was successfully deleted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "success" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to remove an item from a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveGiftRegistryItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry after removing items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to update gift registry items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry after updating updating items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to share a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShareGiftRegistryOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the gift registry was successfully shared.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_shared" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to create a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateGiftRegistryOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The newly-created gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to update a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to add registrants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddGiftRegistryRegistrantsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry after adding registrants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results a request to update registrants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateGiftRegistryRegistrantsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry after updating registrants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of a request to delete a registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveGiftRegistryRegistrantsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift registry after deleting registrants.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_registry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistry" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistry" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date on which the gift registry was created. Only the registry owner can access this attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttribute" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of products added to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message text the customer entered to describe the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer who created the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "owner_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An enum that states whether the gift registry is PRIVATE or PUBLIC. Only the registry owner can access this attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "privacy_settings" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryPrivacySettings" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about each registrant for the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "registrants" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryRegistrant" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer's shipping address. Only the registry owner can access this attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An enum that states whether the gift registry is ACTIVE or INACTIVE. Only the registry owner can access this attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryStatus" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryType" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID assigned to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a gift registry type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryType" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes_metadata" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeMetadataInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the gift registry type on the Admin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID assigned to the gift registry type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeMetadataInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates which group the dynamic attribute a member of.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_group" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected input type for this dynamic attribute. The value can be one of several static or custom types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the dynamic attribute is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which to display the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates which group the dynamic attribute a member of.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_group" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected input type for this dynamic attribute. The value can be one of several static or custom types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "input_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the dynamic attribute is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order in which to display the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeMetadataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the status of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ACTIVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INACTIVE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the privacy setting of the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryPrivacySettings" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRIVATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PUBLIC" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryRegistrant" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of dynamic attributes assigned to the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryRegistrantDynamicAttribute" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the registrant. Only the registry owner can access this attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID assigned to the registrant.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A corresponding value for the code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryRegistrantDynamicAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A corresponding value for the code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal ID of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates which group the dynamic attribute is a member of.", + "block": true + }, + "name": { + "kind": "Name", + "value": "group" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeGroup" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display name of the dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A corresponding value for the code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the group type of a gift registry dynamic attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftRegistryDynamicAttributeGroup" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "EVENT_INFORMATION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRIVACY_SETTINGS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REGISTRANT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GENERAL_INFORMATION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DETAILED_INFORMATION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SHIPPING_ADDRESS" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the product was added to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief message about the gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The requested quantity of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The fulfilled quantity of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_fulfilled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GiftRegistryItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the product was added to the gift registry.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief message about the gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The requested quantity of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The fulfilled quantity of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_fulfilled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a gift registry item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftRegistryItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the selected or available gift wrapping options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftWrapping" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the gift wrapping design.", + "block": true + }, + "name": { + "kind": "Name", + "value": "design" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `GiftWrapping` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `uid` instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The preview image for a gift wrapping option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrappingImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift wrapping price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `GiftWrapping` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Points to an image associated with a gift wrapping option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftWrappingImage" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift wrapping preview image label.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The gift wrapping preview image URL.", + "block": true + }, + "name": { + "kind": "Name", + "value": "url" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains prices for gift wrapping options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftOptionsPrices" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Price of the gift wrapping for all individual order items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping_for_items" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Price of the gift wrapping for the whole order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping_for_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Price for the printed card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "printed_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the gift options applied to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetGiftOptionsOnCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the shopper's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Gift message details for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessageInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether customer requested gift receipt for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_receipt_included" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `GiftWrapping` object to be used for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether customer requested printed card for the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "printed_card_included" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the cart after gift options have been applied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetGiftOptionsOnCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The modified cart object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about bundle products added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "BundleRequisitionListItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selected options for a bundle product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "bundle_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedBundleOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the product added to the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an item in a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a grouped product, which consists of simple standalone products that are presented as a group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GroupedProduct" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_announcement_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_custom_engraving_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_detailed_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_description_pagebuilder_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_gemstone_addon" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "accessory_recyclable_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The attribute set assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_set_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "canonical_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The categories assigned to a product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "categories" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CategoryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product's country of origin.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_of_manufacture" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of cross-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "crosssell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product custom attributes details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttribute" + } + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use Adobe Commerce `custom_attributesV2` query instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product custom attributes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filters" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFilterInput" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductCustomAttributes" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the product. The value can include simple HTML tags.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description_extra" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_material" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fashion_style" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "format" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether a gift message is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message_available" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "has_video" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID number assigned to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `uid` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the main image on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product can be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_returnable" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing grouped product items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GroupedProductItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number representing the product's manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "manufacturer" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of media gallery objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of MediaGalleryEntry objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "media_gallery_entries" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MediaGalleryEntry" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `media_gallery` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A brief overview of the product for search results listings, maximum 255 characters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A comma-separated list of keywords that are visible only to search engines.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_keyword" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "meta_title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The product name. Customers use this name to identify the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for new product listings.", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product stock only x left count", + "block": true + }, + "name": { + "kind": "Name", + "value": "only_x_left_in_stock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "If the product has multiple options, determines where they appear on the product page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options_container" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the price of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductPrices" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_range` for product price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The range of prices for the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_range" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PriceRange" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `TierPrice` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "price_tiers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TierPrice" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of `ProductLinks` objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_links" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductLinksInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all the ratings given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rating_summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of related products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "related_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", + "block": true + }, + "name": { + "kind": "Name", + "value": "relative_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of all the reviews given to the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of products reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reviews" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviews" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A short description of the product. Its use depends on the theme.", + "block": true + }, + "name": { + "kind": "Name", + "value": "short_description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ComplexTextValue" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the small image, which is used on catalog pages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "small_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The beginning date that a product has a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_from_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The discounted price of the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The end date for a product with a special price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "special_to_date" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the product is staged for a future campaign.", + "block": true + }, + "name": { + "kind": "Name", + "value": "staged" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Stock status of the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "stock_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductStockStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The file name of a swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_image" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative path to the product's thumbnail image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductImage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ProductTierPrices objects.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tier_prices" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductTierPrices" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `price_tiers` for product tier price information." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewriteEntityTypeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `__typename` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ProductInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Timestamp indicating when the product was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of up-sell products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "upsell_products" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the URL that identifies the product", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "url_path" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use product's `canonical_url` or url rewrites instead" + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL rewrites list", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_rewrites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UrlRewrite" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The part of the product URL that is appended after the url key", + "block": true + }, + "name": { + "kind": "Name", + "value": "url_suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "video_file" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use the `custom_attributes` field instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of websites in which the product is available.", + "block": true + }, + "name": { + "kind": "Name", + "value": "websites" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Website" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "The field should not be used on the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The weight of the item, in units defined by the store.", + "block": true + }, + "name": { + "kind": "Name", + "value": "weight" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RoutableInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PhysicalProductInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about an individual grouped product item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GroupedProductItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative position of this item compared to the other group items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "position" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about this product option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this grouped product item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A grouped product wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GroupedProductWishlistItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the item was added to the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "added_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom options selected for the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The description of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `WishlistItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product details of the wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this wish list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "AreaInput defines the parameters which will be used for filter by specified location.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AreaInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The radius for the search in KM.", + "block": true + }, + "name": { + "kind": "Name", + "value": "radius" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The country code where search must be performed. Required parameter together with region, city or postcode.", + "block": true + }, + "name": { + "kind": "Name", + "value": "search_term" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "PickupLocationFilterInput defines the list of attributes and filters for the search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PickupLocationFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by city.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by pickup location name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by pickup location code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pickup_location_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by postcode.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by region id.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by street.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PickupLocationSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "City where pickup location is placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Name of the contact person.", + "block": true + }, + "name": { + "kind": "Name", + "value": "contact_name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Id of the country in two letters.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Description of the pickup location.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Distance to the address, requested by distance filter. Applicable only with distance filter. If distance sort order is present, all other sort orders will be ignored.", + "block": true + }, + "name": { + "kind": "Name", + "value": "distance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Contact email of the pickup location.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Contact fax of the pickup location.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Geographic latitude where pickup location is placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "latitude" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Geographic longitude where pickup location is placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "longitude" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The pickup location name. Customer use this to identify the pickup location.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Contact phone number of the pickup location.", + "block": true + }, + "name": { + "kind": "Name", + "value": "phone" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A code assigned to pickup location to identify the source.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pickup_location_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Postcode where pickup location is placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Name of the region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Id of the region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Street where pickup location is placed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Top level object returned in a pickup locations search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PickupLocations" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of pickup locations that match the specific search request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PickupLocation" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that includes the page_info and currentPage values specified in the query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of products returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines Pickup Location information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PickupLocation" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contact_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "country_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "fax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "latitude" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "longitude" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "phone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "pickup_location_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "region_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Product Information used for Pickup Locations search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductInfoInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Product SKU.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies which customer requires remote shopping assistance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GenerateCustomerTokenAsAdminInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the customer requesting remote shopping assistance.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the generated customer token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GenerateCustomerTokenAsAdminOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The generated customer token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_token" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Apply coupons to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyCouponsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of valid coupon codes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "coupon_codes" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "`replace` to replace the existing coupon(s) or `append` to add the coupon to the coupon(s) list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplyCouponsStrategy" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Remove coupons from the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveCouponsFromCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of coupon codes to be removed from the quote. If coupon_codes is empty all coupons will be removed from the quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "coupon_codes" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The strategy to apply coupons to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyCouponsStrategy" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Append new coupons keeping the coupons that have been applied before.", + "block": true + }, + "name": { + "kind": "Name", + "value": "APPEND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Remove all the coupons from the cart and apply only new provided coupons.", + "block": true + }, + "name": { + "kind": "Name", + "value": "REPLACE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the cart and any errors after adding products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReorderItemsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Detailed information about the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of reordering errors.", + "block": true + }, + "name": { + "kind": "Name", + "value": "userInputErrors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CheckoutUserInputError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An error encountered while adding an item to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CheckoutUserInputError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An error code that is specific to Checkout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CheckoutUserInputErrorCodes" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies the filter to use for filtering orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerOrdersFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filters by order number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterStringTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerOrderSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "This enumeration indicates whether to return results in ascending or descending order", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_direction" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the field to use for sorting", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_field" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrderSortableField" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the field to use for sorting", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerOrderSortableField" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts customer orders by number", + "block": true + }, + "name": { + "kind": "Name", + "value": "NUMBER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts customer orders by created_at field", + "block": true + }, + "name": { + "kind": "Name", + "value": "CREATED_AT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The collection of orders that match the conditions defined in the filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerOrders" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of customer orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total count of customer orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains detailed information about an order's billing and shipping addresses.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The city or town.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's country.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CountryCodeEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The fax number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "fax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the person associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The family name of the person associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The middle name of the person associated with the shipping/billing address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "middlename" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's ZIP or postal code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An honorific, such as Dr., Mr., or Mrs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prefix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The state or province name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Region` object of a pre-defined region.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of strings that define the street number and name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A value such as Sr., Jr., or III.", + "block": true + }, + "name": { + "kind": "Name", + "value": "suffix" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's Value-added tax (VAT) number (for corporate customers).", + "block": true + }, + "name": { + "kind": "Name", + "value": "vat_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "OrderItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final discount information for the product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the order item is eligible to be in a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "eligible_for_return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The entered option for the base product, such as a logo or image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift message for the order item", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftMessage" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected gift wrapping for the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_wrapping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftWrapping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `OrderItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ProductInterface object, which contains details about the base product", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price of the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of product, such as simple, configurable, etc.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "URL key of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_url_key" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of canceled items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_canceled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of units ordered for this item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_ordered" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of returned items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_returned" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The selected options for the base product, such as color or size.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Represents order item options like selected or entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderItemOption" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the option.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains tax item details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "TaxItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of tax applied to the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The rate used to calculate the tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rate" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A title that describes the tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains invoice details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Invoice" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Comments on the invoice.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SalesCommentItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Invoice` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Invoiced product details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InvoiceItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Sequential invoice number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Invoice total amount details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InvoiceTotal" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains detailes about invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "InvoiceItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `InvoiceItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an individual order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "InvoiceItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for an `InvoiceItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about an individual order item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of invoiced items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_invoiced" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InvoiceItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains price details from an invoice.", + "block": true + }, + "name": { + "kind": "Name", + "value": "InvoiceTotal" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final base grand total amount in the base currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The applied discounts to the invoice.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final total amount, including shipping, discounts, and taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the shipping and handling costs for the invoice.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_handling" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingHandling" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subtotal of the invoice, excluding shipping, discounts, and taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subtotal" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The invoice tax details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TaxItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping amount for the invoice.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_shipping" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of tax applied to the invoice.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about shipping and handling costs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShippingHandling" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping amount, excluding tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount_excluding_tax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping amount, including tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount_including_tax" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The applied discounts to the shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingDiscount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about taxes applied for shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TaxItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total amount for shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines an individual shipping discount. This discount can be applied to shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShippingDiscount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the discount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains order shipment details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderShipment" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Comments added to the shipment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SalesCommentItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `OrderShipment` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items included in the shipment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipmentItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sequential credit shipment number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of shipment tracking details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tracking" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipmentTracking" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SalesCommentItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The text of the message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The timestamp of the comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "timestamp" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Order shipment item details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipmentItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ShipmentItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item associated with the shipment item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ShipmentItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ShipmentItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item associated with the shipment item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of shipped items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_shipped" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipmentItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains order shipment tracking details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipmentTracking" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping carrier for the order delivery.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The tracking number of the order shipment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipment tracking title.", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the payment method used to pay for the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderPaymentMethod" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Additional data per payment method type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "additional_data" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "KeyValue" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label that describes the payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code that indicates how the order was paid for.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains credit memo details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreditMemo" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Comments on the credit memo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SalesCommentItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CreditMemo` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing details about refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemoItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sequential credit memo number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the total refunded amount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemoTotal" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Credit memo item details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreditMemoItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CreditMemoItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item the credit memo is applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CreditMemoItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the final discount amount for the base product, including discounts on options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CreditMemoItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order item the credit memo is applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sale price for the base product, including selected options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sale_price" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the base product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_sku" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of refunded items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_refunded" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditMemoItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains credit memo price details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreditMemoTotal" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An adjustment manually applied to the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "adjustment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final base grand total amount in the base currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "base_grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The applied discounts to the credit memo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discounts" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Discount" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The final total amount, including shipping, discounts, and taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the shipping and handling costs for the credit memo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_handling" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShippingHandling" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subtotal of the invoice, excluding shipping, discounts, and taxes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subtotal" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The credit memo tax details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "taxes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TaxItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping amount for the credit memo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_shipping" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of tax applied to the credit memo.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_tax" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a key-value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "KeyValue" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name part of the key/value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value part of the key/value pair.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CheckoutUserInputErrorCodes" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REORDER_NOT_AVAILABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_SALABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INSUFFICIENT_STOCK" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "This enumeration defines the scope type for customer orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ScopeTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GLOBAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEBSITE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "STORE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Input to retrieve an order based on token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Order token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Input to retrieve an order based on details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OrderInformationInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Order billing address email.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Order number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Order billing address postcode.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Identifies a quote to be duplicated", + "block": true + }, + "name": { + "kind": "Name", + "value": "DuplicateNegotiableQuoteInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "ID for the newly duplicated quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "duplicated_quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "ID of the quote to be duplicated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the newly created negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DuplicateNegotiableQuoteOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Negotiable Quote resulting from duplication operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuote" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first and last name of the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "buyer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteUser" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of comments made by the buyer and seller.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteComment" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiration period of the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "expiration_date" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of status and price changes for the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "history" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteHistoryEntry" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the minimum and maximum quantity settings are used.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_min_max_qty_used" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the negotiable quote template contains only virtual products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_virtual" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The list of items in the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Commitment for maximum orders", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_order_commitment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Commitment for minimum orders", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_order_commitment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title assigned to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of notifications for the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "notifications" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "QuoteTemplateNotificationMessage" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A set of subtotals and totals applied to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "prices" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CartPrices" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of shipping addresses applied to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_addresses" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteShippingAddress" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of items in the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains data for a negotiable quote template in a grid.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateGridItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the negotiable quote template was activated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "activated_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Company name the quote template is assigned to", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiration period of the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "expiration_date" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the minimum and maximum quantity settings are used.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_min_max_qty_used" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the negotiable quote template was last shared.", + "block": true + }, + "name": { + "kind": "Name", + "value": "last_shared_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Commitment for maximum orders", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_order_commitment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum negotiated grand total of the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_negotiated_grand_total" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Commitment for minimum orders", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_order_commitment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The title assigned to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of orders placed for the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "orders_placed" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first and last name of the sales representative.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sales_rep_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "State of the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "state" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first and last name of the buyer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "submitted_by" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of negotiable templates that match the specified filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplatesOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of negotiable quote templates", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateGridItem" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains pagination metadata", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the default sort field and all available sort fields.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_fields" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortFields" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of negotiable quote templates returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the updated negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteTemplateItemsQuantityOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The updated negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote_template" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplate" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the generated negotiable quote id.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GenerateNegotiableQuoteFromTemplateOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a generated `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "negotiable_quote_uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a failed delete operation on a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteTemplateOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A message that describes the error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "error_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Flag to mark whether the delete operation was successful.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a notification message for a negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "QuoteTemplateNotificationMessage" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The notification message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of notification message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter to limit the negotiable quotes to return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by state of one or more negotiable quote templates.", + "block": true + }, + "name": { + "kind": "Name", + "value": "state" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by status of one or more negotiable quote templates.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterEqualTypeInput" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the field to use to sort a list of negotiable quotes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateSortInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Whether to return results in ascending or descending order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_direction" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SortEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The specified sort field.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_field" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateSortableField" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines properties of a negotiable quote template request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequestNegotiableQuoteTemplateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The cart ID of the quote to create the new negotiable quote template from.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the items to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateNegotiableQuoteTemplateQuantitiesInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateItemQuantityInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the updated quantity of an item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateItemQuantityInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CartItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "item_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new max quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_qty" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new min quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_qty" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The new quantity of the negotiable quote item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the shipping address to assign to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SetNegotiableQuoteTemplateShippingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A shipping adadress to apply to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateShippingAddressInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuote` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines shipping addresses for the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateShippingAddressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "NegotiableQuoteAddressInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An ID from the company user's address book that uniquely identifies the address to be used for shipping.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_address_uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Text provided by the company user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_notes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote template properties to update.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SubmitNegotiableQuoteTemplateForReviewInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A comment for the seller to review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Commitment for maximum orders", + "block": true + }, + "name": { + "kind": "Name", + "value": "max_order_commitment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Commitment for minimum orders", + "block": true + }, + "name": { + "kind": "Name", + "value": "min_order_commitment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The title assigned to the negotiable quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote template id to accept quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AcceptNegotiableQuoteTemplateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote template id to open quote template.", + "block": true + }, + "name": { + "kind": "Name", + "value": "OpenNegotiableQuoteTemplateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the template id, from which to generate quote from.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GenerateNegotiableQuoteFromTemplateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the items to remove from the specified negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveNegotiableQuoteTemplateItemsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of IDs indicating which items to remove from the negotiable quote.", + "block": true + }, + "name": { + "kind": "Name", + "value": "item_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote template id of the quote template to cancel", + "block": true + }, + "name": { + "kind": "Name", + "value": "CancelNegotiableQuoteTemplateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A comment to provide reason of cancellation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancellation_comment" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote template id of the quote template to delete", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteNegotiableQuoteTemplateInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "template_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Sets quote item note.", + "block": true + }, + "name": { + "kind": "Name", + "value": "QuoteTemplateLineItemNoteInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `CartLineItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "item_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The note text to be added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "note" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `NegotiableQuoteTemplate` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "templateId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "NegotiableQuoteTemplateSortableField" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts negotiable quote templates by template id.", + "block": true + }, + "name": { + "kind": "Name", + "value": "TEMPLATE_ID" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "Sorts negotiable quote templates by the date they were last shared.", + "block": true + }, + "name": { + "kind": "Name", + "value": "LAST_SHARED_AT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about prior company credit operations.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyCreditHistory" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of company credit operations.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditOperation" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata for pagination rendering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of the company credit operations matching the specified filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a single company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyCreditOperation" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The credit balance as a result of the operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCredit" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order number associated with the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_reference_number" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the operation occurred.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditOperationType" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company user that submitted the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_by" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditOperationUser" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the administrator or company user that submitted a company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyCreditOperationUser" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the company user submitting the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of the company user submitting the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditOperationUserType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains company credit balances and limits.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyCredit" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The sum of the credit limit and the outstanding balance. If the company has exceeded the credit limit, the amount is as a negative value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_credit" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of credit extended to the company.", + "block": true + }, + "name": { + "kind": "Name", + "value": "credit_limit" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount reimbursed, less the total due from all orders placed using the Payment on Account payment method. The amount can be a positive or negative value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "outstanding_balance" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CompanyCreditOperationType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ALLOCATION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UPDATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PURCHASE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REIMBURSEMENT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REFUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REVERT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "CompanyCreditOperationUserType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ADMIN" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a filter for narrowing the results of a credit history search.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CompanyCreditHistoryFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order number associated with the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_reference_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The type of the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operation_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyCreditOperationType" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the person submitting the company credit operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_by" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the result of the `subscribeEmailToNewsletter` operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SubscribeEmailToNewsletterOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the subscription request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SubscriptionStatusesEnum" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the status of the request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SubscriptionStatusesEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_ACTIVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SUBSCRIBED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNSUBSCRIBED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNCONFIRMED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CancellationReason" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the order to cancel.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CancelOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Order ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Cancellation reason.", + "block": true + }, + "name": { + "kind": "Name", + "value": "reason" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the updated customer order and error message if any.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CancelOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Error encountered while cancelling the order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "error" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Updated customer order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypePageBuilder" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Gets the payment SDK URLs and values", + "block": true + }, + "name": { + "kind": "Name", + "value": "GetPaymentSDKOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment SDK parameters", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdkParams" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentSDKParamsItem" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "PaymentSDKParamsItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code used in the order", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment SDK parameters", + "block": true + }, + "name": { + "kind": "Name", + "value": "params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the payment order details", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order ID generated by Payment Services", + "block": true + }, + "name": { + "kind": "Name", + "value": "mp_order_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the card used on the order", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source_details" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentSourceDetails" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "PaymentSourceDetails" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the card used on the order", + "block": true + }, + "name": { + "kind": "Name", + "value": "card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Card" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "Card" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Card bin details", + "block": true + }, + "name": { + "kind": "Name", + "value": "bin_details" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CardBin" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Expiration month of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "card_expiry_month" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Expiration year of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "card_expiry_year" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Last four digits of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "last_digits" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Name on the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "CardBin" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Card bin number", + "block": true + }, + "name": { + "kind": "Name", + "value": "bin" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains payment order details that are used while processing the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreatePaymentOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer cart ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the origin location for that payment request", + "block": true + }, + "name": { + "kind": "Name", + "value": "location" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentLocation" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The code for the payment method used in the order", + "block": true + }, + "name": { + "kind": "Name", + "value": "methodCode" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The identifiable payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "paymentSource" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment information should be vaulted", + "block": true + }, + "name": { + "kind": "Name", + "value": "vaultIntent" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Synchronizes the payment order details", + "block": true + }, + "name": { + "kind": "Name", + "value": "SyncPaymentOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer cart ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "cartId" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains payment order details that are used while processing the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreatePaymentOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The currency of the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "currency_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order ID generated by Payment Services", + "block": true + }, + "name": { + "kind": "Name", + "value": "mp_order_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the payment order", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the origin location for that payment request", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentLocation" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_DETAIL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MINICART" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CART" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CHECKOUT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ADMIN" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieves the payment configuration for a given location", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentConfigOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "ApplePay payment method configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "apple_pay" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ApplePayConfig" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "GooglePay payment method configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "google_pay" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GooglePayConfig" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Hosted fields payment method configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "hosted_fields" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HostedFieldsConfig" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Smart Buttons payment method configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "smart_buttons" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SmartButtonsConfig" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains payment fields that are common to all types of payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentConfigItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code as defined in the payment gateway", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment method is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment intent (Authorize or Capture", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_intent" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal parameters required to load the JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative order the payment method is displayed on the checkout page", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name displayed for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "PaymentCommonConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code as defined in the payment gateway", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment method is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment intent (Authorize or Capture", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_intent" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal parameters required to load the JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative order the payment method is displayed on the checkout page", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name displayed for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentConfigItem" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "HostedFieldsConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Vault payment method code", + "block": true + }, + "name": { + "kind": "Name", + "value": "cc_vault_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code as defined in the payment gateway", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Card vault enabled", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_vault_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment method is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment intent (Authorize or Capture", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_intent" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Card and bin details required", + "block": true + }, + "name": { + "kind": "Name", + "value": "requires_card_details" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal parameters required to load the JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative order the payment method is displayed on the checkout page", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether 3DS is activated; true if 3DS mode is not OFF.", + "block": true + }, + "name": { + "kind": "Name", + "value": "three_ds" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use 'three_ds_mode' instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "3DS mode", + "block": true + }, + "name": { + "kind": "Name", + "value": "three_ds_mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ThreeDSMode" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name displayed for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentConfigItem" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "3D Secure mode.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ThreeDSMode" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OFF" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SCA_WHEN_REQUIRED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SCA_ALWAYS" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "SmartButtonsConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The styles for the PayPal Smart Button configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "button_styles" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ButtonStyles" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code as defined in the payment gateway", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to display the PayPal Pay Later message", + "block": true + }, + "name": { + "kind": "Name", + "value": "display_message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether to display Venmo", + "block": true + }, + "name": { + "kind": "Name", + "value": "display_venmo" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment method is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the styles for the PayPal Pay Later message", + "block": true + }, + "name": { + "kind": "Name", + "value": "message_styles" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MessageStyles" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment intent (Authorize or Capture", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_intent" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal parameters required to load the JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative order the payment method is displayed on the checkout page", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name displayed for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentConfigItem" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ApplePayConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The styles for the ApplePay Smart Button configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "button_styles" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ButtonStyles" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code as defined in the payment gateway", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment method is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment intent (Authorize or Capture", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_intent" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal parameters required to load the JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative order the payment method is displayed on the checkout page", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name displayed for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentConfigItem" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GooglePayConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The styles for the GooglePay Button configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "button_styles" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GooglePayButtonStyles" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code as defined in the payment gateway", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the payment method is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_visible" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the payment intent (Authorize or Capture", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_intent" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal parameters required to load the JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The relative order the payment method is displayed on the checkout page", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "3DS mode", + "block": true + }, + "name": { + "kind": "Name", + "value": "three_ds_mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ThreeDSMode" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name displayed for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "title" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentConfigItem" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ButtonStyles" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button color", + "block": true + }, + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button height in pixels", + "block": true + }, + "name": { + "kind": "Name", + "value": "height" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button label", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button layout", + "block": true + }, + "name": { + "kind": "Name", + "value": "layout" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button shape", + "block": true + }, + "name": { + "kind": "Name", + "value": "shape" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the tagline is displayed", + "block": true + }, + "name": { + "kind": "Name", + "value": "tagline" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Defines if the button uses default height. If the value is false, the value of height is used", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_default_height" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "GooglePayButtonStyles" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button color", + "block": true + }, + "name": { + "kind": "Name", + "value": "color" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button height in pixels", + "block": true + }, + "name": { + "kind": "Name", + "value": "height" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The button type", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "MessageStyles" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message layout", + "block": true + }, + "name": { + "kind": "Name", + "value": "layout" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message logo", + "block": true + }, + "name": { + "kind": "Name", + "value": "logo" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "MessageStyleLogo" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "MessageStyleLogo" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of logo for the PayPal Pay Later messaging", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the name and value of a SDK parameter", + "block": true + }, + "name": { + "kind": "Name", + "value": "SDKParams" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the SDK parameter", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of the SDK parameter", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Vault payment inputs", + "block": true + }, + "name": { + "kind": "Name", + "value": "VaultMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment services order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "payments_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The public hash of the token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "public_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Smart button payment inputs", + "block": true + }, + "name": { + "kind": "Name", + "value": "SmartButtonMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment services order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "payments_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Apple Pay inputs", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplePayMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment services order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "payments_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Google Pay inputs", + "block": true + }, + "name": { + "kind": "Name", + "value": "GooglePayMethodInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment services order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "payments_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Hosted Fields payment inputs", + "block": true + }, + "name": { + "kind": "Name", + "value": "HostedFieldsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Card bin number", + "block": true + }, + "name": { + "kind": "Name", + "value": "cardBin" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Expiration month of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "cardExpiryMonth" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Expiration year of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "cardExpiryYear" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Last four digits of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "cardLast4" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Name on the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "holderName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the Payment Services payment integration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_active_payment_token_enabler" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source for the payment method", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment services order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "payments_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "PayPal order ID", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_order_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describe the variables needed to create a vault card setup token", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateVaultCardSetupTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The setup token information", + "block": true + }, + "name": { + "kind": "Name", + "value": "setup_token" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "VaultSetupTokenInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The 3DS mode", + "block": true + }, + "name": { + "kind": "Name", + "value": "three_ds_mode" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ThreeDSMode" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "VaultSetupTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentSourceInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentSourceInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The card payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "card" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CardPaymentSourceInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The card payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "CardPaymentSourceInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "billing_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "BillingAddressPaymentSourceInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name on the cardholder", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The billing address information", + "block": true + }, + "name": { + "kind": "Name", + "value": "BillingAddressPaymentSourceInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The first line of the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "address_line_1" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The second line of the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "address_line_2" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The city of the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The country of the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "country_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The postal code of the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "postal_code" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The region of the address", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The setup token id information", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateVaultCardSetupTokenOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The setup token id", + "block": true + }, + "name": { + "kind": "Name", + "value": "setup_token" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describe the variables needed to create a vault payment token", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateVaultCardPaymentTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Description of the vaulted card", + "block": true + }, + "name": { + "kind": "Name", + "value": "card_description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The setup token obtained by the createVaultCardSetupToken endpoint", + "block": true + }, + "name": { + "kind": "Name", + "value": "setup_token_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The vault token id and information about the payment source", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateVaultCardPaymentTokenOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_source" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentSourceOutput" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The vault payment token information", + "block": true + }, + "name": { + "kind": "Name", + "value": "vault_token_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentSourceOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The card payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "card" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CardPaymentSourceOutput" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The card payment source information", + "block": true + }, + "name": { + "kind": "Name", + "value": "CardPaymentSourceOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The brand of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "brand" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The expiry of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "expiry" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last digits of the card", + "block": true + }, + "name": { + "kind": "Name", + "value": "last_digits" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Retrieves the vault configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "VaultConfigOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Credit card vault method configuration", + "block": true + }, + "name": { + "kind": "Name", + "value": "credit_card" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "VaultCreditCardConfig" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "VaultCreditCardConfig" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Is vault enabled", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_vault_enabled" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The parameters required to load the Paypal JS SDK", + "block": true + }, + "name": { + "kind": "Name", + "value": "sdk_params" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SDKParams" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "3DS mode", + "block": true + }, + "name": { + "kind": "Name", + "value": "three_ds_mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ThreeDSMode" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaypalExpressTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the buyer selected the quick checkout button. The default value is false.", + "block": true + }, + "name": { + "kind": "Name", + "value": "express_button" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A set of relative URLs that PayPal uses in response to various actions during the authorization process.", + "block": true + }, + "name": { + "kind": "Name", + "value": "urls" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaypalExpressUrlsInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the buyer clicked the PayPal credit button. The default value is false.", + "block": true + }, + "name": { + "kind": "Name", + "value": "use_paypal_credit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `PaypalExpressTokenOutput` instead.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaypalExpressToken" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A set of URLs that allow the buyer to authorize payment and adjust checkout details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_urls" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaypalExpressUrlList" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `PaypalExpressTokenOutput.paypal_urls` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The token returned by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `PaypalExpressTokenOutput.token` instead." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaypalExpressTokenOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A set of URLs that allow the buyer to authorize payment and adjust checkout details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_urls" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaypalExpressUrlList" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The token returned by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowLinkToken" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The mode for the Payflow transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "mode" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowLinkMode" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal URL used for requesting a Payflow form.", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The secure token generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_token" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The secure token ID generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_token_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the secure URL used for the Payments Pro Hosted Solution payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "HostedProUrl" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The secure URL generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_form_url" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the required input to request the secure URL for Payments Pro Hosted Solution payment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "HostedProUrlInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the shopper's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "HostedProInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. For example, if the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancel_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the final confirmation page that PayPal redirects to upon payment success. For example, if the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains required input for Express Checkout and Payments Standard payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaypalExpressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the PayPal user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payer_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The token returned by the `createPaypalExpressToken` mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains required input for Payflow Express Checkout payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowExpressInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the PayPal user.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payer_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The token returned by the createPaypalExpressToken mutation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "token" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaypalExpressUrlsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancel_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the page that PayPal redirects to when the payment has been put on hold for additional review. This condition mostly applies to ACH transactions, and is not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success_pending.html, the relative URL is paypal/action/success_pending.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pending_url" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. Not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success.html, the relative URL is paypal/action/success.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "success_url" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaypalExpressUrlList" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The PayPal URL that allows the buyer to edit their checkout details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "edit" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL to the PayPal login page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "start" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowLinkInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancel_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "error_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowLinkTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the customer's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowLinkMode" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEST" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LIVE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowProTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the shopper's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A set of relative URLs that PayPal uses for callback.", + "block": true + }, + "name": { + "kind": "Name", + "value": "urls" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PayflowProUrlInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains input for the Payflow Pro and Payments Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowProInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Required input for credit card related information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cc_details" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreditCardDetailsInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the PayPal Payflow Pro payment integration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_active_payment_token_enabler" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Required fields for Payflow Pro and Payments Pro credit card payments.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreditCardDetailsInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The credit card expiration month.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cc_exp_month" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The credit card expiration year.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cc_exp_year" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The last 4 digits of the credit card.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cc_last_4" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The credit card type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cc_type" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowProUrlInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cancel_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "error_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_url" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowProToken" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "response_message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A non-zero value if any errors occurred.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The RESULT returned by PayPal. A value of `0` indicates the transaction was approved.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A secure token generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_token" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A secure token ID generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_token_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreatePayflowProTokenOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`.", + "block": true + }, + "name": { + "kind": "Name", + "value": "response_message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A non-zero value if any errors occurred.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The RESULT returned by PayPal. A value of `0` indicates the transaction was approved.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A secure token generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_token" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A secure token ID generated by PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "secure_token_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PayflowProResponseInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID that identifies the shopper's cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The payload returned from PayPal.", + "block": true + }, + "name": { + "kind": "Name", + "value": "paypal_payload" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "PayflowProResponseOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart with the updated selected payment method.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains required input for payment methods with Vault support.", + "block": true + }, + "name": { + "kind": "Name", + "value": "VaultTokenInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The public hash of the payment token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "public_hash" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the comment to be added to a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddPurchaseOrderCommentInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Comment text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the successfully added comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddPurchaseOrderCommentOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderComment" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrder" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The approval flows for each applied rules.", + "block": true + }, + "name": { + "kind": "Name", + "value": "approval_flow" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderRuleApprovalFlow" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order actions available to the customer. Can be used to display action buttons on the client.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_actions" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderAction" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The set of comments applied to the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderComment" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the purchase order was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The company user who created the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_by" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The log of the events related to the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "history_log" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderHistoryItem" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The reference to the order placed based on the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quote related to the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quote" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current status of the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderStatus" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A unique identifier for the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the purchase order was last updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines which purchase orders to act on.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of purchase order UIDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Returns a list of updated purchase orders and any error messages.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrdersActionOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of error messages encountered while performing the operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderActionError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_orders" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrder" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a failed action.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderActionError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The returned error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The error type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderErrorType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OPERATION_NOT_APPLICABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "COULD_NOT_SAVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_VALID_DATA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderAction" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REJECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CANCEL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VALIDATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PLACE_ORDER" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PENDING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVAL_REQUIRED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ORDER_IN_PROGRESS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ORDER_PLACED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ORDER_FAILED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REJECTED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CANCELED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVED_PENDING_PAYMENT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderComment" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The user who left the comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "author" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Customer" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time when the comment was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The text of the comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A unique identifier of the comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a status change.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderHistoryItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The activity type of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "activity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time when the event happened.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message representation of the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A unique identifier of the purchase order history item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the criteria to use to filter the list of purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrdersFilterInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Include only purchase orders made by subordinate company users.", + "block": true + }, + "name": { + "kind": "Name", + "value": "company_purchase_orders" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the creation date of the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_date" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FilterRangeTypeInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Include only purchase orders that are waiting for the customer’s approval.", + "block": true + }, + "name": { + "kind": "Name", + "value": "require_my_approval" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Filter by the status of the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderStatus" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrders" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase orders matching the search criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrder" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Page information of search result's current page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Total number of purchase orders found matching the search criteria.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the quote to be converted to a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlacePurchaseOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the purchase order to convert to an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceOrderForPurchaseOrderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of the request to place a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlacePurchaseOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Placed purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrder" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of the request to place an order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PlaceOrderForPurchaseOrderOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Placed order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the purchase order and cart to act on.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddPurchaseOrderItemsToCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID to assign to the cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order unique ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Replace existing cart or merge items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "replace_existing_cart_items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the changes to be made to an approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdatePurchaseOrderApprovalRuleInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An updated list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applies_to" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An updated list of B2B user roles that can approve this purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "approvers" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated condition of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "condition" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreatePurchaseOrderApprovalRuleConditionInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated approval rule description.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated approval rule name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The updated status of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleStatus" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Unique identifier for the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a new purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applies_to" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A list of B2B user roles that can approve this purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "approvers" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The condition of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "condition" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreatePurchaseOrderApprovalRuleConditionInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A summary of the purpose of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The purchase order approval rule name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleStatus" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a set of conditions that apply to a rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreatePurchaseOrderApprovalRuleConditionInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The amount to be compared in a purchase order approval rule. This field is mutually exclusive with condition quantity.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CreatePurchaseOrderApprovalRuleConditionAmountInput" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The type of approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleType" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Defines how to evaluate an amount or quantity in a purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operator" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionOperator" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity to be compared in a purchase order approval rule. This field is mutually exclusive with condition amount.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the amount and currency to evaluate.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreatePurchaseOrderApprovalRuleConditionAmountInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order approval rule condition amount currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currency" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CurrencyEnum" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order approval rule condition amount value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains metadata that can be used to render rule edit forms.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of B2B user roles that the rule can be applied to.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_applies_to" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of currencies that can be used to create approval rules based on amounts, for example shipping cost rules.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_condition_currencies" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AvailableCurrency" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of B2B user roles that can be specified as approvers for the approval rules.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_requires_approval_from" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the code and symbol of a currency that can be used for purchase orders.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AvailableCurrency" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "3-letter currency code, for example USD.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CurrencyEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Currency symbol, for example $.", + "block": true + }, + "name": { + "kind": "Name", + "value": "symbol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the approval rules that the customer can see.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRules" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of purchase order approval rules visible to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRule" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Result pagination details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of purchase order approval rules visible to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRule" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the user(s) affected by the the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "applies_to_roles" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the user who needs to approve purchase orders that trigger the approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "approver_roles" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CompanyRole" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Condition which triggers the approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "condition" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionInterface" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the purchase order rule was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the user who created the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_by" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Description of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "description" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleStatus" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for the purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the purchase order rule was last updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Purchase order rule condition details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleType" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The operator to be used for evaluating the approval rule condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operator" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionOperator" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains approval rule condition details, including the amount to be evaluated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionAmount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount to be be used for evaluation of the approval rule condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleType" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The operator to be used for evaluating the approval rule condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operator" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionOperator" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains approval rule condition details, including the quantity to be evaluated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionQuantity" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of purchase order approval rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleType" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The operator to be used for evaluating the approval rule condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "operator" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionOperator" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity to be used for evaluation of the approval rule condition.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleConditionOperator" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MORE_THAN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LESS_THAN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MORE_THAN_OR_EQUAL_TO" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "LESS_THAN_OR_EQUAL_TO" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ENABLED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISABLED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalRuleType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GRAND_TOTAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SHIPPING_INCL_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NUMBER_OF_SKUS" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about approval roles applied to the purchase order and status changes.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderRuleApprovalFlow" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The approval flow event related to the rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "events" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalFlowEvent" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the applied rule.", + "block": true + }, + "name": { + "kind": "Name", + "value": "rule_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a single event in the approval flow of the purchase order.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalFlowEvent" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A formatted message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The approver name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The approver role.", + "block": true + }, + "name": { + "kind": "Name", + "value": "role" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status related to the event.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalFlowItemStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the event was updated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "updated_at" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "PurchaseOrderApprovalFlowItemStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PENDING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REJECTED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the purchase orders to be validated.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrdersInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of the purchase order IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_order_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the results of validation attempts.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrdersOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of error messages encountered while performing the operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrderError" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of the purchase orders in the request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "purchase_orders" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PurchaseOrder" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a failed validation attempt.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrderError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The returned error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Error type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrderErrorType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ValidatePurchaseOrderErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "OPERATION_NOT_APPLICABLE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "COULD_NOT_SAVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_VALID_DATA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the IDs of the approval rules to delete.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of purchase order approval rule IDs.", + "block": true + }, + "name": { + "kind": "Name", + "value": "approval_rule_uids" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains any errors encountered while attempting to delete approval rules.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of error messages encountered while performing the operation.", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about an error that occurred when deleting an approval rule .", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The text of the error message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The error type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleErrorType" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "DeletePurchaseOrderApprovalRuleErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_FOUND" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Assigns a specific `cart_id` to the empty cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ClearCartInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Cart` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Output of the request to clear the customer cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ClearCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The cart after clear cart items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while clearing the cart item", + "block": true + }, + "name": { + "kind": "Name", + "value": "errors" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ClearCartError" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about errors encountered when a customer clear cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ClearCartError" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A localized error message", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A cart-specific error type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ClearCartErrorType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ClearCartErrorType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_FOUND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNAUTHORISED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INACTIVE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ReCaptchaFormEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PLACE_ORDER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CONTACT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER_LOGIN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER_FORGOT_PASSWORD" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER_CREATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CUSTOMER_EDIT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NEWSLETTER" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRODUCT_REVIEW" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SENDFRIEND" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BRAINTREE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains reCAPTCHA V3-Invisible configuration details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReCaptchaConfigurationV3" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position of the invisible reCAPTCHA badge on each page.", + "block": true + }, + "name": { + "kind": "Name", + "value": "badge_position" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The message that appears to the user if validation fails.", + "block": true + }, + "name": { + "kind": "Name", + "value": "failure_message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of forms on the storefront that have been configured to use reCAPTCHA V3.", + "block": true + }, + "name": { + "kind": "Name", + "value": "forms" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReCaptchaFormEnum" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return whether recaptcha is enabled or not", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_enabled" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A two-character code that specifies the language that is used for Google reCAPTCHA text and messaging.", + "block": true + }, + "name": { + "kind": "Name", + "value": "language_code" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum score that identifies a user interaction as a potential risk.", + "block": true + }, + "name": { + "kind": "Name", + "value": "minimum_score" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The website key generated when the Google reCAPTCHA account was registered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_key" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about configurable products added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ConfigurableRequisitionListItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected configurable options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "configurable_options" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedConfigurableOption" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the product added to the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of an item in a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of product reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReviews" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of product reviews.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReview" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Metadata for pagination rendering.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details of a product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReview" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The average of all ratings for this product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "average_rating" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the review was created.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's nickname. Defaults to the customer name, if logged in.", + "block": true + }, + "name": { + "kind": "Name", + "value": "nickname" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The reviewed product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of ratings by rating category, such as quality, price, and value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ratings_breakdown" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviewRating" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The summary (title) of the review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "summary" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The review text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains data about a single aspect of a product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReviewRating" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to an aspect of a product that is being rated, such as quality or price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The rating value given by customer. By default, possible values range from 1 to 5.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains an array of metadata about each aspect of a product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReviewRatingsMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of product reviews sorted by position.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviewRatingMetadata" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a single aspect of a product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReviewRatingMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An encoded rating ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to an aspect of a product that is being rated, such as quality or price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "List of product review ratings sorted by position.", + "block": true + }, + "name": { + "kind": "Name", + "value": "values" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviewRatingValueMetadata" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a single value in a product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReviewRatingValueMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A ratings scale, such as the number of stars awarded.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An encoded rating value ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the completed product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateProductReviewOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Product review details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "review" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReview" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a new product review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateProductReviewInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The customer's nickname. Defaults to the customer name, if logged in.", + "block": true + }, + "name": { + "kind": "Name", + "value": "nickname" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ratings details by category. For example, Price: 5 stars, Quality: 4 stars, etc.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ratings" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductReviewRatingInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The SKU of the reviewed product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sku" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The summary (title) of the review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "summary" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The review text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the reviewer's rating for a single aspect of a review.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductReviewRatingInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An encoded rating ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An encoded rating value ID.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a customer's reward points.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RewardPoints" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current balance of reward points.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsAmount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The balance history of reward points. If the ability for customers to view the balance history has been disabled in the Admin, this field will be set to null.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance_history" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsBalanceHistoryItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The current exchange rates for reward points.", + "block": true + }, + "name": { + "kind": "Name", + "value": "exchange_rates" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsExchangeRates" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The subscription status of emails related to reward points.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subscription_status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsSubscriptionStatus" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "RewardPointsAmount" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The reward points amount in store currency.", + "block": true + }, + "name": { + "kind": "Name", + "value": "money" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The reward points amount in points.", + "block": true + }, + "name": { + "kind": "Name", + "value": "points" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Lists the reward points exchange rates. The values depend on the customer group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RewardPointsExchangeRates" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "How many points are earned for a given amount spent.", + "block": true + }, + "name": { + "kind": "Name", + "value": "earning" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsRate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "How many points must be redeemed to get a given amount of currency discount at the checkout.", + "block": true + }, + "name": { + "kind": "Name", + "value": "redemption" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsRate" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about customer's reward points rate.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RewardPointsRate" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The money value for the exchange rate. For earnings, this is the amount spent to earn the specified points. For redemption, this is the amount of money the number of points represents.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currency_amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points for an exchange rate. For earnings, this is the number of points earned. For redemption, this is the number of points needed for redemption.", + "block": true + }, + "name": { + "kind": "Name", + "value": "points" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer subscribes to reward points emails.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RewardPointsSubscriptionStatus" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer subscribes to 'Reward points balance updates' emails.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance_updates" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsSubscriptionStatusesEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the customer subscribes to 'Reward points expiration notifications' emails.", + "block": true + }, + "name": { + "kind": "Name", + "value": "points_expiration_notifications" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsSubscriptionStatusesEnum" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "RewardPointsSubscriptionStatusesEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SUBSCRIBED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "NOT_SUBSCRIBED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contain details about the reward points transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RewardPointsBalanceHistoryItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The award points balance after the completion of the transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "balance" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RewardPointsAmount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The reason the balance changed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "change_reason" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date of the transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "date" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of points added or deducted in the transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "points_change" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ApplyRewardPointsToCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer cart after reward points are applied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the customer cart.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveRewardPointsFromCartOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The customer cart after reward points are removed.", + "block": true + }, + "name": { + "kind": "Name", + "value": "cart" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Cart" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information needed to start a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequestReturnInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Text the buyer entered that describes the reason for the refund request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment_text" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address the buyer enters to receive notifications about the status of the return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "contact_email" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of items to be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequestReturnItemInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Order` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about an item to be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequestReturnItemInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a custom attribute that was entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entered_custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnteredCustomAttributeInput" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `OrderItemInterface` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the item to be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity_to_return" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array of selected custom option IDs associated with the item to be returned. For example, the IDs for the selected color and size of a configurable product.", + "block": true + }, + "name": { + "kind": "Name", + "value": "selected_custom_attributes" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomAttributeInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a custom text attribute that the buyer entered.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnteredCustomAttributeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that identifies the entered custom attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The text or other entered value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about an attribute the buyer selected.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SelectedCustomAttributeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "A string that identifies the selected attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "attribute_code" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `CustomAttribute` object of a selected custom attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response to a return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RequestReturnOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a single return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Return" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of return requests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "returns" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the maximum number of results to return at once. The default is 20.", + "block": true + }, + "name": { + "kind": "Name", + "value": "pageSize" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "20" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies which page of results to return. The default is 1.", + "block": true + }, + "name": { + "kind": "Name", + "value": "currentPage" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "1" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Returns" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a return comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddReturnCommentInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The text added to the return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comment_text" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Return` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddReturnCommentOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The modified return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Return" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines tracking information to be added to the return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddReturnTrackingInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnShippingCarrier` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Returns` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The shipping tracking number for this return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tracking_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response after adding tracking information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "AddReturnTrackingOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the modified return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Return" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about shipping for a return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_shipping_tracking" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingTracking" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the tracking information to delete.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveReturnTrackingInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnShippingTracking` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return_shipping_tracking_uid" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the response after deleting tracking information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "RemoveReturnTrackingOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the modified return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "return" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Return" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a list of customer return requests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Returns" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of return requests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Return" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Pagination metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "page_info" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SearchResultPageInfo" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The total number of return requests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "total_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Return" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of shipping carriers available for returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "available_shipping_carriers" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingCarrier" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of comments posted for the return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "comments" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnComment" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date the return was requested.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Data from the customer who created the return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnCustomer" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of items being returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnItem" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A human-readable return number.", + "block": true + }, + "name": { + "kind": "Name", + "value": "number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The order associated with the return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerOrder" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Shipping information for the return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "shipping" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShipping" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The status of the return request.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `Return` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The customer information for the return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnCustomer" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The first name of the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "firstname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The last name of the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "lastname" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a product being returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Return item custom attributes that are visible on the storefront.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributes" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnCustomAttribute" + } + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use custom_attributesV2 instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Custom attributes that are visible on the storefront.", + "block": true + }, + "name": { + "kind": "Name", + "value": "custom_attributesV2" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeValueInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Provides access to the product being returned, including information about selected and entered options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_item" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "OrderItemInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the item the merchant authorized to be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of the item requested to be returned.", + "block": true + }, + "name": { + "kind": "Name", + "value": "request_quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The return status of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnItemStatus" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnItem` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Return Item attribute metadata.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnItemAttributeMetadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", + "block": true + }, + "name": { + "kind": "Name", + "value": "code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Default attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "default_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of entity that defines the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeEntityTypeEnum" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend class of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_class" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "frontend_input" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "AttributeFrontendInputEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The template used for the input of the attribute (e.g., 'date').", + "block": true + }, + "name": { + "kind": "Name", + "value": "input_filter" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "InputFilterEnum" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value is required.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_required" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Whether the attribute value must be unique.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_unique" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label assigned to the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of lines of the attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "multiline_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Attribute options.", + "block": true + }, + "name": { + "kind": "Name", + "value": "options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeOptionInterface" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The position of the attribute in the form.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sort_order" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The validation rules of the attribute value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "validate_rules" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ValidationRule" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomAttributeMetadataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a `ReturnCustomerAttribute` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnCustomAttribute" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A description of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnCustomAttribute` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A JSON-encoded value of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a return comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnComment" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name or author who posted the comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "author_name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The date and time the comment was posted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "created_at" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The contents of the comment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnComment` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the return shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnShipping" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The merchant-defined return shipping address.", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingAddress" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnShippingTracking` object. If a single UID is specified, the array contains a single tracking record. Otherwise, array contains all tracking information.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tracking" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "uid" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + }, + "directives": [] + } + ], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingTracking" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the carrier on a return.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnShippingCarrier" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A description of the shipping carrier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnShippingCarrier` object assigned to the shipping carrier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains shipping and tracking details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnShippingTracking" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details of a shipping carrier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "carrier" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingCarrier" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about the status of a shipment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingTrackingStatus" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A tracking number assigned by the carrier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "tracking_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for a `ReturnShippingTracking` object assigned to the tracking item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the status of a shipment.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnShippingTrackingStatus" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Text that describes the status.", + "block": true + }, + "name": { + "kind": "Name", + "value": "text" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the status type is informational or an error.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ReturnShippingTrackingStatusType" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ReturnShippingTrackingStatusType" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "INFORMATION" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "ERROR" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the shipping address used for receiving returned items.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ReturnShippingAddress" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The city for product returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "city" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The merchant's contact person.", + "block": true + }, + "name": { + "kind": "Name", + "value": "contact_name" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that defines the country for product returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "country" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Country" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The postal code for product returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "postcode" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object that defines the state or province for product returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "region" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Region" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The street address for product returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "street" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The telephone number for product returns.", + "block": true + }, + "name": { + "kind": "Name", + "value": "telephone" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ReturnStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PENDING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AUTHORIZED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PARTIALLY_AUTHORIZED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RECEIVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PARTIALLY_RECEIVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PARTIALLY_APPROVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REJECTED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PARTIALLY_REJECTED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DENIED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PROCESSED_AND_CLOSED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "CLOSED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "ReturnItemStatus" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PENDING" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "AUTHORIZED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "RECEIVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "APPROVED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "REJECTED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DENIED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the wish list visibility types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistVisibilityEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PUBLIC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRIVATE" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateWishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The newly-created wish list", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the status of the request to delete a wish list and an array of the customer's remaining wish lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeleteWishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the wish list was deleted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "status" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A list of undeleted wish lists.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlists" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the source and target wish lists after copying products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CopyProductsBetweenWishlistsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The destination wish list containing the copied products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destination_wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The wish list that the products were copied from.", + "block": true + }, + "name": { + "kind": "Name", + "value": "source_wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while copying products in a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishListUserInputError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the IDs of items to copy and their quantities.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItemCopyInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item to copy to the destination wish list. This value can't be greater than the quantity in the source wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the `WishlistItemInterface` object to be copied.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist_item_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the IDs of the items to move and their quantities.", + "block": true + }, + "name": { + "kind": "Name", + "value": "WishlistItemMoveInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The quantity of this item to move to the destination wish list. This value can't be greater than the quantity in the source wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of the `WishlistItemInterface` object to be moved.", + "block": true + }, + "name": { + "kind": "Name", + "value": "wishlist_item_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the name and visibility of a new wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CreateWishlistInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the new wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the wish list is public or private.", + "block": true + }, + "name": { + "kind": "Name", + "value": "visibility" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistVisibilityEnum" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the name and visibility of an updated wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "UpdateWishlistOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The wish list name.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID of a `Wishlist` object.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the wish list is public or private.", + "block": true + }, + "name": { + "kind": "Name", + "value": "visibility" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishlistVisibilityEnum" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains the source and target wish lists after moving products.", + "block": true + }, + "name": { + "kind": "Name", + "value": "MoveProductsBetweenWishlistsOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The destination wish list after receiving products moved from the source wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "destination_wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The source wish list after moving products from it.", + "block": true + }, + "name": { + "kind": "Name", + "value": "source_wishlist" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Wishlist" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of errors encountered while moving products to a wish list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "user_errors" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "WishListUserInputError" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "SearchTerm" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Containes the popularity of the selected Search Term", + "block": true + }, + "name": { + "kind": "Name", + "value": "popularity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Containes the query_text of the selected Search Term", + "block": true + }, + "name": { + "kind": "Name", + "value": "query_text" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Containes the Url of the selected Search Term", + "block": true + }, + "name": { + "kind": "Name", + "value": "redirect" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines the referenced product and the email sender and recipients.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendEmailToFriendInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the product that the sender is referencing.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about each recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipients" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendEmailToFriendRecipientInput" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the customer and the content of the message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendEmailToFriendSenderInput" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendEmailToFriendSenderInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The text of the message to be sent.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about a recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendEmailToFriendRecipientInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains information about the sender and recipients.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendEmailToFriendOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array containing information about each recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "recipients" + }, + "arguments": [], + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendEmailToFriendRecipient" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Information about the customer and the content of the message.", + "block": true + }, + "name": { + "kind": "Name", + "value": "sender" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SendEmailToFriendSender" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An output object that contains information about the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendEmailToFriendSender" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The text of the message to be sent.", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the sender.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "An output object that contains information about the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendEmailToFriendRecipient" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The email address of the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "email" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The name of the recipient.", + "block": true + }, + "name": { + "kind": "Name", + "value": "name" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about the configuration of the Email to a Friend feature.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SendFriendConfiguration" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the Email to a Friend feature is enabled.", + "block": true + }, + "name": { + "kind": "Name", + "value": "enabled_for_customers" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the Email to a Friend feature is enabled for guests.", + "block": true + }, + "name": { + "kind": "Name", + "value": "enabled_for_guests" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Deprecated. Use `TierPrice` instead. Defines a tier price, which is a quantity discount offered to a specific customer group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ProductTierPrices" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID of the customer group.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customer_group_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Not relevant for the storefront." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The percentage discount of the item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "percentage_value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `TierPrice.discount` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The number of items that must be purchased to qualify for tier pricing.", + "block": true + }, + "name": { + "kind": "Name", + "value": "qty" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `TierPrice.quantity` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the fixed price item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `TierPrice.final_price` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The ID assigned to the website.", + "block": true + }, + "name": { + "kind": "Name", + "value": "website_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Not relevant for the storefront." + } + } + ] + } + ] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Defines a price based on the quantity purchased.", + "block": true + }, + "name": { + "kind": "Name", + "value": "TierPrice" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price discount that this tier represents.", + "block": true + }, + "name": { + "kind": "Name", + "value": "discount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductDiscount" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The price of the product at this tier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "final_price" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The minimum number of items that must be purchased to qualify for this price tier.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "SwatchLayerFilterItemInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Data required to render a swatch filter item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_data" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchData" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "SwatchLayerFilterItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The count of items per filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items_count" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.count` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The label for a filter.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.label` instead." + } + } + ] + } + ] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Data required to render a swatch filter item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "swatch_data" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchData" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value of a filter request variable to be used in query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value_string" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [ + { + "kind": "Directive", + "name": { + "kind": "Name", + "value": "deprecated" + }, + "arguments": [ + { + "kind": "Argument", + "name": { + "kind": "Name", + "value": "reason" + }, + "value": { + "kind": "StringValue", + "value": "Use `AggregationOption.value` instead." + } + } + ] + } + ] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LayerFilterItemInterface" + } + }, + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchLayerFilterItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Describes the swatch type and a value.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SwatchData" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The type of swatch filter item: 1 - text; 2 - image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value for the swatch item. It could be text or an image link.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InterfaceTypeDefinition", + "name": { + "kind": "Name", + "value": "SwatchDataInterface" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value can be represented as color (HEX code), image link, or text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [], + "interfaces": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ImageSwatchData" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The URL assigned to the thumbnail of the swatch image.", + "block": true + }, + "name": { + "kind": "Name", + "value": "thumbnail" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value can be represented as color (HEX code), image link, or text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchDataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "TextSwatchData" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value can be represented as color (HEX code), image link, or text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchDataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "ColorSwatchData" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The value can be represented as color (HEX code), image link, or text.", + "block": true + }, + "name": { + "kind": "Name", + "value": "value" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SwatchDataInterface" + } + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Swatch attribute metadata input types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "SwatchInputTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "BOOLEAN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DATETIME" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DROPDOWN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "FILE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "GALLERY" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "HIDDEN" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "IMAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MEDIA_IMAGE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MULTILINE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "MULTISELECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "PRICE" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "SELECT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXT" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "TEXTAREA" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "UNDEFINED" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "VISUAL" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "WEIGHT" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "TaxWrappingEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISPLAY_EXCLUDING_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISPLAY_INCLUDING_TAX" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "DISPLAY_TYPE_BOTH" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the request succeeded and returns the remaining customer payment tokens.", + "block": true + }, + "name": { + "kind": "Name", + "value": "DeletePaymentTokenOutput" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A container for the customer's remaining payment tokens.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customerPaymentTokens" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "CustomerPaymentTokens" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the request succeeded.", + "block": true + }, + "name": { + "kind": "Name", + "value": "result" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains payment tokens stored in the customer's vault.", + "block": true + }, + "name": { + "kind": "Name", + "value": "CustomerPaymentTokens" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array of payment tokens.", + "block": true + }, + "name": { + "kind": "Name", + "value": "items" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentToken" + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The stored payment method available to the customer.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentToken" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "A description of the stored account details.", + "block": true + }, + "name": { + "kind": "Name", + "value": "details" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The payment method code associated with the token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_method_code" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The public hash of the token.", + "block": true + }, + "name": { + "kind": "Name", + "value": "public_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Specifies the payment token type.", + "block": true + }, + "name": { + "kind": "Name", + "value": "type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "PaymentTokenTypeEnum" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "The list of available payment token types.", + "block": true + }, + "name": { + "kind": "Name", + "value": "PaymentTokenTypeEnum" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "phpcs:ignore Magento2.GraphQL.ValidArgumentName", + "block": true + }, + "name": { + "kind": "Name", + "value": "card" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "phpcs:ignore Magento2.GraphQL.ValidArgumentName", + "block": true + }, + "name": { + "kind": "Name", + "value": "account" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A single FPT that can be applied to a product price.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FixedProductTax" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount of the Fixed Product Tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Money" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The display label assigned to the Fixed Product Tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "label" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Lists display settings for the Fixed Product Tax.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FixedProductTaxDisplaySettings" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to 'Including FPT only'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "INCLUDE_FPT_WITHOUT_DETAILS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to 'Including FPT and FPT description'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "INCLUDE_FPT_WITH_DETAILS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The displayed price does not include the FPT amount. The values of `ProductPrice.fixed_product_taxes` and the price including the FPT are displayed separately. This value corresponds to 'Excluding FPT, Including FPT description and final price.'", + "block": true + }, + "name": { + "kind": "Name", + "value": "EXCLUDE_FPT_AND_INCLUDE_WITH_DETAILS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The displayed price does not include the FPT amount. The values from `ProductPrice.fixed_product_taxes` are not displayed. This value corresponds to 'Excluding FPT'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EXCLUDE_FPT_WITHOUT_DETAILS" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FPT_DISABLED" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "UiAttributeTypeFixedProductTax" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Indicates whether the attribute value allowed to have html content.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_html_allowed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The frontend input type of the attribute.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ui_input_type" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeEnum" + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "UiInputTypeInterface" + } + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Contains details about gift cards added to a requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GiftCardRequisitionListItem" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Selected custom options for an item in the requisition list.", + "block": true + }, + "name": { + "kind": "Name", + "value": "customizable_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "SelectedCustomizableOption" + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array that defines gift card properties.", + "block": true + }, + "name": { + "kind": "Name", + "value": "gift_card_options" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GiftCardOptions" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "Details about a requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "product" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ProductInterface" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The amount added.", + "block": true + }, + "name": { + "kind": "Name", + "value": "quantity" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Float" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The unique ID for the requisition list item.", + "block": true + }, + "name": { + "kind": "Name", + "value": "uid" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + } + ], + "interfaces": [ + { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RequisitionListItemInterface" + } + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "BraintreeInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway.", + "block": true + }, + "name": { + "kind": "Name", + "value": "device_data" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "States whether the payment details (Credit/Debit Card, PayPal Account) entered by a customer should be tokenized for later usage. Required only if Vault is enabled for the relevant Braintree payment integration.", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_active_payment_token_enabler" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The one-time payment token generated by Braintree payment gateway based on payment details (Card, PayPal). Required field to make sale transaction.", + "block": true + }, + "name": { + "kind": "Name", + "value": "payment_method_nonce" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "BraintreeCcVaultInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "device_data" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "public_hash" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "BraintreeVaultInput" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "device_data" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "public_hash" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "directives": [] + } + ] +}; +exports.default = (0, graphql_1.buildASTSchema)(schemaAST, { + assumeValid: true, + assumeValidSDL: true +}); diff --git a/.mesh/sources/AdobeCommerceAPI/schema.graphql b/.mesh/sources/AdobeCommerceAPI/schema.graphql new file mode 100644 index 00000000..30ced4f2 --- /dev/null +++ b/.mesh/sources/AdobeCommerceAPI/schema.graphql @@ -0,0 +1,14556 @@ +schema { + query: Query + mutation: Mutation +} + +type Query { + """ + Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options. + """ + attributesForm( + """Form code.""" + formCode: String! + ): AttributesFormOutput! + """Returns a list of attributes metadata for a given entity type.""" + attributesList( + """Entity type.""" + entityType: AttributeEntityTypeEnum! + """Identifies which filter inputs to search for and return.""" + filters: AttributeFilterInput + ): AttributesMetadataOutput + """ + Return details about custom EAV attributes, and optionally, system attributes. + """ + attributesMetadata( + """The type of entity to search.""" + entityType: AttributeEntityTypeEnum! + """An array of attribute IDs to search.""" + attributeUids: [ID!] + """Indicates whether to return matching system attributes as well.""" + showSystemAttributes: Boolean + ): AttributesMetadata @deprecated(reason: "Use Adobe Commerce `customAttributeMetadataV2` query instead") + """Get a list of available store views and their config information.""" + availableStores( + """Filter store views by the current store group.""" + useCurrentGroup: Boolean + ): [StoreConfig] + """Return information about the specified shopping cart.""" + cart( + """The unique ID of the cart to query.""" + cart_id: String! + ): Cart + """Return a list of categories that match the specified filter.""" + categories( + """Identifies which Category filter inputs to search for and return.""" + filters: CategoryFilterInput + """ + Specifies the maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): CategoryResult + """ + Search for categories that match the criteria specified in the `search` and `filter` attributes. + """ + category( + """The category ID to use as the root of the search.""" + id: Int + ): CategoryTree @deprecated(reason: "Use `categories` instead.") + """Return an array of categories based on the specified filters.""" + categoryList( + """Identifies which Category filter inputs to search for and return.""" + filters: CategoryFilterInput + """ + Specifies the maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): [CategoryTree] @deprecated(reason: "Use `categories` instead.") + """Return Terms and Conditions configuration information.""" + checkoutAgreements: [CheckoutAgreement] + """Return information about CMS blocks.""" + cmsBlocks( + """An array of CMS block IDs.""" + identifiers: [String] + ): CmsBlocks + """Return details about a CMS page.""" + cmsPage( + """The ID of the CMS page.""" + id: Int + """The identifier of the CMS page.""" + identifier: String + ): CmsPage + """ + Return detailed information about the customer's company within the current company context. + """ + company: Company + """Return products that have been added to the specified compare list.""" + compareList( + """The unique ID of the compare list to be queried.""" + uid: ID! + ): CompareList + """The countries query provides information for all countries.""" + countries: [Country] + """The countries query provides information for a single country.""" + country(id: String): Country + """Return information about the store's currency.""" + currency: Currency + """Return the attribute type, given an attribute code and entity type.""" + customAttributeMetadata( + """ + An input object that specifies the attribute code and entity type to search. + """ + attributes: [AttributeInput!]! + ): CustomAttributeMetadata @deprecated(reason: "Use `customAttributeMetadataV2` query instead.") + """Retrieve EAV attributes metadata.""" + customAttributeMetadataV2(attributes: [AttributeInput!]): AttributesMetadataOutput! + """Return detailed information about a customer account.""" + customer: Customer + """Return information about the customer's shopping cart.""" + customerCart: Cart! + """Return a list of downloadable products the customer has purchased.""" + customerDownloadableProducts: CustomerDownloadableProducts + customerOrders: CustomerOrders @deprecated(reason: "Use the `customer` query instead.") + """Return a list of customer payment tokens stored in the vault.""" + customerPaymentTokens: CustomerPaymentTokens + """Return a list of dynamic blocks filtered by type, location, or UIDs.""" + dynamicBlocks( + """Defines the filter for returning matching dynamic blocks.""" + input: DynamicBlocksFilterInput + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): DynamicBlocks! + """ + Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction. + """ + getHostedProUrl( + """An input object that specifies the cart ID.""" + input: HostedProUrlInput! + ): HostedProUrl + """ + Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods. + """ + getPayflowLinkToken( + """ + An input object that defines the requirements to receive a payment token. + """ + input: PayflowLinkTokenInput! + ): PayflowLinkToken + """Retrieves the payment configuration for a given location""" + getPaymentConfig( + """Defines the origin location for that payment request""" + location: PaymentLocation! + ): PaymentConfigOutput + """Retrieves the payment details for the order""" + getPaymentOrder( + """The customer cart ID""" + cartId: String! + """PayPal order ID""" + id: String! + ): PaymentOrderOutput + """Gets the payment SDK urls and values""" + getPaymentSDK( + """Defines the origin location for that payment request""" + location: PaymentLocation! + ): GetPaymentSDKOutput + """Retrieves the vault configuration""" + getVaultConfig: VaultConfigOutput + """Return details about a specific gift card.""" + giftCardAccount( + """An input object that specifies the gift card code.""" + input: GiftCardAccountInput! + ): GiftCardAccount + """ + Return the specified gift registry. Some details will not be available to guests. + """ + giftRegistry( + """The unique ID of the registry to search for.""" + giftRegistryUid: ID! + ): GiftRegistry + """Search for gift registries by specifying a registrant email address.""" + giftRegistryEmailSearch( + """The registrant's email.""" + email: String! + ): [GiftRegistrySearchResult] + """Search for gift registries by specifying a registry URL key.""" + giftRegistryIdSearch( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + ): [GiftRegistrySearchResult] + """ + Search for gift registries by specifying the registrant name and registry type ID. + """ + giftRegistryTypeSearch( + """The first name of the registrant.""" + firstName: String! + """The last name of the registrant.""" + lastName: String! + """The type UID of the registry.""" + giftRegistryTypeUid: ID + ): [GiftRegistrySearchResult] + """Get a list of available gift registry types.""" + giftRegistryTypes: [GiftRegistryType] + """Retrieve guest order details based on number, email and postcode.""" + guestOrder(input: OrderInformationInput!): CustomerOrder! + """Retrieve guest order details based on token.""" + guestOrderByToken(input: OrderTokenInput!): CustomerOrder! + """ + Check whether the specified email can be used to register a company admin. + """ + isCompanyAdminEmailAvailable(email: String!): IsCompanyAdminEmailAvailableOutput + """ + Check whether the specified email can be used to register a new company. + """ + isCompanyEmailAvailable(email: String!): IsCompanyEmailAvailableOutput + """Check whether the specified role name is valid for the company.""" + isCompanyRoleNameAvailable(name: String!): IsCompanyRoleNameAvailableOutput + """ + Check whether the specified email can be used to register a company user. + """ + isCompanyUserEmailAvailable(email: String!): IsCompanyUserEmailAvailableOutput + """ + Check whether the specified email has already been used to create a customer account. + """ + isEmailAvailable( + """The email address to check.""" + email: String! + ): IsEmailAvailableOutput + """Retrieve the specified negotiable quote.""" + negotiableQuote(uid: ID!): NegotiableQuote + """Retrieve the specified negotiable quote template.""" + negotiableQuoteTemplate(templateId: ID!): NegotiableQuoteTemplate + """ + Return a list of negotiable quote templates that can be viewed by the logged-in customer. + """ + negotiableQuoteTemplates( + """ + The filter to use to determine which negotiable quote templates to return. + """ + filter: NegotiableQuoteTemplateFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteTemplateSortInput + ): NegotiableQuoteTemplatesOutput + """ + Return a list of negotiable quotes that can be viewed by the logged-in customer. + """ + negotiableQuotes( + """The filter to use to determine which negotiable quotes to return.""" + filter: NegotiableQuoteFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteSortInput + ): NegotiableQuotesOutput + """ + The pickup locations query searches for locations that match the search request requirements. + """ + pickupLocations( + """Perform search by location using radius and search term.""" + area: AreaInput + """Apply filters by attributes.""" + filters: PickupLocationFilterInput + """ + Specifies which attribute to sort on, and whether to return the results in ascending or descending order. + """ + sort: PickupLocationSortInput + """ + The maximum number of pickup locations to return at once. The attribute is optional. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + """Information about products which should be delivered.""" + productsInfo: [ProductInfoInput] + ): PickupLocations + """ + Return the active ratings attributes and the values each rating can have. + """ + productReviewRatingsMetadata: ProductReviewRatingsMetadata! + """ + Search for products that match the criteria specified in the `search` and `filter` attributes. + """ + products( + """One or more keywords to use in a full-text search.""" + search: String + """The product attributes to search for and return.""" + filter: ProductAttributeFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + Specifies which attributes to sort on, and whether to return the results in ascending or descending order. + """ + sort: ProductAttributeSortInput + ): Products + """Returns details about Google reCAPTCHA V3-Invisible configuration.""" + recaptchaV3Config: ReCaptchaConfigurationV3 + """ + Return the full details for a specified product, category, or CMS page. + """ + route( + """A `url_key` appended by the `url_suffix, if one exists.""" + url: String! + ): RoutableInterface + searchTerm( + """An input of Search Term""" + Search: String + ): SearchTerm + """Return details about the store's configuration.""" + storeConfig: StoreConfig + """Return the relative URL for a specified product, category or CMS page.""" + urlResolver( + """A `url_key` appended by the `url_suffix, if one exists.""" + url: String! + ): EntityUrl @deprecated(reason: "Use the `route` query instead.") + """Return the contents of a customer's wish list.""" + wishlist: WishlistOutput @deprecated(reason: "Moved under `Customer.wishlist`.") +} + +type Mutation { + """Accept invitation to the company.""" + acceptCompanyInvitation(input: CompanyInvitationInput!): CompanyInvitationOutput + """Update an existing negotiable quote template.""" + acceptNegotiableQuoteTemplate( + """ + An input object that contains the data to update a negotiable quote template. + """ + input: AcceptNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """ + Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addBundleProductsToCart( + """An input object that defines which bundle products to add to the cart.""" + input: AddBundleProductsToCartInput + ): AddBundleProductsToCartOutput + """ + Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addConfigurableProductsToCart( + """ + An input object that defines which configurable products to add to the cart. + """ + input: AddConfigurableProductsToCartInput + ): AddConfigurableProductsToCartOutput + """ + Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addDownloadableProductsToCart( + """ + An input object that defines which downloadable products to add to the cart. + """ + input: AddDownloadableProductsToCartInput + ): AddDownloadableProductsToCartOutput + """Add registrants to the specified gift registry.""" + addGiftRegistryRegistrants( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array registrants to add.""" + registrants: [AddGiftRegistryRegistrantInput!]! + ): AddGiftRegistryRegistrantsOutput + """Add any type of product to the cart.""" + addProductsToCart( + """The cart ID of the shopper.""" + cartId: String! + """An array that defines the products to add to the cart.""" + cartItems: [CartItemInput!]! + ): AddProductsToCartOutput + """Add products to the specified compare list.""" + addProductsToCompareList( + """ + An input object that defines which products to add to an existing compare list. + """ + input: AddProductsToCompareListInput + ): CompareList + """Add items to the specified requisition list.""" + addProductsToRequisitionList( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """An array of products to be added to the requisition list.""" + requisitionListItems: [RequisitionListItemsInput!]! + ): AddProductsToRequisitionListOutput + """ + Add one or more products to the specified wish list. This mutation supports all product types. + """ + addProductsToWishlist( + """The ID of a wish list.""" + wishlistId: ID! + """An array of products to add to the wish list.""" + wishlistItems: [WishlistItemInput!]! + ): AddProductsToWishlistOutput + """Add a comment to an existing purchase order.""" + addPurchaseOrderComment(input: AddPurchaseOrderCommentInput!): AddPurchaseOrderCommentOutput + """Add purchase order items to the shopping cart.""" + addPurchaseOrderItemsToCart(input: AddPurchaseOrderItemsToCartInput!): AddProductsToCartOutput + """Add items in the requisition list to the customer's cart.""" + addRequisitionListItemsToCart( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """ + An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the requisition list will be added to the cart. + """ + requisitionListItemUids: [ID!] + ): AddRequisitionListItemsToCartOutput + """Add a comment to an existing return.""" + addReturnComment( + """An input object that defines a return comment.""" + input: AddReturnCommentInput! + ): AddReturnCommentOutput + """Add tracking information to the return.""" + addReturnTracking( + """An input object that defines tracking information.""" + input: AddReturnTrackingInput! + ): AddReturnTrackingOutput + """ + Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addSimpleProductsToCart( + """An input object that defines which simple products to add to the cart.""" + input: AddSimpleProductsToCartInput + ): AddSimpleProductsToCartOutput + """ + Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead. + """ + addVirtualProductsToCart( + """ + An input object that defines which virtual products to add to the cart. + """ + input: AddVirtualProductsToCartInput + ): AddVirtualProductsToCartOutput + """Add items in the specified wishlist to the customer's cart.""" + addWishlistItemsToCart( + """The unique ID of the wish list""" + wishlistId: ID! + """ + An array of IDs representing products to be added to the cart. If no IDs are specified, all items in the wishlist will be added to the cart + """ + wishlistItemIds: [ID!] + ): AddWishlistItemsToCartOutput + """Apply a pre-defined coupon code to the specified cart.""" + applyCouponToCart( + """An input object that defines the coupon code to apply to the cart.""" + input: ApplyCouponToCartInput + ): ApplyCouponToCartOutput + """Apply a pre-defined coupon code to the specified cart.""" + applyCouponsToCart( + """An input object that defines the coupon code to apply to the cart.""" + input: ApplyCouponsToCartInput + ): ApplyCouponToCartOutput + """Apply a pre-defined gift card code to the specified cart.""" + applyGiftCardToCart( + """An input object that specifies the gift card code and cart.""" + input: ApplyGiftCardToCartInput + ): ApplyGiftCardToCartOutput + """ + Apply all available points, up to the cart total. Partial redemption is not available. + """ + applyRewardPointsToCart(cartId: ID!): ApplyRewardPointsToCartOutput + """Apply store credit to the specified cart.""" + applyStoreCreditToCart( + """An input object that specifies the cart ID.""" + input: ApplyStoreCreditToCartInput! + ): ApplyStoreCreditToCartOutput + """Approve purchase orders.""" + approvePurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput + """Assign the specified compare list to the logged in customer.""" + assignCompareListToCustomer( + """The unique ID of the compare list to be assigned.""" + uid: ID! + ): AssignCompareListToCustomerOutput + """Assign a logged-in customer to the specified guest shopping cart.""" + assignCustomerToGuestCart(cart_id: String!): Cart! + """Cancel a negotiable quote template""" + cancelNegotiableQuoteTemplate( + """An input object that cancels a negotiable quote template.""" + input: CancelNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """Cancel the specified customer order.""" + cancelOrder(input: CancelOrderInput!): CancelOrderOutput + """Cancel purchase orders.""" + cancelPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput + """Change the password for the logged-in customer.""" + changeCustomerPassword( + """The customer's original password.""" + currentPassword: String! + """The customer's updated password.""" + newPassword: String! + ): Customer + """Remove all items from the specified cart.""" + clearCart( + """An input object that defines cart ID of the shopper.""" + input: ClearCartInput! + ): ClearCartOutput! + """Remove all items from the specified cart.""" + clearCustomerCart( + """The masked ID of the cart.""" + cartUid: String! + ): ClearCustomerCartOutput + """ + Mark a negotiable quote as closed. The negotiable quote is still visible on the storefront. + """ + closeNegotiableQuotes( + """An input object that closes a negotiable quote.""" + input: CloseNegotiableQuotesInput! + ): CloseNegotiableQuotesOutput + """Confirms the email address for a customer.""" + confirmEmail( + """An input object to identify the customer to confirm the email.""" + input: ConfirmEmailInput! + ): CustomerOutput + """Send a 'Contact Us' email to the merchant.""" + contactUs( + """An input object that defines shopper information.""" + input: ContactUsInput! + ): ContactUsOutput + """Copy items from one requisition list to another.""" + copyItemsBetweenRequisitionLists( + """The unique ID of the source requisition list.""" + sourceRequisitionListUid: ID! + """ + The unique ID of the destination requisition list. If null, a new requisition list will be created. + """ + destinationRequisitionListUid: ID + """The list of products to copy.""" + requisitionListItem: CopyItemsBetweenRequisitionListsInput + ): CopyItemsFromRequisitionListsOutput + """ + Copy products from one wish list to another. The original wish list is unchanged. + """ + copyProductsBetweenWishlists( + """The ID of the original wish list.""" + sourceWishlistUid: ID! + """The ID of the target wish list.""" + destinationWishlistUid: ID! + """An array of items to copy.""" + wishlistItems: [WishlistItemCopyInput!]! + ): CopyProductsBetweenWishlistsOutput + """Creates Client Token for Braintree Javascript SDK initialization.""" + createBraintreeClientToken: String! + """ + Creates Client Token for Braintree PayPal Javascript SDK initialization. + """ + createBraintreePayPalClientToken: String! + """ + Creates Client Token for Braintree PayPal Vault Javascript SDK initialization. + """ + createBraintreePayPalVaultClientToken(input: BraintreeVaultInput): String! + """Create a company at the request of either a customer or a guest.""" + createCompany(input: CompanyCreateInput!): CreateCompanyOutput + """Create a new company role.""" + createCompanyRole(input: CompanyRoleCreateInput!): CreateCompanyRoleOutput + """ + Create a new team for the customer's company within the current company context. + """ + createCompanyTeam(input: CompanyTeamCreateInput!): CreateCompanyTeamOutput + """Create a new company user at the request of an existing customer.""" + createCompanyUser(input: CompanyUserCreateInput!): CreateCompanyUserOutput + """ + Create a new compare list. The compare list is saved for logged in customers. + """ + createCompareList(input: CreateCompareListInput): CompareList + """Use `createCustomerV2` instead.""" + createCustomer( + """An input object that defines the customer to be created.""" + input: CustomerInput! + ): CustomerOutput + """Create a billing or shipping address for a customer or guest.""" + createCustomerAddress(input: CustomerAddressInput!): CustomerAddress + """Create a customer account.""" + createCustomerV2( + """An input object that defines the customer to be created.""" + input: CustomerCreateInput! + ): CustomerOutput + """Create an empty shopping cart for a guest or logged in user""" + createEmptyCart( + """An optional input object that assigns the specified ID to the cart.""" + input: createEmptyCartInput + ): String @deprecated(reason: "Use `Mutation.createGuestCart` or `Query.customerCart` for logged in customer") + """Create a gift registry on behalf of the customer.""" + createGiftRegistry( + """An input object that defines a new gift registry.""" + giftRegistry: CreateGiftRegistryInput! + ): CreateGiftRegistryOutput + """Create a new shopping cart""" + createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput + """ + Initiate a transaction and receive a token. Use this mutation for Payflow Pro and Payments Pro payment methods + """ + createPayflowProToken( + """ + An input object that defines the requirements to fetch payment token information. + """ + input: PayflowProTokenInput! + ): CreatePayflowProTokenOutput + """Creates a payment order for further payment processing""" + createPaymentOrder( + """ + Contains payment order details that are used while processing the payment order + """ + input: CreatePaymentOrderInput! + ): CreatePaymentOrderOutput + """ + Initiate an Express Checkout transaction and receive a token. Use this mutation for Express Checkout and Payments Standard payment methods. + """ + createPaypalExpressToken( + """ + An input object that defines the requirements to receive a payment token. + """ + input: PaypalExpressTokenInput! + ): PaypalExpressTokenOutput + """Create a product review for the specified product.""" + createProductReview( + """ + An input object that contains the details necessary to create a product review. + """ + input: CreateProductReviewInput! + ): CreateProductReviewOutput! + """Create a purchase order approval rule.""" + createPurchaseOrderApprovalRule(input: PurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule + """Create an empty requisition list.""" + createRequisitionList(input: CreateRequisitionListInput): CreateRequisitionListOutput + """Creates a vault payment token""" + createVaultCardPaymentToken( + """Describe the variables needed to create a vault card payment token""" + input: CreateVaultCardPaymentTokenInput! + ): CreateVaultCardPaymentTokenOutput + """Creates a vault card setup token""" + createVaultCardSetupToken( + """Describe the variables needed to create a vault card setup token""" + input: CreateVaultCardSetupTokenInput! + ): CreateVaultCardSetupTokenOutput + """Create a new wish list.""" + createWishlist( + """An input object that defines a new wish list.""" + input: CreateWishlistInput! + ): CreateWishlistOutput + """Delete the specified company role.""" + deleteCompanyRole(id: ID!): DeleteCompanyRoleOutput + """Delete the specified company team.""" + deleteCompanyTeam(id: ID!): DeleteCompanyTeamOutput + """Delete the specified company user.""" + deleteCompanyUser(id: ID!): DeleteCompanyUserOutput @deprecated(reason: "Use deleteCompanyUserV2 instead. The current method only deactivates the user account associated with the company.") + """Delete the specified company user.""" + deleteCompanyUserV2(id: ID!): DeleteCompanyUserOutput + """Delete the specified compare list.""" + deleteCompareList( + """The unique ID of the compare list to be deleted.""" + uid: ID! + ): DeleteCompareListOutput + """Delete customer account""" + deleteCustomer: Boolean + """Delete the billing or shipping address of a customer.""" + deleteCustomerAddress( + """The ID of the customer address to be deleted.""" + id: Int! + ): Boolean + """Delete a negotiable quote template""" + deleteNegotiableQuoteTemplate( + """An input object that cancels a negotiable quote template.""" + input: DeleteNegotiableQuoteTemplateInput! + ): Boolean! + """ + Delete a negotiable quote. The negotiable quote will not be displayed on the storefront. + """ + deleteNegotiableQuotes( + """An input object that deletes a negotiable quote.""" + input: DeleteNegotiableQuotesInput! + ): DeleteNegotiableQuotesOutput + """Delete a customer's payment token.""" + deletePaymentToken( + """The reusable payment token securely stored in the vault.""" + public_hash: String! + ): DeletePaymentTokenOutput + """Delete existing purchase order approval rules.""" + deletePurchaseOrderApprovalRule(input: DeletePurchaseOrderApprovalRuleInput!): DeletePurchaseOrderApprovalRuleOutput + """Delete a requisition list.""" + deleteRequisitionList( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + ): DeleteRequisitionListOutput + """Delete items from a requisition list.""" + deleteRequisitionListItems( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """ + An array of UIDs representing products to be removed from the requisition list. + """ + requisitionListItemUids: [ID!]! + ): DeleteRequisitionListItemsOutput + """ + Delete the specified wish list. You cannot delete the customer's default (first) wish list. + """ + deleteWishlist( + """The ID of the wish list to delete.""" + wishlistId: ID! + ): DeleteWishlistOutput + """Negotiable Quote resulting from duplication operation.""" + duplicateNegotiableQuote( + """An input object that defines ID of the quote to be duplicated.""" + input: DuplicateNegotiableQuoteInput! + ): DuplicateNegotiableQuoteOutput + """Estimate shipping method(s) for cart based on address""" + estimateShippingMethods( + """ + An input object that specifies details for estimation of available shipping methods + """ + input: EstimateTotalsInput! + ): [AvailableShippingMethod] + """Estimate totals for cart based on the address""" + estimateTotals( + """An input object that specifies details for cart totals estimation""" + input: EstimateTotalsInput! + ): EstimateTotalsOutput! + """Generate a token for specified customer.""" + generateCustomerToken( + """The customer's email address.""" + email: String! + """The customer's password.""" + password: String! + ): CustomerToken + """ + Request a customer token so that an administrator can perform remote shopping assistance. + """ + generateCustomerTokenAsAdmin( + """An input object that defines the customer email address.""" + input: GenerateCustomerTokenAsAdminInput! + ): GenerateCustomerTokenAsAdminOutput + """Generate a negotiable quote from an accept quote template.""" + generateNegotiableQuoteFromTemplate( + """ + An input object that contains the data to generate a negotiable quote from quote template. + """ + input: GenerateNegotiableQuoteFromTemplateInput! + ): GenerateNegotiableQuoteFromTemplateOutput + """ + Handle a payment response and save the payment in Quote. Use this mutation for Payflow Pro and Payments Pro payment methods. + """ + handlePayflowProResponse( + """ + An input object that includes the payload returned by PayPal and the cart ID. + """ + input: PayflowProResponseInput! + ): PayflowProResponseOutput + """ + Transfer the contents of a guest cart into the cart of a logged-in customer. + """ + mergeCarts( + """The guest's cart ID before they login.""" + source_cart_id: String! + """The cart ID after the guest logs in.""" + destination_cart_id: String + ): Cart! + """Move all items from the cart to a gift registry.""" + moveCartItemsToGiftRegistry( + """ + The unique ID of the cart containing items to be moved to a gift registry. + """ + cartUid: ID! + """The unique ID of the target gift registry.""" + giftRegistryUid: ID! + ): MoveCartItemsToGiftRegistryOutput + """Move Items from one requisition list to another.""" + moveItemsBetweenRequisitionLists( + """The unique ID of the source requisition list.""" + sourceRequisitionListUid: ID! + """ + The unique ID of the destination requisition list. If null, a new requisition list will be created. + """ + destinationRequisitionListUid: ID + """The list of products to move.""" + requisitionListItem: MoveItemsBetweenRequisitionListsInput + ): MoveItemsBetweenRequisitionListsOutput + """Move negotiable quote item to requisition list.""" + moveLineItemToRequisitionList( + """ + An input object that defines the quote item and requisition list moved to. + """ + input: MoveLineItemToRequisitionListInput! + ): MoveLineItemToRequisitionListOutput + """Move products from one wish list to another.""" + moveProductsBetweenWishlists( + """The ID of the original wish list.""" + sourceWishlistUid: ID! + """The ID of the target wish list.""" + destinationWishlistUid: ID! + """An array of items to move.""" + wishlistItems: [WishlistItemMoveInput!]! + ): MoveProductsBetweenWishlistsOutput + """Open an existing negotiable quote template.""" + openNegotiableQuoteTemplate( + """ + An input object that contains the data to open a negotiable quote template. + """ + input: OpenNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """Convert a negotiable quote into an order.""" + placeNegotiableQuoteOrder( + """An input object that specifies the negotiable quote.""" + input: PlaceNegotiableQuoteOrderInput! + ): PlaceNegotiableQuoteOrderOutput + """Convert the quote into an order.""" + placeOrder( + """An input object that defines the shopper's cart ID.""" + input: PlaceOrderInput + ): PlaceOrderOutput + """Convert the purchase order into an order.""" + placeOrderForPurchaseOrder(input: PlaceOrderForPurchaseOrderInput!): PlaceOrderForPurchaseOrderOutput + """Place a purchase order.""" + placePurchaseOrder(input: PlacePurchaseOrderInput!): PlacePurchaseOrderOutput + """Redeem a gift card for store credit.""" + redeemGiftCardBalanceAsStoreCredit( + """An input object that specifies the gift card code to redeem.""" + input: GiftCardAccountInput! + ): GiftCardAccount + """Reject purchase orders.""" + rejectPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput + """ + Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. + """ + removeCouponFromCart( + """ + An input object that defines which coupon code to remove from the cart. + """ + input: RemoveCouponFromCartInput + ): RemoveCouponFromCartOutput + """ + Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. + """ + removeCouponsFromCart( + """ + An input object that defines which coupon code to remove from the cart. + """ + input: RemoveCouponsFromCartInput + ): RemoveCouponFromCartOutput + """Removes a gift card from the cart.""" + removeGiftCardFromCart( + """ + An input object that specifies which gift card code to remove from the cart. + """ + input: RemoveGiftCardFromCartInput + ): RemoveGiftCardFromCartOutput + """Delete the specified gift registry.""" + removeGiftRegistry( + """The unique ID of the gift registry to delete.""" + giftRegistryUid: ID! + ): RemoveGiftRegistryOutput + """Delete the specified items from a gift registry.""" + removeGiftRegistryItems( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of item IDs to remove from the gift registry.""" + itemsUid: [ID!]! + ): RemoveGiftRegistryItemsOutput + """Removes registrants from a gift registry.""" + removeGiftRegistryRegistrants( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of registrant IDs to remove.""" + registrantsUid: [ID!]! + ): RemoveGiftRegistryRegistrantsOutput + """ + Delete the entire quantity of a specified item from the cart. If you remove all items from the cart, the cart continues to exist. + """ + removeItemFromCart( + """An input object that defines which products to remove from the cart.""" + input: RemoveItemFromCartInput + ): RemoveItemFromCartOutput + """Remove one or more products from a negotiable quote.""" + removeNegotiableQuoteItems( + """ + An input object that removes one or more items from a negotiable quote. + """ + input: RemoveNegotiableQuoteItemsInput! + ): RemoveNegotiableQuoteItemsOutput + """Remove one or more products from a negotiable quote template.""" + removeNegotiableQuoteTemplateItems( + """ + An input object that removes one or more items from a negotiable quote template. + """ + input: RemoveNegotiableQuoteTemplateItemsInput! + ): NegotiableQuoteTemplate + """Remove products from the specified compare list.""" + removeProductsFromCompareList( + """ + An input object that defines which products to remove from a compare list. + """ + input: RemoveProductsFromCompareListInput + ): CompareList + """Remove one or more products from the specified wish list.""" + removeProductsFromWishlist( + """The ID of a wish list.""" + wishlistId: ID! + """An array of item IDs representing products to be removed.""" + wishlistItemsIds: [ID!]! + ): RemoveProductsFromWishlistOutput + """Remove a tracked shipment from a return.""" + removeReturnTracking( + """An input object that removes tracking information.""" + input: RemoveReturnTrackingInput! + ): RemoveReturnTrackingOutput + """Cancel the application of reward points to the cart.""" + removeRewardPointsFromCart(cartId: ID!): RemoveRewardPointsFromCartOutput + """Remove store credit that has been applied to the specified cart.""" + removeStoreCreditFromCart( + """An input object that specifies the cart ID.""" + input: RemoveStoreCreditFromCartInput! + ): RemoveStoreCreditFromCartOutput + """Rename negotiable quote.""" + renameNegotiableQuote( + """An input object that defines the quote item name and comment.""" + input: RenameNegotiableQuoteInput! + ): RenameNegotiableQuoteOutput + """Add all products from a customer's previous order to the cart.""" + reorderItems(orderNumber: String!): ReorderItemsOutput + """Request a new negotiable quote on behalf of the buyer.""" + requestNegotiableQuote( + """ + An input object that contains a request to initiate a negotiable quote. + """ + input: RequestNegotiableQuoteInput! + ): RequestNegotiableQuoteOutput + """Request a new negotiable quote on behalf of the buyer.""" + requestNegotiableQuoteTemplateFromQuote( + """ + An input object that contains a request to initiate a negotiable quote template. + """ + input: RequestNegotiableQuoteTemplateInput! + ): NegotiableQuoteTemplate + """ + Request an email with a reset password token for the registered customer identified by the specified email. + """ + requestPasswordResetEmail( + """The customer's email address.""" + email: String! + ): Boolean + """Initiates a buyer's request to return items for replacement or refund.""" + requestReturn( + """ + An input object that contains the fields needed to start a return request. + """ + input: RequestReturnInput! + ): RequestReturnOutput + """ + Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`. + """ + resetPassword( + """The customer's email address.""" + email: String! + """A runtime token generated by the `requestPasswordResetEmail` mutation.""" + resetPasswordToken: String! + """The customer's new password.""" + newPassword: String! + ): Boolean + """Revoke the customer token.""" + revokeCustomerToken: RevokeCustomerTokenOutput + """ + Send a message on behalf of a customer to the specified email addresses. + """ + sendEmailToFriend( + """An input object that defines sender, recipients, and product.""" + input: SendEmailToFriendInput + ): SendEmailToFriendOutput + """Send the negotiable quote to the seller for review.""" + sendNegotiableQuoteForReview( + """ + An input object that sends a request for the merchant to review a negotiable quote. + """ + input: SendNegotiableQuoteForReviewInput! + ): SendNegotiableQuoteForReviewOutput + """Set the billing address on a specific cart.""" + setBillingAddressOnCart( + """ + An input object that defines the billing address to be assigned to the cart. + """ + input: SetBillingAddressOnCartInput + ): SetBillingAddressOnCartOutput + """ + Set gift options, including gift messages, gift wrapping, gift receipts, and printed cards. + """ + setGiftOptionsOnCart( + """An input object that defines the selected gift options.""" + input: SetGiftOptionsOnCartInput + ): SetGiftOptionsOnCartOutput + """Assign the email address of a guest to the cart.""" + setGuestEmailOnCart( + """An input object that defines a guest email address.""" + input: SetGuestEmailOnCartInput + ): SetGuestEmailOnCartOutput + """Add buyer's note to a negotiable quote item.""" + setLineItemNote( + """An input object that defines the quote item note.""" + input: LineItemNoteInput! + ): SetLineItemNoteOutput + """Assign a billing address to a negotiable quote.""" + setNegotiableQuoteBillingAddress( + """ + An input object that defines the billing address to be assigned to a negotiable quote. + """ + input: SetNegotiableQuoteBillingAddressInput! + ): SetNegotiableQuoteBillingAddressOutput + """Set the payment method on a negotiable quote.""" + setNegotiableQuotePaymentMethod( + """ + An input object that defines the payment method for the specified negotiable quote. + """ + input: SetNegotiableQuotePaymentMethodInput! + ): SetNegotiableQuotePaymentMethodOutput + """ + Assign a previously-defined address as the shipping address for a negotiable quote. + """ + setNegotiableQuoteShippingAddress( + """ + An input object that defines the shipping address to be assigned to a negotiable quote. + """ + input: SetNegotiableQuoteShippingAddressInput! + ): SetNegotiableQuoteShippingAddressOutput + """Assign the shipping methods on the negotiable quote.""" + setNegotiableQuoteShippingMethods( + """ + An input object that defines the shipping methods to be assigned to a negotiable quote. + """ + input: SetNegotiableQuoteShippingMethodsInput! + ): SetNegotiableQuoteShippingMethodsOutput + """ + Assign a previously-defined address as the shipping address for a negotiable quote template. + """ + setNegotiableQuoteTemplateShippingAddress( + """ + An input object that defines the shipping address to be assigned to a negotiable quote template. + """ + input: SetNegotiableQuoteTemplateShippingAddressInput! + ): NegotiableQuoteTemplate + """Set the cart payment method and convert the cart into an order.""" + setPaymentMethodAndPlaceOrder(input: SetPaymentMethodAndPlaceOrderInput): PlaceOrderOutput @deprecated(reason: "Should use setPaymentMethodOnCart and placeOrder mutations in single request.") + """Apply a payment method to the cart.""" + setPaymentMethodOnCart( + """ + An input object that defines which payment method to apply to the cart. + """ + input: SetPaymentMethodOnCartInput + ): SetPaymentMethodOnCartOutput + """Add buyer's note to a negotiable quote template item.""" + setQuoteTemplateLineItemNote( + """An input object that defines the quote template item note.""" + input: QuoteTemplateLineItemNoteInput! + ): NegotiableQuoteTemplate + """Set one or more shipping addresses on a specific cart.""" + setShippingAddressesOnCart( + """ + An input object that defines one or more shipping addresses to be assigned to the cart. + """ + input: SetShippingAddressesOnCartInput + ): SetShippingAddressesOnCartOutput + """Set one or more delivery methods on a cart.""" + setShippingMethodsOnCart( + """An input object that applies one or more shipping methods to the cart.""" + input: SetShippingMethodsOnCartInput + ): SetShippingMethodsOnCartOutput + """Send an email about the gift registry to a list of invitees.""" + shareGiftRegistry( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """The sender's email address and gift message.""" + sender: ShareGiftRegistrySenderInput! + """An array containing invitee names and email addresses.""" + invitees: [ShareGiftRegistryInviteeInput!]! + ): ShareGiftRegistryOutput + """Accept an existing negotiable quote template.""" + submitNegotiableQuoteTemplateForReview( + """ + An input object that contains the data to update a negotiable quote template. + """ + input: SubmitNegotiableQuoteTemplateForReviewInput! + ): NegotiableQuoteTemplate + """Subscribe the specified email to the store's newsletter.""" + subscribeEmailToNewsletter( + """The email address that will receive the store's newsletter.""" + email: String! + ): SubscribeEmailToNewsletterOutput + """Synchronizes the payment order details for further payment processing""" + syncPaymentOrder( + """ + Describes the variables needed to synchronize the payment order details + """ + input: SyncPaymentOrderInput + ): Boolean + """Modify items in the cart.""" + updateCartItems( + """An input object that defines products to be updated.""" + input: UpdateCartItemsInput + ): UpdateCartItemsOutput + """Update company information.""" + updateCompany(input: CompanyUpdateInput!): UpdateCompanyOutput + """Update company role information.""" + updateCompanyRole(input: CompanyRoleUpdateInput!): UpdateCompanyRoleOutput + """ + Change the parent node of a company team within the current company context. + """ + updateCompanyStructure(input: CompanyStructureUpdateInput!): UpdateCompanyStructureOutput + """Update company team data.""" + updateCompanyTeam(input: CompanyTeamUpdateInput!): UpdateCompanyTeamOutput + """Update an existing company user.""" + updateCompanyUser(input: CompanyUserUpdateInput!): UpdateCompanyUserOutput + """Use `updateCustomerV2` instead.""" + updateCustomer( + """An input object that defines the customer characteristics to update.""" + input: CustomerInput! + ): CustomerOutput + """Update the billing or shipping address of a customer or guest.""" + updateCustomerAddress( + """The ID assigned to the customer address.""" + id: Int! + """An input object that contains changes to the customer address.""" + input: CustomerAddressInput + ): CustomerAddress + """Change the email address for the logged-in customer.""" + updateCustomerEmail( + """The customer's email address.""" + email: String! + """The customer's password.""" + password: String! + ): CustomerOutput + """Update the customer's personal information.""" + updateCustomerV2( + """An input object that defines the customer characteristics to update.""" + input: CustomerUpdateInput! + ): CustomerOutput + """Update the specified gift registry.""" + updateGiftRegistry( + """The unique ID of an existing gift registry.""" + giftRegistryUid: ID! + """An input object that defines which fields to update.""" + giftRegistry: UpdateGiftRegistryInput! + ): UpdateGiftRegistryOutput + """Update the specified items in the gift registry.""" + updateGiftRegistryItems( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of items to be updated.""" + items: [UpdateGiftRegistryItemInput!]! + ): UpdateGiftRegistryItemsOutput + """Modify the properties of one or more gift registry registrants.""" + updateGiftRegistryRegistrants( + """The unique ID of the gift registry.""" + giftRegistryUid: ID! + """An array of registrants to update.""" + registrants: [UpdateGiftRegistryRegistrantInput!]! + ): UpdateGiftRegistryRegistrantsOutput + """ + Change the quantity of one or more items in an existing negotiable quote. + """ + updateNegotiableQuoteQuantities( + """ + An input object that changes the quantity of one or more items in a negotiable quote. + """ + input: UpdateNegotiableQuoteQuantitiesInput! + ): UpdateNegotiableQuoteItemsQuantityOutput + """ + Change the quantity of one or more items in an existing negotiable quote template. + """ + updateNegotiableQuoteTemplateQuantities( + """ + An input object that changes the quantity of one or more items in a negotiable quote template. + """ + input: UpdateNegotiableQuoteTemplateQuantitiesInput! + ): UpdateNegotiableQuoteTemplateItemsQuantityOutput + """Update one or more products in the specified wish list.""" + updateProductsInWishlist( + """The ID of a wish list.""" + wishlistId: ID! + """An array of items to be updated.""" + wishlistItems: [WishlistItemUpdateInput!]! + ): UpdateProductsInWishlistOutput + """Update existing purchase order approval rules.""" + updatePurchaseOrderApprovalRule(input: UpdatePurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule + """Rename a requisition list and change its description.""" + updateRequisitionList( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + input: UpdateRequisitionListInput + ): UpdateRequisitionListOutput + """Update items in a requisition list.""" + updateRequisitionListItems( + """The unique ID of the requisition list.""" + requisitionListUid: ID! + """Items to be updated in the requisition list.""" + requisitionListItems: [UpdateRequisitionListItemsInput!]! + ): UpdateRequisitionListItemsOutput + """Change the name and visibility of the specified wish list.""" + updateWishlist( + """The ID of the wish list to update.""" + wishlistId: ID! + """The name assigned to the wish list.""" + name: String + """Indicates the visibility of the wish list.""" + visibility: WishlistVisibilityEnum + ): UpdateWishlistOutput + """Validate purchase orders.""" + validatePurchaseOrders(input: ValidatePurchaseOrdersInput!): ValidatePurchaseOrdersOutput +} + +"""Defines the comparison operators that can be used in a filter.""" +input FilterTypeInput { + """Equals.""" + eq: String + finset: [String] + """From. Must be used with the `to` field.""" + from: String + """Greater than.""" + gt: String + """Greater than or equal to.""" + gteq: String + """In. The value can contain a set of comma-separated values.""" + in: [String] + """ + Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters. + """ + like: String + """Less than.""" + lt: String + """Less than or equal to.""" + lteq: String + """More than or equal to.""" + moreq: String + """Not equal to.""" + neq: String + """Not in. The value can contain a set of comma-separated values.""" + nin: [String] + """Not null.""" + notnull: String + """Is null.""" + null: String + """To. Must be used with the `from` field.""" + to: String +} + +"""Defines a filter that matches the input exactly.""" +input FilterEqualTypeInput { + """ + Use this attribute to exactly match the specified string. For example, to filter on a specific category ID, specify a value such as `5`. + """ + eq: String + """ + Use this attribute to filter on an array of values. For example, to filter on category IDs 4, 5, and 6, specify a value of `["4", "5", "6"]`. + """ + in: [String] +} + +""" +Defines a filter that matches a range of values, such as prices or dates. +""" +input FilterRangeTypeInput { + """Use this attribute to specify the lowest possible value in the range.""" + from: String + """Use this attribute to specify the highest possible value in the range.""" + to: String +} + +"""Defines a filter that performs a fuzzy search.""" +input FilterMatchTypeInput { + """ + Use this attribute to fuzzy match the specified string. For example, to filter on a specific SKU, specify a value such as `24-MB01`. + """ + match: String + """ + Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match. + """ + match_type: FilterMatchTypeEnum +} + +enum FilterMatchTypeEnum { + FULL + PARTIAL +} + +"""Defines a filter for an input string.""" +input FilterStringTypeInput { + """Filters items that are exactly the same as the specified string.""" + eq: String + """ + Filters items that are exactly the same as entries specified in an array of strings. + """ + in: [String] + """ + Defines a filter that performs a fuzzy search using the specified string. + """ + match: String +} + +"""Provides navigation for the query response.""" +type SearchResultPageInfo { + """The specific page to return.""" + current_page: Int + """The maximum number of items to return per page of results.""" + page_size: Int + """The total number of pages in the response.""" + total_pages: Int +} + +"""Indicates whether to return results in ascending or descending order.""" +enum SortEnum { + ASC + DESC +} + +type ComplexTextValue { + """Text that can contain HTML tags.""" + html: String! +} + +""" +Defines a monetary value, including a numeric value and a currency code. +""" +type Money { + """A three-letter currency code, such as USD or EUR.""" + currency: CurrencyEnum + """A number expressing a monetary value.""" + value: Float +} + +"""The list of available currency codes.""" +enum CurrencyEnum { + AFN + ALL + AZN + DZD + AOA + ARS + AMD + AWG + AUD + BSD + BHD + BDT + BBD + BYN + BZD + BMD + BTN + BOB + BAM + BWP + BRL + GBP + BND + BGN + BUK + BIF + KHR + CAD + CVE + CZK + KYD + GQE + CLP + CNY + COP + KMF + CDF + CRC + HRK + CUP + DKK + DJF + DOP + XCD + EGP + SVC + ERN + EEK + ETB + EUR + FKP + FJD + GMD + GEK + GEL + GHS + GIP + GTQ + GNF + GYD + HTG + HNL + HKD + HUF + ISK + INR + IDR + IRR + IQD + ILS + JMD + JPY + JOD + KZT + KES + KWD + KGS + LAK + LVL + LBP + LSL + LRD + LYD + LTL + MOP + MKD + MGA + MWK + MYR + MVR + LSM + MRO + MUR + MXN + MDL + MNT + MAD + MZN + MMK + NAD + NPR + ANG + YTL + NZD + NIC + NGN + KPW + NOK + OMR + PKR + PAB + PGK + PYG + PEN + PHP + PLN + QAR + RHD + RON + RUB + RWF + SHP + STD + SAR + RSD + SCR + SLL + SGD + SKK + SBD + SOS + ZAR + KRW + LKR + SDG + SRD + SZL + SEK + CHF + SYP + TWD + TJS + TZS + THB + TOP + TTD + TND + TMM + USD + UGX + UAH + AED + UYU + UZS + VUV + VEB + VEF + VND + CHE + CHW + XOF + WST + YER + ZMK + ZWD + TRY + AZM + ROL + TRL + XPF +} + +"""Defines a customer-entered option.""" +input EnteredOptionInput { + """ + The unique ID for a `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. + """ + uid: ID! + """Text the customer entered.""" + value: String! +} + +enum BatchMutationStatus { + SUCCESS + FAILURE + MIXED_RESULTS +} + +interface ErrorInterface { + """The returned error message.""" + message: String! +} + +"""Contains an error message when an invalid UID was specified.""" +type NoSuchEntityUidError implements ErrorInterface { + """The returned error message.""" + message: String! + """The specified invalid unique ID of an object.""" + uid: ID! +} + +"""Contains an error message when an internal error occurred.""" +type InternalError implements ErrorInterface { + """The returned error message.""" + message: String! +} + +"""Defines an array of custom attributes.""" +type CustomAttributeMetadata { + """An array of attributes.""" + items: [Attribute] +} + +"""Contains details about the attribute, including the code and type.""" +type Attribute { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + attribute_code: String + """Attribute options list.""" + attribute_options: [AttributeOption] + """The data type of the attribute.""" + attribute_type: String + """The type of entity that defines the attribute.""" + entity_type: String + """The frontend input type of the attribute.""" + input_type: String + """Details about the storefront properties configured for the attribute.""" + storefront_properties: StorefrontProperties +} + +"""Indicates where an attribute can be displayed.""" +type StorefrontProperties { + """ + The relative position of the attribute in the layered navigation block. + """ + position: Int + """ + Indicates whether the attribute is filterable with results, without results, or not at all. + """ + use_in_layered_navigation: UseInLayeredNavigationOptions + """Indicates whether the attribute is displayed in product listings.""" + use_in_product_listing: Boolean + """ + Indicates whether the attribute can be used in layered navigation on search results pages. + """ + use_in_search_results_layered_navigation: Boolean + """Indicates whether the attribute is displayed on product pages.""" + visible_on_catalog_pages: Boolean +} + +"""Defines whether the attribute is filterable in layered navigation.""" +enum UseInLayeredNavigationOptions { + NO + FILTERABLE_WITH_RESULTS + FILTERABLE_NO_RESULT +} + +"""Defines an attribute option.""" +type AttributeOption implements AttributeOptionInterface { + """Indicates if option is set to be used as default value.""" + is_default: Boolean + """The label assigned to the attribute option.""" + label: String + """The unique ID of an attribute option.""" + uid: ID! + """The attribute option value.""" + value: String +} + +""" +Defines the attribute characteristics to search for the `attribute_code` and `entity_type` to search. +""" +input AttributeInput { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + attribute_code: String + """The type of entity that defines the attribute.""" + entity_type: String +} + +"""Metadata of EAV attributes.""" +type AttributesMetadataOutput { + """Errors of retrieving certain attributes metadata.""" + errors: [AttributeMetadataError]! + """Requested attributes metadata.""" + items: [CustomAttributeMetadataInterface]! +} + +"""Attribute metadata retrieval error.""" +type AttributeMetadataError { + """Attribute metadata retrieval error message.""" + message: String! + """Attribute metadata retrieval error type.""" + type: AttributeMetadataErrorType! +} + +"""Attribute metadata retrieval error types.""" +enum AttributeMetadataErrorType { + """The requested entity was not found.""" + ENTITY_NOT_FOUND + """The requested attribute was not found.""" + ATTRIBUTE_NOT_FOUND + """The filter cannot be applied as it does not belong to the entity""" + FILTER_NOT_FOUND + """Not categorized error, see the error message.""" + UNDEFINED +} + +"""An interface containing fields that define the EAV attribute.""" +interface CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """Attribute options.""" + options: [CustomAttributeOptionInterface]! +} + +interface CustomAttributeOptionInterface { + """Is the option value default.""" + is_default: Boolean! + """The label assigned to the attribute option.""" + label: String! + """The attribute option value.""" + value: String! +} + +"""Base EAV implementation of CustomAttributeOptionInterface.""" +type AttributeOptionMetadata implements CustomAttributeOptionInterface { + """Is the option value default.""" + is_default: Boolean! + """The label assigned to the attribute option.""" + label: String! + """The attribute option value.""" + value: String! +} + +"""Base EAV implementation of CustomAttributeMetadataInterface.""" +type AttributeMetadata implements CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """Attribute options.""" + options: [CustomAttributeOptionInterface]! +} + +""" +List of all entity types. Populated by the modules introducing EAV entities. +""" +enum AttributeEntityTypeEnum { + CATALOG_PRODUCT + CATALOG_CATEGORY + CUSTOMER + CUSTOMER_ADDRESS + PRODUCT + RMA_ITEM +} + +"""EAV attribute frontend input types.""" +enum AttributeFrontendInputEnum { + BOOLEAN + DATE + DATETIME + FILE + GALLERY + HIDDEN + IMAGE + MEDIA_IMAGE + MULTILINE + MULTISELECT + PRICE + SELECT + TEXT + TEXTAREA + WEIGHT + UNDEFINED +} + +"""Metadata of EAV attributes associated to form""" +type AttributesFormOutput { + """Errors of retrieving certain attributes metadata.""" + errors: [AttributeMetadataError]! + """Requested attributes metadata.""" + items: [CustomAttributeMetadataInterface]! +} + +interface AttributeValueInterface { + """The attribute code.""" + code: ID! +} + +type AttributeValue implements AttributeValueInterface { + """The attribute code.""" + code: ID! + """The attribute value.""" + value: String! +} + +type AttributeSelectedOptions implements AttributeValueInterface { + """The attribute code.""" + code: ID! + selected_options: [AttributeSelectedOptionInterface]! +} + +interface AttributeSelectedOptionInterface { + """The attribute selected option label.""" + label: String! + """The attribute selected option value.""" + value: String! +} + +type AttributeSelectedOption implements AttributeSelectedOptionInterface { + """The attribute selected option label.""" + label: String! + """The attribute selected option value.""" + value: String! +} + +"""Specifies the value for attribute.""" +input AttributeValueInput { + """The code of the attribute.""" + attribute_code: String! + """ + An array containing selected options for a select or multiselect attribute. + """ + selected_options: [AttributeInputSelectedOption] + """The value assigned to the attribute.""" + value: String +} + +"""Specifies selected option for a select or multiselect attribute value.""" +input AttributeInputSelectedOption { + """The attribute option value.""" + value: String! +} + +"""An input object that specifies the filters used for attributes.""" +input AttributeFilterInput { + """ + Whether a product or category attribute can be compared against another or not. + """ + is_comparable: Boolean + """Whether a product or category attribute can be filtered or not.""" + is_filterable: Boolean + """ + Whether a product or category attribute can be filtered in search or not. + """ + is_filterable_in_search: Boolean + """Whether a product or category attribute can use HTML on front or not.""" + is_html_allowed_on_front: Boolean + """Whether a product or category attribute can be searched or not.""" + is_searchable: Boolean + """ + Whether a customer or customer address attribute is used for customer segment or not. + """ + is_used_for_customer_segment: Boolean + """ + Whether a product or category attribute can be used for price rules or not. + """ + is_used_for_price_rules: Boolean + """ + Whether a product or category attribute is used for promo rules or not. + """ + is_used_for_promo_rules: Boolean + """ + Whether a product or category attribute is visible in advanced search or not. + """ + is_visible_in_advanced_search: Boolean + """Whether a product or category attribute is visible on front or not.""" + is_visible_on_front: Boolean + """Whether a product or category attribute has WYSIWYG enabled or not.""" + is_wysiwyg_enabled: Boolean + """ + Whether a product or category attribute is used in product listing or not. + """ + used_in_product_listing: Boolean +} + +"""Contains information about a store's configuration.""" +type StoreConfig { + """ + Contains scripts that must be included in the HTML before the closing `` tag. + """ + absolute_footer: String + """ + Indicates if the gift sender has the option to send a gift receipt. Possible values: 1 (Yes) and 0 (No). + """ + allow_gift_receipt: String + """ + Indicates whether gift wrapping can be added for the entire order. Possible values: 1 (Yes) and 0 (No). + """ + allow_gift_wrapping_on_order: String + """ + Indicates whether gift wrapping can be added for individual order items. Possible values: 1 (Yes) and 0 (No). + """ + allow_gift_wrapping_on_order_items: String + """ + Indicates whether guest users can write product reviews. Possible values: 1 (Yes) and 0 (No). + """ + allow_guests_to_write_product_reviews: String + """The value of the Allow Gift Messages for Order Items option""" + allow_items: String + """The value of the Allow Gift Messages on Order Level option""" + allow_order: String + """ + Indicates if a printed card can accompany an order. Possible values: 1 (Yes) and 0 (No). + """ + allow_printed_card: String + """ + Indicates whether to enable autocomplete on login and forgot password forms. + """ + autocomplete_on_storefront: Boolean + """The base currency code.""" + base_currency_code: String + """ + A fully-qualified URL that is used to create relative links to the `base_url`. + """ + base_link_url: String + """The fully-qualified URL that specifies the location of media files.""" + base_media_url: String + """ + The fully-qualified URL that specifies the location of static view files. + """ + base_static_url: String + """The store’s fully-qualified base URL.""" + base_url: String + """Braintree 3D Secure, should 3D Secure be used for specific countries.""" + braintree_3dsecure_allowspecific: Boolean + """Braintree 3D Secure, always request 3D Secure flag.""" + braintree_3dsecure_always_request_3ds: Boolean + """ + Braintree 3D Secure, the specific countries to use 3D Secure in, to be used if allow specific is status is enabled. + """ + braintree_3dsecure_specificcountry: String + """ + Braintree 3D Secure, threshold above which 3D Secure should be requested. + """ + braintree_3dsecure_threshold_amount: String + """Braintree 3D Secure enabled/active status.""" + braintree_3dsecure_verify_3dsecure: Boolean + """Braintree ACH vault status.""" + braintree_ach_direct_debit_vault_active: Boolean + """Braintree Apple Pay merchant name.""" + braintree_applepay_merchant_name: String + """Braintree Apple Pay vault status.""" + braintree_applepay_vault_active: Boolean + """Braintree cc vault status.""" + braintree_cc_vault_active: String + """Braintree cc vault CVV re-verification enabled status.""" + braintree_cc_vault_cvv: Boolean + """Braintree environment.""" + braintree_environment: String + """Braintree Google Pay button color.""" + braintree_googlepay_btn_color: String + """Braintree Google Pay Card types supported.""" + braintree_googlepay_cctypes: String + """Braintree Google Pay merchant ID.""" + braintree_googlepay_merchant_id: String + """Braintree Google Pay vault status.""" + braintree_googlepay_vault_active: Boolean + """Braintree Local Payment Methods allowed payment methods.""" + braintree_local_payment_allowed_methods: String + """Braintree Local Payment Methods fallback button text.""" + braintree_local_payment_fallback_button_text: String + """Braintree Local Payment Methods redirect URL on failed payment.""" + braintree_local_payment_redirect_on_fail: String + """Braintree Merchant Account ID.""" + braintree_merchant_account_id: String + """Braintree PayPal Credit mini-cart & cart button style color.""" + braintree_paypal_button_location_cart_type_credit_color: String + """Braintree PayPal Credit mini-cart & cart button style label.""" + braintree_paypal_button_location_cart_type_credit_label: String + """Braintree PayPal Credit mini-cart & cart button style shape.""" + braintree_paypal_button_location_cart_type_credit_shape: String + """Braintree PayPal Credit mini-cart & cart button show status.""" + braintree_paypal_button_location_cart_type_credit_show: Boolean + """Braintree PayPal Pay Later messaging mini-cart & cart style layout.""" + braintree_paypal_button_location_cart_type_messaging_layout: String + """Braintree PayPal Pay Later messaging mini-cart & cart style logo.""" + braintree_paypal_button_location_cart_type_messaging_logo: String + """ + Braintree PayPal Pay Later messaging mini-cart & cart style logo position. + """ + braintree_paypal_button_location_cart_type_messaging_logo_position: String + """Braintree PayPal Pay Later messaging mini-cart & cart show status.""" + braintree_paypal_button_location_cart_type_messaging_show: Boolean + """Braintree PayPal Pay Later messaging checkout style text color.""" + braintree_paypal_button_location_cart_type_messaging_text_color: String + """Braintree PayPal Pay Later mini-cart & cart button style color.""" + braintree_paypal_button_location_cart_type_paylater_color: String + """Braintree PayPal Pay Later mini-cart & cart button style label.""" + braintree_paypal_button_location_cart_type_paylater_label: String + """Braintree PayPal Pay Later mini-cart & cart button style shape.""" + braintree_paypal_button_location_cart_type_paylater_shape: String + """Braintree PayPal Pay Later mini-cart & cart button show status.""" + braintree_paypal_button_location_cart_type_paylater_show: Boolean + """Braintree PayPal mini-cart & cart button style color.""" + braintree_paypal_button_location_cart_type_paypal_color: String + """Braintree PayPal mini-cart & cart button style label.""" + braintree_paypal_button_location_cart_type_paypal_label: String + """Braintree PayPal mini-cart & cart button style shape.""" + braintree_paypal_button_location_cart_type_paypal_shape: String + """Braintree PayPal mini-cart & cart button show.""" + braintree_paypal_button_location_cart_type_paypal_show: Boolean + """Braintree PayPal Credit checkout button style color.""" + braintree_paypal_button_location_checkout_type_credit_color: String + """Braintree PayPal Credit checkout button style label.""" + braintree_paypal_button_location_checkout_type_credit_label: String + """Braintree PayPal Credit checkout button style shape.""" + braintree_paypal_button_location_checkout_type_credit_shape: String + """Braintree PayPal Credit checkout button show status.""" + braintree_paypal_button_location_checkout_type_credit_show: Boolean + """Braintree PayPal Pay Later messaging checkout style layout.""" + braintree_paypal_button_location_checkout_type_messaging_layout: String + """Braintree PayPal Pay Later messaging checkout style logo.""" + braintree_paypal_button_location_checkout_type_messaging_logo: String + """Braintree PayPal Pay Later messaging checkout style logo position.""" + braintree_paypal_button_location_checkout_type_messaging_logo_position: String + """Braintree PayPal Pay Later messaging checkout show status.""" + braintree_paypal_button_location_checkout_type_messaging_show: Boolean + """Braintree PayPal Pay Later messaging checkout style text color.""" + braintree_paypal_button_location_checkout_type_messaging_text_color: String + """Braintree PayPal Pay Later checkout button style color.""" + braintree_paypal_button_location_checkout_type_paylater_color: String + """Braintree PayPal Pay Later checkout button style label.""" + braintree_paypal_button_location_checkout_type_paylater_label: String + """Braintree PayPal Pay Later checkout button style shape.""" + braintree_paypal_button_location_checkout_type_paylater_shape: String + """Braintree PayPal Pay Later checkout button show status.""" + braintree_paypal_button_location_checkout_type_paylater_show: Boolean + """Braintree PayPal checkout button style color.""" + braintree_paypal_button_location_checkout_type_paypal_color: String + """Braintree PayPal checkout button style label.""" + braintree_paypal_button_location_checkout_type_paypal_label: String + """Braintree PayPal checkout button style shape.""" + braintree_paypal_button_location_checkout_type_paypal_shape: String + """Braintree PayPal checkout button show.""" + braintree_paypal_button_location_checkout_type_paypal_show: Boolean + """Braintree PayPal Credit PDP button style color.""" + braintree_paypal_button_location_productpage_type_credit_color: String + """Braintree PayPal Credit PDP button style label.""" + braintree_paypal_button_location_productpage_type_credit_label: String + """Braintree PayPal Credit PDP button style shape.""" + braintree_paypal_button_location_productpage_type_credit_shape: String + """Braintree PayPal Credit PDP button show status.""" + braintree_paypal_button_location_productpage_type_credit_show: Boolean + """Braintree PayPal Pay Later messaging PDP style layout.""" + braintree_paypal_button_location_productpage_type_messaging_layout: String + """Braintree PayPal Pay Later messaging PDP style logo.""" + braintree_paypal_button_location_productpage_type_messaging_logo: String + """Braintree PayPal Pay Later messaging PDP style logo position.""" + braintree_paypal_button_location_productpage_type_messaging_logo_position: String + """Braintree PayPal Pay Later messaging PDP show status.""" + braintree_paypal_button_location_productpage_type_messaging_show: Boolean + """Braintree PayPal Pay Later messaging PDP style text color.""" + braintree_paypal_button_location_productpage_type_messaging_text_color: String + """Braintree PayPal Pay Later PDP button style color.""" + braintree_paypal_button_location_productpage_type_paylater_color: String + """Braintree PayPal Pay Later PDP button style label.""" + braintree_paypal_button_location_productpage_type_paylater_label: String + """Braintree PayPal Pay Later PDP button style shape.""" + braintree_paypal_button_location_productpage_type_paylater_shape: String + """Braintree PayPal Pay Later PDP button show status.""" + braintree_paypal_button_location_productpage_type_paylater_show: Boolean + """Braintree PayPal PDP button style color.""" + braintree_paypal_button_location_productpage_type_paypal_color: String + """Braintree PayPal PDP button style label.""" + braintree_paypal_button_location_productpage_type_paypal_label: String + """Braintree PayPal PDP button style shape.""" + braintree_paypal_button_location_productpage_type_paypal_shape: String + """Braintree PayPal PDP button show.""" + braintree_paypal_button_location_productpage_type_paypal_show: Boolean + """Braintree PayPal Credit Merchant Name on the FCA Register.""" + braintree_paypal_credit_uk_merchant_name: String + """Should display Braintree PayPal in mini-cart & cart?""" + braintree_paypal_display_on_shopping_cart: Boolean + """Braintree PayPal merchant's country.""" + braintree_paypal_merchant_country: String + """Braintree PayPal override for Merchant Name.""" + braintree_paypal_merchant_name_override: String + """Does Braintree PayPal require the customer's billing address?""" + braintree_paypal_require_billing_address: Boolean + """Does Braintree PayPal require the order line items?""" + braintree_paypal_send_cart_line_items: Boolean + """Braintree PayPal vault status.""" + braintree_paypal_vault_active: Boolean + """Extended Config Data - checkout/cart/delete_quote_after""" + cart_expires_in_days: Int + """ + Indicates if gift wrapping prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). + """ + cart_gift_wrapping: String + """ + Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). + """ + cart_printed_card: String + """Extended Config Data - checkout/cart_link/use_qty""" + cart_summary_display_quantity: Int + """The default sort order of the search results list.""" + catalog_default_sort_by: String + """ + Corresponds to the 'Display Prices In Product Lists' field in the Admin. It indicates how FPT information is displayed on category pages. + """ + category_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings + """The suffix applied to category pages, such as `.htm` or `.html`.""" + category_url_suffix: String + """Indicates whether only specific countries can use this payment method.""" + check_money_order_enable_for_specific_countries: Boolean + """Indicates whether the Check/Money Order payment method is enabled.""" + check_money_order_enabled: Boolean + """The name of the party to whom the check must be payable.""" + check_money_order_make_check_payable_to: String + """ + The maximum order amount required to qualify for the Check/Money Order payment method. + """ + check_money_order_max_order_total: String + """ + The minimum order amount required to qualify for the Check/Money Order payment method. + """ + check_money_order_min_order_total: String + """ + The status of new orders placed using the Check/Money Order payment method. + """ + check_money_order_new_order_status: String + """ + A comma-separated list of specific countries allowed to use the Check/Money Order payment method. + """ + check_money_order_payment_from_specific_countries: String + """The full street address or PO Box where the checks are mailed.""" + check_money_order_send_check_to: String + """ + A number indicating the position of the Check/Money Order payment method in the list of available payment methods during checkout. + """ + check_money_order_sort_order: Int + """ + The title of the Check/Money Order payment method displayed on the storefront. + """ + check_money_order_title: String + """The name of the CMS page that identifies the home page for the store.""" + cms_home_page: String + """ + A specific CMS page that displays when cookies are not enabled for the browser. + """ + cms_no_cookies: String + """ + A specific CMS page that displays when a 404 'Page Not Found' error occurs. + """ + cms_no_route: String + """A code assigned to the store to identify it.""" + code: String @deprecated(reason: "Use `store_code` instead.") + """ + Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products. + """ + configurable_thumbnail_source: String + """Indicates whether the Contact Us form in enabled.""" + contact_enabled: Boolean! + """The copyright statement that appears at the bottom of each page.""" + copyright: String + """Extended Config Data - general/region/state_required""" + countries_with_required_region: String + """Indicates if the new accounts need confirmation.""" + create_account_confirmation: Boolean + """Customer access token lifetime.""" + customer_access_token_lifetime: Float + """Extended Config Data - general/country/default""" + default_country: String + """ + The description that provides a summary of your site for search engine listings. It should not be more than 160 characters in length. + """ + default_description: String + """The default display currency code.""" + default_display_currency_code: String + """ + A series of keywords that describe your store, each separated by a comma. + """ + default_keywords: String + """ + The title that appears at the title bar of each page when viewed in a browser. + """ + default_title: String + """ + Controls the display of the demo store notice at the top of the page. Options: 0 (No) or 1 (Yes). + """ + demonotice: Int + """Extended Config Data - general/region/display_all""" + display_state_if_optional: Boolean + """ + Indicates whether customers can have multiple wish lists. Possible values: 1 (Yes) and 0 (No). + """ + enable_multiple_wishlists: String + """The landing page that is associated with the base URL.""" + front: String + """The default number of products per page in Grid View.""" + grid_per_page: Int + """ + A list of numbers that define how many products can be displayed in Grid View. + """ + grid_per_page_values: String + """ + Scripts that must be included in the HTML before the closing `` tag. + """ + head_includes: String + """ + The small graphic image (favicon) that appears in the address bar and tab of the browser. + """ + head_shortcut_icon: String + """The path to the logo that appears in the header.""" + header_logo_src: String + """The ID number assigned to the store.""" + id: Int @deprecated(reason: "Use `store_code` instead.") + """ + Indicates whether the store view has been designated as the default within the store group. + """ + is_default_store: Boolean + """ + Indicates whether the store group has been designated as the default within the website. + """ + is_default_store_group: Boolean + """Extended Config Data - checkout/options/guest_checkout""" + is_guest_checkout_enabled: Boolean + """Indicates whether negotiable quote functionality is enabled.""" + is_negotiable_quote_active: Boolean + """Extended Config Data - checkout/options/onepage_checkout_enabled""" + is_one_page_checkout_enabled: Boolean + """ + Indicates whether requisition lists are enabled. Possible values: 1 (Yes) and 0 (No). + """ + is_requisition_list_active: String + """The format of the search results list.""" + list_mode: String + """The default number of products per page in List View.""" + list_per_page: Int + """ + A list of numbers that define how many products can be displayed in List View. + """ + list_per_page_values: String + """The store locale.""" + locale: String + """The Alt text that is associated with the logo.""" + logo_alt: String + """The height of the logo image, in pixels.""" + logo_height: Int + """The width of the logo image, in pixels.""" + logo_width: Int + """ + Indicates whether reward points functionality is enabled. Possible values: 1 (Enabled) and 0 (Disabled). + """ + magento_reward_general_is_enabled: String + """ + Indicates whether reward points functionality is enabled on the storefront. Possible values: 1 (Enabled) and 0 (Disabled). + """ + magento_reward_general_is_enabled_on_front: String + """ + The minimum point balance customers must have before they can redeem them. A null value indicates no minimum. + """ + magento_reward_general_min_points_balance: String + """ + When enabled, customers can see a detailed history of their reward points. Possible values: 1 (Enabled) and 0 (Disabled). + """ + magento_reward_general_publish_history: String + """ + The number of points for a referral when an invitee registers on the site. + """ + magento_reward_points_invitation_customer: String + """ + The maximum number of registration referrals that will qualify for rewards. A null value indicates no limit. + """ + magento_reward_points_invitation_customer_limit: String + """ + The number of points for a referral, when an invitee places their first order on the site. + """ + magento_reward_points_invitation_order: String + """ + The number of order conversions that can earn points for the customer who sends the invitation. A null value indicates no limit. + """ + magento_reward_points_invitation_order_limit: String + """ + The number of points earned by registered customers who subscribe to a newsletter. + """ + magento_reward_points_newsletter: String + """ + Indicates customers earn points for shopping according to the reward point exchange rate. In Luma, this also controls whether to show a message in the shopping cart about the rewards points earned for the purchase, as well as the customer’s current reward point balance. + """ + magento_reward_points_order: String + """The number of points customer gets for registering.""" + magento_reward_points_register: String + """The number of points for writing a review.""" + magento_reward_points_review: String + """ + The maximum number of reviews that will qualify for the rewards. A null value indicates no limit. + """ + magento_reward_points_review_limit: String + """Indicates whether wishlists are enabled (1) or disabled (0).""" + magento_wishlist_general_is_enabled: String + """Extended Config Data - checkout/options/max_items_display_count""" + max_items_in_order_summary: Int + """ + If multiple wish lists are enabled, the maximum number of wish lists the customer can have. + """ + maximum_number_of_wishlists: String + """Extended Config Data - checkout/sidebar/display""" + minicart_display: Boolean + """Extended Config Data - checkout/sidebar/count""" + minicart_max_items: Int + """The minimum number of characters required for a valid password.""" + minimum_password_length: String + """Indicates whether newsletters are enabled.""" + newsletter_enabled: Boolean! + """ + The default page that displays when a 404 'Page not Found' error occurs. + """ + no_route: String + """Extended Config Data - general/country/optional_zip_countries""" + optional_zip_countries: String + """Indicates whether orders can be cancelled by customers or not.""" + order_cancellation_enabled: Boolean! + """An array containing available cancellation reasons.""" + order_cancellation_reasons: [CancellationReason]! + """Payflow Pro vault status.""" + payment_payflowpro_cc_vault_active: String + """The default price of a printed card that accompanies an order.""" + printed_card_price: String + """ + Corresponds to the 'Display Prices On Product View Page' field in the Admin. It indicates how FPT information is displayed on product pages. + """ + product_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings + """ + Indicates whether product reviews are enabled. Possible values: 1 (Yes) and 0 (No). + """ + product_reviews_enabled: String + """The suffix applied to product pages, such as `.htm` or `.html`.""" + product_url_suffix: String + """Indicates whether quick order functionality is enabled.""" + quickorder_active: Boolean! + """ + The number of different character classes (lowercase, uppercase, digits, special characters) required in a password. + """ + required_character_classes_number: String + """ + Indicates whether RMA is enabled on the storefront. Possible values: enabled/disabled. + """ + returns_enabled: String! + """The ID of the root category.""" + root_category_id: Int @deprecated(reason: "Use `root_category_uid` instead.") + """The unique ID for a `CategoryInterface` object.""" + root_category_uid: ID + """ + Corresponds to the 'Display Prices In Sales Modules' field in the Admin. It indicates how FPT information is displayed on cart, checkout, and order pages. + """ + sales_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings + """ + Indicates if gift wrapping prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). + """ + sales_gift_wrapping: String + """ + Indicates if printed card prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). + """ + sales_printed_card: String + """ + A secure fully-qualified URL that is used to create relative links to the `base_url`. + """ + secure_base_link_url: String + """ + The secure fully-qualified URL that specifies the location of media files. + """ + secure_base_media_url: String + """ + The secure fully-qualified URL that specifies the location of static view files. + """ + secure_base_static_url: String + """The store’s fully-qualified secure base URL.""" + secure_base_url: String + """Email to a Friend configuration.""" + send_friend: SendFriendConfiguration + """Extended Config Data - tax/cart_display/full_summary""" + shopping_cart_display_full_summary: Boolean + """Extended Config Data - tax/cart_display/grandtotal""" + shopping_cart_display_grand_total: Boolean + """Extended Config Data - tax/cart_display/price""" + shopping_cart_display_price: Int + """Extended Config Data - tax/cart_display/shipping""" + shopping_cart_display_shipping: Int + """Extended Config Data - tax/cart_display/subtotal""" + shopping_cart_display_subtotal: Int + """Extended Config Data - tax/cart_display/gift_wrapping""" + shopping_cart_display_tax_gift_wrapping: TaxWrappingEnum + """Extended Config Data - tax/cart_display/zero_tax""" + shopping_cart_display_zero_tax: Boolean + """ + Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes). + """ + show_cms_breadcrumbs: Int + """ + The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope. + """ + store_code: ID + """ + The unique ID assigned to the store group. In the Admin, this is called the Store Name. + """ + store_group_code: ID + """The label assigned to the store group.""" + store_group_name: String + """The label assigned to the store view.""" + store_name: String + """The store view sort order.""" + store_sort_order: Int + """The time zone of the store.""" + timezone: String + """ + A prefix that appears before the title to create a two- or three-part title. + """ + title_prefix: String + """ + The character that separates the category name and subcategory in the browser title bar. + """ + title_separator: String + """ + A suffix that appears after the title to create a two- or three-part title. + """ + title_suffix: String + """Indicates whether the store code should be used in the URL.""" + use_store_in_url: Boolean + """The unique ID for the website.""" + website_code: ID + """The ID number assigned to the website store.""" + website_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """The label assigned to the website.""" + website_name: String + """The unit of weight.""" + weight_unit: String + """ + Text that appears in the header of the page and includes the name of the logged in customer. + """ + welcome: String + """Indicates whether only specific countries can use this payment method.""" + zero_subtotal_enable_for_specific_countries: Boolean + """Indicates whether the Zero Subtotal payment method is enabled.""" + zero_subtotal_enabled: Boolean + """ + The status of new orders placed using the Zero Subtotal payment method. + """ + zero_subtotal_new_order_status: String + """ + When the new order status is 'Processing', this can be set to `authorize_capture` to automatically invoice all items that have a zero balance. + """ + zero_subtotal_payment_action: String + """ + A comma-separated list of specific countries allowed to use the Zero Subtotal payment method. + """ + zero_subtotal_payment_from_specific_countries: String + """ + A number indicating the position of the Zero Subtotal payment method in the list of available payment methods during checkout. + """ + zero_subtotal_sort_order: Int + """ + The title of the Zero Subtotal payment method displayed on the storefront. + """ + zero_subtotal_title: String +} + +"""Contains details about a CMS page.""" +type CmsPage implements RoutableInterface { + """The content of the CMS page in raw HTML.""" + content: String + """The heading that displays at the top of the CMS page.""" + content_heading: String + """The ID of a CMS page.""" + identifier: String + """A brief description of the page for search results listings.""" + meta_description: String + """A brief description of the page for search results listings.""" + meta_keywords: String + """ + A page title that is indexed by search engines and appears in search results listings. + """ + meta_title: String + """ + The design layout of the page, indicating the number of columns and navigation features used on the page. + """ + page_layout: String + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """ + The name that appears in the breadcrumb trail navigation and in the browser title bar and tab. + """ + title: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + The URL key of the CMS page, which is often based on the `content_heading`. + """ + url_key: String +} + +"""Contains an array CMS block items.""" +type CmsBlocks { + """An array of CMS blocks.""" + items: [CmsBlock] +} + +"""Contains details about a specific CMS block.""" +type CmsBlock { + """The content of the CMS block in raw HTML.""" + content: String + """The CMS block identifier.""" + identifier: String + """The title assigned to the CMS block.""" + title: String +} + +""" +Deprecated. It should not be used on the storefront. Contains information about a website. +""" +type Website { + """A code assigned to the website to identify it.""" + code: String @deprecated(reason: "The field should not be used on the storefront.") + """The default group ID of the website.""" + default_group_id: String @deprecated(reason: "The field should not be used on the storefront.") + """The ID number assigned to the website.""" + id: Int @deprecated(reason: "The field should not be used on the storefront.") + """Indicates whether this is the default website.""" + is_default: Boolean @deprecated(reason: "The field should not be used on the storefront.") + """The website name. Websites use this name to identify it easier.""" + name: String @deprecated(reason: "The field should not be used on the storefront.") + """The attribute to use for sorting websites.""" + sort_order: Int @deprecated(reason: "The field should not be used on the storefront.") +} + +"""Contains an array of custom and system attributes.""" +type AttributesMetadata { + """An array of attributes.""" + items: [AttributeMetadataInterface] +} + +"""An interface containing fields that define attributes.""" +interface AttributeMetadataInterface { + """An array of attribute labels defined for the current store.""" + attribute_labels: [StoreLabels] + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: String + """The data type of the attribute.""" + data_type: ObjectDataTypeEnum + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum + """Indicates whether the attribute is a system attribute.""" + is_system: Boolean + """The label assigned to the attribute.""" + label: String + """The relative position of the attribute.""" + sort_order: Int + """Frontend UI properties of the attribute.""" + ui_input: UiInputTypeInterface + """The unique ID of an attribute.""" + uid: ID +} + +"""Defines frontend UI properties of an attribute.""" +interface UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Defines attribute options.""" +interface AttributeOptionsInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] +} + +"""Defines selectable input types of the attribute.""" +interface SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] +} + +"""Defines attribute options.""" +interface AttributeOptionInterface { + """Indicates if option is set to be used as default value.""" + is_default: Boolean + """The label assigned to the attribute option.""" + label: String + """The unique ID of an attribute option.""" + uid: ID! +} + +type AttributeOptions implements AttributeOptionsInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] +} + +type UiAttributeTypeSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeMultiSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeBoolean implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { + """An array of attribute options.""" + attribute_options: [AttributeOptionInterface] + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeAny implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeTextarea implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +type UiAttributeTypeTextEditor implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Contains the store code and label of an attribute.""" +type StoreLabels { + """The label assigned to the attribute.""" + label: String + """The assigned store code.""" + store_code: String +} + +enum ObjectDataTypeEnum { + STRING + FLOAT + INT + BOOLEAN + COMPLEX +} + +enum UiInputTypeEnum { + BOOLEAN + DATE + DATETIME + GALLERY + IMAGE + MEDIA_IMAGE + MULTISELECT + PRICE + SELECT + TEXT + TEXTAREA + TEXTEDITOR + WEIGHT + PAGEBUILDER + FIXED_PRODUCT_TAX +} + +"""Contains custom attribute value and metadata details.""" +type CustomAttribute { + """Attribute metadata details.""" + attribute_metadata: AttributeMetadataInterface + """ + Attribute value represented as entered data using input type like text field. + """ + entered_attribute_value: EnteredAttributeValue + """ + Attribute value represented as selected options using input type like select. + """ + selected_attribute_options: SelectedAttributeOption +} + +type SelectedAttributeOption { + """Selected attribute option details.""" + attribute_option: [AttributeOptionInterface] +} + +type EnteredAttributeValue { + """Attribute value.""" + value: String +} + +"""Contains fields that are common to all types of products.""" +interface ProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """An array of related products.""" + related_products: [ProductInterface] + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") +} + +""" +This enumeration states whether a product stock status is in stock or out of stock +""" +enum ProductStockStatus { + IN_STOCK + OUT_OF_STOCK +} + +""" +Deprecated. Use `ProductPrice` instead. Defines the price of a product as well as any tax-related adjustments. +""" +type Price { + """ + An array that provides information about tax, weee, or weee_tax adjustments. + """ + adjustments: [PriceAdjustment] @deprecated(reason: "Use `ProductPrice` instead.") + """The price of a product plus a three-letter currency code.""" + amount: Money @deprecated(reason: "Use `ProductPrice` instead.") +} + +""" +Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment. +""" +type PriceAdjustment { + """The amount of the price adjustment and its currency code.""" + amount: Money + """Indicates whether the adjustment involves tax, weee, or weee_tax.""" + code: PriceAdjustmentCodesEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") + """ + Indicates whether the entity described by the code attribute is included or excluded from the adjustment. + """ + description: PriceAdjustmentDescriptionEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") +} + +"""`PriceAdjustment.code` is deprecated.""" +enum PriceAdjustmentCodesEnum { + TAX @deprecated(reason: "`PriceAdjustmentCodesEnum` is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog.") + WEEE @deprecated(reason: "WEEE code is deprecated. Use `fixed_product_taxes.label` instead.") + WEEE_TAX @deprecated(reason: "Use `fixed_product_taxes` instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog.") +} + +""" +`PriceAdjustmentDescriptionEnum` is deprecated. States whether a price adjustment is included or excluded. +""" +enum PriceAdjustmentDescriptionEnum { + INCLUDED + EXCLUDED +} + +"""Defines the price type.""" +enum PriceTypeEnum { + FIXED + PERCENT + DYNAMIC +} + +"""Defines the customizable date type.""" +enum CustomizableDateTypeEnum { + DATE + DATE_TIME + TIME +} + +""" +Deprecated. Use `PriceRange` instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price. +""" +type ProductPrices { + """ + The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `to` value. + """ + maximalPrice: Price @deprecated(reason: "Use `PriceRange.maximum_price` instead.") + """ + The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `from` value. + """ + minimalPrice: Price @deprecated(reason: "Use `PriceRange.minimum_price` instead.") + """The base price of a product.""" + regularPrice: Price @deprecated(reason: "Use `regular_price` from `PriceRange.minimum_price` or `PriceRange.maximum_price` instead.") +} + +""" +Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same. +""" +type PriceRange { + """The highest possible price for the product.""" + maximum_price: ProductPrice + """The lowest possible price for the product.""" + minimum_price: ProductPrice! +} + +"""Represents a product price.""" +type ProductPrice { + """ + The price discount. Represents the difference between the regular and final price. + """ + discount: ProductDiscount + """The final price of the product after applying discounts.""" + final_price: Money! + """ + An array of the multiple Fixed Product Taxes that can be applied to a product price. + """ + fixed_product_taxes: [FixedProductTax] + """The regular price of the product.""" + regular_price: Money! +} + +"""Contains the discount applied to a product price.""" +type ProductDiscount { + """The actual value of the discount.""" + amount_off: Float + """The discount expressed a percentage.""" + percent_off: Float +} + +"""An implementation of `ProductLinksInterface`.""" +type ProductLinks implements ProductLinksInterface { + """One of related, associated, upsell, or crosssell.""" + link_type: String + """The SKU of the linked product.""" + linked_product_sku: String + """ + The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). + """ + linked_product_type: String + """The position within the list of product links.""" + position: Int + """The identifier of the linked product.""" + sku: String +} + +""" +Contains information about linked products, including the link type and product type of each item. +""" +interface ProductLinksInterface { + """One of related, associated, upsell, or crosssell.""" + link_type: String + """The SKU of the linked product.""" + linked_product_sku: String + """ + The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). + """ + linked_product_type: String + """The position within the list of product links.""" + position: Int + """The identifier of the linked product.""" + sku: String +} + +"""Contains attributes specific to tangible products.""" +interface PhysicalProductInterface { + """The weight of the item, in units defined by the store.""" + weight: Float +} + +""" +Contains information about a text area that is defined as part of a customizable option. +""" +type CustomizableAreaOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a text area.""" + value: CustomizableAreaValue +} + +""" +Defines the price and sku of a product whose page contains a customized text area. +""" +type CustomizableAreaValue { + """ + The maximum number of characters that can be entered for this customizable option. + """ + max_characters: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The unique ID for a `CustomizableAreaValue` object.""" + uid: ID! +} + +"""Contains the hierarchy of categories.""" +type CategoryTree implements CategoryInterface & RoutableInterface { + automatic_sorting: String + available_sort_by: [String] + """An array of breadcrumb items.""" + breadcrumbs: [Breadcrumb] + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. + """ + canonical_url: String + """A tree of child categories.""" + children: [CategoryTree] + children_count: String + """Contains a category CMS block.""" + cms_block: CmsBlock + """The timestamp indicating when the category was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + custom_layout_update_file: String + """The attribute to use for sorting.""" + default_sort_by: String + """An optional description of the category.""" + description: String + display_mode: String + filter_price_range: Float + """An ID that uniquely identifies the category.""" + id: Int @deprecated(reason: "Use `uid` instead.") + image: String + include_in_menu: Int + is_anchor: Int + landing_page: Int + """The depth of the category within the tree.""" + level: Int + meta_description: String + meta_keywords: String + meta_title: String + """The display name of the category.""" + name: String + """The full category path.""" + path: String + """The category path within the store.""" + path_in_store: String + """ + The position of the category relative to other categories at the same level in tree. + """ + position: Int + """ + The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + product_count: Int + """The list of products assigned to the category.""" + products( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + The attributes to sort on, and whether to return the results in ascending or descending order. + """ + sort: ProductAttributeSortInput + ): CategoryProducts + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """Indicates whether the category is staged for a future campaign.""" + staged: Boolean! + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """The unique ID for a `CategoryInterface` object.""" + uid: ID! + """The timestamp indicating when the category was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """The URL key assigned to the category.""" + url_key: String + """The URL path assigned to the category.""" + url_path: String + """The part of the category URL that is appended after the url key""" + url_suffix: String +} + +""" +Contains a collection of `CategoryTree` objects and pagination information. +""" +type CategoryResult { + """A list of categories that match the filter criteria.""" + items: [CategoryTree] + """ + An object that includes the `page_info` and `currentPage` values specified in the query. + """ + page_info: SearchResultPageInfo + """The total number of categories that match the criteria.""" + total_count: Int +} + +""" +Contains information about a date picker that is defined as part of a customizable option. +""" +type CustomizableDateOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a date field in a customizable option.""" + value: CustomizableDateValue +} + +""" +Defines the price and sku of a product whose page contains a customized date picker. +""" +type CustomizableDateValue { + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """DATE, DATE_TIME or TIME""" + type: CustomizableDateTypeEnum + """The unique ID for a `CustomizableDateValue` object.""" + uid: ID! +} + +""" +Contains information about a drop down menu that is defined as part of a customizable option. +""" +type CustomizableDropDownOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines the set of options for a drop down menu.""" + value: [CustomizableDropDownValue] +} + +""" +Defines the price and sku of a product whose page contains a customized drop down menu. +""" +type CustomizableDropDownValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableDropDownValue` object.""" + uid: ID! +} + +""" +Contains information about a multiselect that is defined as part of a customizable option. +""" +type CustomizableMultipleOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines the set of options for a multiselect.""" + value: [CustomizableMultipleValue] +} + +""" +Defines the price and sku of a product whose page contains a customized multiselect. +""" +type CustomizableMultipleValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableMultipleValue` object.""" + uid: ID! +} + +""" +Contains information about a text field that is defined as part of a customizable option. +""" +type CustomizableFieldOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a text field.""" + value: CustomizableFieldValue +} + +""" +Defines the price and sku of a product whose page contains a customized text field. +""" +type CustomizableFieldValue { + """ + The maximum number of characters that can be entered for this customizable option. + """ + max_characters: Int + """The price of the custom value.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The unique ID for a `CustomizableFieldValue` object.""" + uid: ID! +} + +""" +Contains information about a file picker that is defined as part of a customizable option. +""" +type CustomizableFileOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """The Stock Keeping Unit of the base product.""" + product_sku: String + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An object that defines a file value.""" + value: CustomizableFileValue +} + +""" +Defines the price and sku of a product whose page contains a customized file picker. +""" +type CustomizableFileValue { + """The file extension to accept.""" + file_extension: String + """The maximum width of an image.""" + image_size_x: Int + """The maximum height of an image.""" + image_size_y: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The unique ID for a `CustomizableFileValue` object.""" + uid: ID! +} + +"""Contains basic information about a product image or video.""" +interface MediaGalleryInterface { + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The label of the product image or video.""" + label: String + """The media item's position after it has been sorted.""" + position: Int + """The URL of the product image or video.""" + url: String +} + +"""Contains product image information, including the image URL and label.""" +type ProductImage implements MediaGalleryInterface { + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The label of the product image or video.""" + label: String + """The media item's position after it has been sorted.""" + position: Int + """The URL of the product image or video.""" + url: String +} + +"""Contains information about a product video.""" +type ProductVideo implements MediaGalleryInterface { + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The label of the product image or video.""" + label: String + """The media item's position after it has been sorted.""" + position: Int + """The URL of the product image or video.""" + url: String + """Contains a `ProductMediaGalleryEntriesVideoContent` object.""" + video_content: ProductMediaGalleryEntriesVideoContent +} + +""" +Contains basic information about a customizable option. It can be implemented by several types of configurable options. +""" +interface CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! +} + +"""Contains information about customizable product options.""" +interface CustomizableProductInterface { + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] +} + +""" +Contains the full set of attributes that can be returned in a category search. +""" +interface CategoryInterface { + automatic_sorting: String + available_sort_by: [String] + """An array of breadcrumb items.""" + breadcrumbs: [Breadcrumb] + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. + """ + canonical_url: String + children_count: String + """Contains a category CMS block.""" + cms_block: CmsBlock + """The timestamp indicating when the category was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + custom_layout_update_file: String + """The attribute to use for sorting.""" + default_sort_by: String + """An optional description of the category.""" + description: String + display_mode: String + filter_price_range: Float + """An ID that uniquely identifies the category.""" + id: Int @deprecated(reason: "Use `uid` instead.") + image: String + include_in_menu: Int + is_anchor: Int + landing_page: Int + """The depth of the category within the tree.""" + level: Int + meta_description: String + meta_keywords: String + meta_title: String + """The display name of the category.""" + name: String + """The full category path.""" + path: String + """The category path within the store.""" + path_in_store: String + """ + The position of the category relative to other categories at the same level in tree. + """ + position: Int + """ + The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + product_count: Int + """The list of products assigned to the category.""" + products( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + The attributes to sort on, and whether to return the results in ascending or descending order. + """ + sort: ProductAttributeSortInput + ): CategoryProducts + """Indicates whether the category is staged for a future campaign.""" + staged: Boolean! + """The unique ID for a `CategoryInterface` object.""" + uid: ID! + """The timestamp indicating when the category was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """The URL key assigned to the category.""" + url_key: String + """The URL path assigned to the category.""" + url_path: String + """The part of the category URL that is appended after the url key""" + url_suffix: String +} + +""" +Contains details about an individual category that comprises a breadcrumb. +""" +type Breadcrumb { + """The ID of the category.""" + category_id: Int @deprecated(reason: "Use `category_uid` instead.") + """The category level.""" + category_level: Int + """The display name of the category.""" + category_name: String + """The unique ID for a `Breadcrumb` object.""" + category_uid: ID! + """The URL key of the category.""" + category_url_key: String + """The URL path of the category.""" + category_url_path: String +} + +""" +Contains information about a set of radio buttons that are defined as part of a customizable option. +""" +type CustomizableRadioOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines a set of radio buttons.""" + value: [CustomizableRadioValue] +} + +""" +Defines the price and sku of a product whose page contains a customized set of radio buttons. +""" +type CustomizableRadioValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the radio button is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableRadioValue` object.""" + uid: ID! +} + +""" +Contains information about a set of checkbox values that are defined as part of a customizable option. +""" +type CustomizableCheckboxOption implements CustomizableOptionInterface { + """Option ID.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether the option is required.""" + required: Boolean + """The order in which the option is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableOptionInterface` object.""" + uid: ID! + """An array that defines a set of checkbox values.""" + value: [CustomizableCheckboxValue] +} + +""" +Defines the price and sku of a product whose page contains a customized set of checkbox values. +""" +type CustomizableCheckboxValue { + """The ID assigned to the value.""" + option_type_id: Int + """The price assigned to this option.""" + price: Float + """FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """The Stock Keeping Unit for this option.""" + sku: String + """The order in which the checkbox value is displayed.""" + sort_order: Int + """The display name for this option.""" + title: String + """The unique ID for a `CustomizableCheckboxValue` object.""" + uid: ID! +} + +""" +Defines a virtual product, which is a non-tangible product that does not require shipping and is not kept in inventory. +""" +type VirtualProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") +} + +""" +Defines a simple product, which is tangible and is usually sold in single units or in fixed quantities. +""" +type SimpleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +"""Contains the results of a `products` query.""" +type Products { + """ + A bucket that contains the attribute code and label for each filterable option. + """ + aggregations(filter: AggregationsFilterInput): [Aggregation] + """Layered navigation filters array.""" + filters: [LayerFilter] @deprecated(reason: "Use `aggregations` instead.") + """An array of products that match the specified search criteria.""" + items: [ProductInterface] + """ + An object that includes the page_info and currentPage values specified in the query. + """ + page_info: SearchResultPageInfo + """ + An object that includes the default sort field and all available sort fields. + """ + sort_fields: SortFields + """ + An array of search suggestions for case when search query have no results. + """ + suggestions: [SearchSuggestion] + """ + The number of products that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + total_count: Int +} + +""" +An input object that specifies the filters used in product aggregations. +""" +input AggregationsFilterInput { + """Filter category aggregations in layered navigation.""" + category: AggregationsCategoryFilterInput +} + +"""Filter category aggregations in layered navigation.""" +input AggregationsCategoryFilterInput { + """ + Indicates whether to include only direct subcategories or all children categories at all levels. + """ + includeDirectChildrenOnly: Boolean +} + +"""Contains details about the products assigned to a category.""" +type CategoryProducts { + """An array of products that are assigned to the category.""" + items: [ProductInterface] + """Pagination metadata.""" + page_info: SearchResultPageInfo + """ + The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. + """ + total_count: Int +} + +""" +Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. +""" +input ProductAttributeFilterInput { + """Attribute label: Brand""" + accessory_brand: FilterEqualTypeInput + """Attribute label: Gemstone Addon""" + accessory_gemstone_addon: FilterEqualTypeInput + """Attribute label: Recyclable Material""" + accessory_recyclable_material: FilterEqualTypeInput + """Deprecated: use `category_uid` to filter product by category ID.""" + category_id: FilterEqualTypeInput + """Filter product by the unique ID for a `CategoryInterface` object.""" + category_uid: FilterEqualTypeInput + """Filter product by category URL path.""" + category_url_path: FilterEqualTypeInput + """Attribute label: Color""" + color: FilterEqualTypeInput + """Attribute label: Description""" + description: FilterMatchTypeInput + """Attribute label: Color""" + fashion_color: FilterEqualTypeInput + """Attribute label: Material""" + fashion_material: FilterEqualTypeInput + """Attribute label: Style""" + fashion_style: FilterEqualTypeInput + """Attribute label: Format""" + format: FilterEqualTypeInput + """Attribute label: Has Video""" + has_video: FilterEqualTypeInput + """Attribute label: Product Name""" + name: FilterMatchTypeInput + """Attribute label: Price""" + price: FilterRangeTypeInput + """Attribute label: Short Description""" + short_description: FilterMatchTypeInput + """Attribute label: SKU""" + sku: FilterEqualTypeInput + """The part of the URL that identifies the product""" + url_key: FilterEqualTypeInput +} + +""" +Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. +""" +input CategoryFilterInput { + """Filter by the unique category ID for a `CategoryInterface` object.""" + category_uid: FilterEqualTypeInput + """ + Deprecated: use 'category_uid' to filter uniquely identifiers of categories. + """ + ids: FilterEqualTypeInput + """Filter by the display name of the category.""" + name: FilterMatchTypeInput + """ + Filter by the unique parent category ID for a `CategoryInterface` object. + """ + parent_category_uid: FilterEqualTypeInput + """ + Filter by the unique parent category ID for a `CategoryInterface` object. + """ + parent_id: FilterEqualTypeInput + """Filter by the part of the URL that identifies the category.""" + url_key: FilterEqualTypeInput + """Filter by the URL path for the category.""" + url_path: FilterEqualTypeInput +} + +""" +ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. +""" +input ProductFilterInput { + """The category ID the product belongs to.""" + category_id: FilterTypeInput + """The product's country of origin.""" + country_of_manufacture: FilterTypeInput + """The timestamp indicating when the product was created.""" + created_at: FilterTypeInput + """The name of a custom layout.""" + custom_layout: FilterTypeInput + """XML code that is applied as a layout update to the product page.""" + custom_layout_update: FilterTypeInput + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: FilterTypeInput + """Indicates whether a gift message is available.""" + gift_message_available: FilterTypeInput + """ + Indicates whether additional attributes have been created for the product. + """ + has_options: FilterTypeInput + """The relative path to the main image on the product page.""" + image: FilterTypeInput + """The label assigned to a product image.""" + image_label: FilterTypeInput + """Indicates whether the product can be returned.""" + is_returnable: FilterTypeInput + """A number representing the product's manufacturer.""" + manufacturer: FilterTypeInput + """ + The numeric maximal price of the product. Do not include the currency code. + """ + max_price: FilterTypeInput + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: FilterTypeInput + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: FilterTypeInput + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: FilterTypeInput + """ + The numeric minimal price of the product. Do not include the currency code. + """ + min_price: FilterTypeInput + """The product name. Customers use this name to identify the product.""" + name: FilterTypeInput + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + news_from_date: FilterTypeInput + """The end date for new product listings.""" + news_to_date: FilterTypeInput + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: FilterTypeInput + """The keyword required to perform a logical OR comparison.""" + or: ProductFilterInput + """The price of an item.""" + price: FilterTypeInput + """Indicates whether the product has required options.""" + required_options: FilterTypeInput + """A short description of the product. Its use depends on the theme.""" + short_description: FilterTypeInput + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: FilterTypeInput + """The relative path to the small image, which is used on catalog pages.""" + small_image: FilterTypeInput + """The label assigned to a product's small image.""" + small_image_label: FilterTypeInput + """The beginning date that a product has a special price.""" + special_from_date: FilterTypeInput + """The discounted price of the product. Do not include the currency code.""" + special_price: FilterTypeInput + """The end date that a product has a special price.""" + special_to_date: FilterTypeInput + """The file name of a swatch image.""" + swatch_image: FilterTypeInput + """The relative path to the product's thumbnail image.""" + thumbnail: FilterTypeInput + """The label assigned to a product's thumbnail image.""" + thumbnail_label: FilterTypeInput + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: FilterTypeInput + """The timestamp indicating when the product was updated.""" + updated_at: FilterTypeInput + """The part of the URL that identifies the product""" + url_key: FilterTypeInput + url_path: FilterTypeInput + """The weight of the item, in units defined by the store.""" + weight: FilterTypeInput +} + +""" +Contains an image in base64 format and basic information about the image. +""" +type ProductMediaGalleryEntriesContent { + """The image in base64 format.""" + base64_encoded_data: String + """The file name of the image.""" + name: String + """The MIME type of the file, such as image/png.""" + type: String +} + +"""Contains a link to a video file and basic information about the video.""" +type ProductMediaGalleryEntriesVideoContent { + """Must be external-video.""" + media_type: String + """A description of the video.""" + video_description: String + """Optional data about the video.""" + video_metadata: String + """Describes the video source.""" + video_provider: String + """The title of the video.""" + video_title: String + """The URL to the video.""" + video_url: String +} + +""" +Deprecated. Use `ProductAttributeSortInput` instead. Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. +""" +input ProductSortInput { + """The product's country of origin.""" + country_of_manufacture: SortEnum + """The timestamp indicating when the product was created.""" + created_at: SortEnum + """The name of a custom layout.""" + custom_layout: SortEnum + """XML code that is applied as a layout update to the product page.""" + custom_layout_update: SortEnum + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: SortEnum + """Indicates whether a gift message is available.""" + gift_message_available: SortEnum + """ + Indicates whether additional attributes have been created for the product. + """ + has_options: SortEnum + """The relative path to the main image on the product page.""" + image: SortEnum + """The label assigned to a product image.""" + image_label: SortEnum + """Indicates whether the product can be returned.""" + is_returnable: SortEnum + """A number representing the product's manufacturer.""" + manufacturer: SortEnum + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: SortEnum + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: SortEnum + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: SortEnum + """The product name. Customers use this name to identify the product.""" + name: SortEnum + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + news_from_date: SortEnum + """The end date for new product listings.""" + news_to_date: SortEnum + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: SortEnum + """The price of the item.""" + price: SortEnum + """Indicates whether the product has required options.""" + required_options: SortEnum + """A short description of the product. Its use depends on the theme.""" + short_description: SortEnum + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: SortEnum + """The relative path to the small image, which is used on catalog pages.""" + small_image: SortEnum + """The label assigned to a product's small image.""" + small_image_label: SortEnum + """The beginning date that a product has a special price.""" + special_from_date: SortEnum + """The discounted price of the product.""" + special_price: SortEnum + """The end date that a product has a special price.""" + special_to_date: SortEnum + """Indicates the criteria to sort swatches.""" + swatch_image: SortEnum + """The relative path to the product's thumbnail image.""" + thumbnail: SortEnum + """The label assigned to a product's thumbnail image.""" + thumbnail_label: SortEnum + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: SortEnum + """The timestamp indicating when the product was updated.""" + updated_at: SortEnum + """The part of the URL that identifies the product""" + url_key: SortEnum + url_path: SortEnum + """The weight of the item, in units defined by the store.""" + weight: SortEnum +} + +""" +Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option +""" +input ProductAttributeSortInput { + """Attribute label: Brand""" + accessory_brand: SortEnum + """Attribute label: Product Name""" + name: SortEnum + """Sort by the position assigned to each product.""" + position: SortEnum + """Attribute label: Price""" + price: SortEnum + """Sort by the search relevance score (default).""" + relevance: SortEnum +} + +""" +Defines characteristics about images and videos associated with a specific product. +""" +type MediaGalleryEntry { + """Details about the content of the media gallery item.""" + content: ProductMediaGalleryEntriesContent + """Indicates whether the image is hidden from view.""" + disabled: Boolean + """The path of the image on the server.""" + file: String + """The identifier assigned to the object.""" + id: Int @deprecated(reason: "Use `uid` instead.") + """ + The alt text displayed on the storefront when the user points to the image. + """ + label: String + """Either `image` or `video`.""" + media_type: String + """The media item's position after it has been sorted.""" + position: Int + """ + Array of image types. It can have the following values: image, small_image, thumbnail. + """ + types: [String] + """The unique ID for a `MediaGalleryEntry` object.""" + uid: ID! + """Details about the content of a video item.""" + video_content: ProductMediaGalleryEntriesVideoContent +} + +"""Contains information for rendering layered navigation.""" +type LayerFilter { + """An array of filter items.""" + filter_items: [LayerFilterItemInterface] @deprecated(reason: "Use `Aggregation.options` instead.") + """The count of filter items in filter group.""" + filter_items_count: Int @deprecated(reason: "Use `Aggregation.count` instead.") + """The name of a layered navigation filter.""" + name: String @deprecated(reason: "Use `Aggregation.label` instead.") + """The request variable name for a filter query.""" + request_var: String @deprecated(reason: "Use `Aggregation.attribute_code` instead.") +} + +interface LayerFilterItemInterface { + """The count of items per filter.""" + items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") + """The label for a filter.""" + label: String @deprecated(reason: "Use `AggregationOption.label` instead.") + """The value of a filter request variable to be used in query.""" + value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") +} + +type LayerFilterItem implements LayerFilterItemInterface { + """The count of items per filter.""" + items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") + """The label for a filter.""" + label: String @deprecated(reason: "Use `AggregationOption.label` instead.") + """The value of a filter request variable to be used in query.""" + value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") +} + +""" +Contains information for each filterable option (such as price, category `UID`, and custom attributes). +""" +type Aggregation { + """Attribute code of the aggregation group.""" + attribute_code: String! + """The number of options in the aggregation group.""" + count: Int + """The aggregation display name.""" + label: String + """Array of options for the aggregation.""" + options: [AggregationOption] + """The relative position of the attribute in a layered navigation block.""" + position: Int +} + +"""A string that contains search suggestion""" +type SearchSuggestion { + """The search suggestion of existing product.""" + search: String! +} + +"""Defines aggregation option fields.""" +interface AggregationOptionInterface { + """The number of items that match the aggregation option.""" + count: Int + """The display label for an aggregation option.""" + label: String + """The internal ID that represents the value of the option.""" + value: String! +} + +"""An implementation of `AggregationOptionInterface`.""" +type AggregationOption implements AggregationOptionInterface { + """The number of items that match the aggregation option.""" + count: Int + """The display label for an aggregation option.""" + label: String + """The internal ID that represents the value of the option.""" + value: String! +} + +"""Defines a possible sort field.""" +type SortField { + """The label of the sort field.""" + label: String + """The attribute code of the sort field.""" + value: String +} + +""" +Contains a default value for sort fields and all available sort fields. +""" +type SortFields { + """The default sort field value.""" + default: String + """An array of possible sort fields.""" + options: [SortField] +} + +"""Contains a simple product wish list item.""" +type SimpleWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Contains a virtual product wish list item.""" +type VirtualWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Swatch attribute metadata.""" +type CatalogAttributeMetadata implements CustomAttributeMetadataInterface { + """To which catalog types an attribute can be applied.""" + apply_to: [CatalogAttributeApplyToEnum] + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """ + Whether a product or category attribute can be compared against another or not. + """ + is_comparable: Boolean + """Whether a product or category attribute can be filtered or not.""" + is_filterable: Boolean + """ + Whether a product or category attribute can be filtered in search or not. + """ + is_filterable_in_search: Boolean + """Whether a product or category attribute can use HTML on front or not.""" + is_html_allowed_on_front: Boolean + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether a product or category attribute can be searched or not.""" + is_searchable: Boolean + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """ + Whether a product or category attribute can be used for price rules or not. + """ + is_used_for_price_rules: Boolean + """ + Whether a product or category attribute is used for promo rules or not. + """ + is_used_for_promo_rules: Boolean + """ + Whether a product or category attribute is visible in advanced search or not. + """ + is_visible_in_advanced_search: Boolean + """Whether a product or category attribute is visible on front or not.""" + is_visible_on_front: Boolean + """Whether a product or category attribute has WYSIWYG enabled or not.""" + is_wysiwyg_enabled: Boolean + """The label assigned to the attribute.""" + label: String + """Attribute options.""" + options: [CustomAttributeOptionInterface]! + """Input type of the swatch attribute option.""" + swatch_input_type: SwatchInputTypeEnum + """Whether update product preview image or not.""" + update_product_preview_image: Boolean + """Whether use product image for swatch or not.""" + use_product_image_for_swatch: Boolean + """ + Whether a product or category attribute is used in product listing or not. + """ + used_in_product_listing: Boolean +} + +enum CatalogAttributeApplyToEnum { + SIMPLE + VIRTUAL + BUNDLE + DOWNLOADABLE + CONFIGURABLE + GROUPED + CATEGORY +} + +"""Product custom attributes""" +type ProductCustomAttributes { + """Errors when retrieving custom attributes metadata.""" + errors: [AttributeMetadataError]! + """Requested custom attributes""" + items: [AttributeValueInterface]! +} + +"""Contains the `uid`, `relative_url`, and `type` attributes.""" +type EntityUrl { + canonical_url: String @deprecated(reason: "Use `relative_url` instead.") + """ + The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID. + """ + entity_uid: ID + """ + The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID. + """ + id: Int @deprecated(reason: "Use `entity_uid` instead.") + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirectCode: Int + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum +} + +"""This enumeration defines the entity type.""" +enum UrlRewriteEntityTypeEnum { + CMS_PAGE + PRODUCT + CATEGORY + PWA_404 +} + +"""Contains URL rewrite details.""" +type UrlRewrite { + """An array of request parameters.""" + parameters: [HttpQueryParameter] + """The request URL.""" + url: String +} + +"""Contains target path parameters.""" +type HttpQueryParameter { + """A parameter name.""" + name: String + """A parameter value.""" + value: String +} + +""" +Default implementation of RoutableInterface. This type is returned when the URL is not linked to an entity. +""" +type RoutableUrl implements RoutableInterface { + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum +} + +"""Routable entities serve as the model for a rendered page.""" +interface RoutableInterface { + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum +} + +input CreateGuestCartInput { + """Optional client-generated ID""" + cart_uid: ID +} + +"""Assigns a specific `cart_id` to the empty cart.""" +input createEmptyCartInput { + """The ID to assign to the cart.""" + cart_id: String +} + +"""Defines the simple and group products to add to the cart.""" +input AddSimpleProductsToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of simple and group items to add.""" + cart_items: [SimpleProductCartItemInput]! +} + +"""Defines a single product to add to the cart.""" +input SimpleProductCartItemInput { + """An array that defines customizable options for the product.""" + customizable_options: [CustomizableOptionInput] + """ + An object containing the `sku`, `quantity`, and other relevant information about the product. + """ + data: CartItemInput! +} + +"""Defines the virtual products to add to the cart.""" +input AddVirtualProductsToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of virtual products to add.""" + cart_items: [VirtualProductCartItemInput]! +} + +"""Defines a single product to add to the cart.""" +input VirtualProductCartItemInput { + """An array that defines customizable options for the product.""" + customizable_options: [CustomizableOptionInput] + """ + An object containing the `sku`, `quantity`, and other relevant information about the product. + """ + data: CartItemInput! +} + +"""Defines an item to be added to the cart.""" +input CartItemInput { + """ + An array of entered options for the base product, such as personalization text. + """ + entered_options: [EnteredOptionInput] + """For a child product, the SKU of its parent product.""" + parent_sku: String + """The amount or number of an item to add.""" + quantity: Float! + """ + The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`. + """ + selected_options: [ID] + """The SKU of the product.""" + sku: String! +} + +"""Specifies the field to use for sorting quote items""" +enum SortQuoteItemsEnum { + ITEM_ID + CREATED_AT + UPDATED_AT + PRODUCT_ID + SKU + NAME + DESCRIPTION + WEIGHT + QTY + PRICE + BASE_PRICE + CUSTOM_PRICE + DISCOUNT_PERCENT + DISCOUNT_AMOUNT + BASE_DISCOUNT_AMOUNT + TAX_PERCENT + TAX_AMOUNT + BASE_TAX_AMOUNT + ROW_TOTAL + BASE_ROW_TOTAL + ROW_TOTAL_WITH_DISCOUNT + ROW_WEIGHT + PRODUCT_TYPE + BASE_TAX_BEFORE_DISCOUNT + TAX_BEFORE_DISCOUNT + ORIGINAL_CUSTOM_PRICE + PRICE_INC_TAX + BASE_PRICE_INC_TAX + ROW_TOTAL_INC_TAX + BASE_ROW_TOTAL_INC_TAX + DISCOUNT_TAX_COMPENSATION_AMOUNT + BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT + FREE_SHIPPING +} + +"""Specifies the field to use for sorting quote items""" +input QuoteItemsSortInput { + """Specifies the quote items field to sort by""" + field: SortQuoteItemsEnum! + """Specifies the order of quote items' sorting""" + order: SortEnum! +} + +"""Defines a customizable option.""" +input CustomizableOptionInput { + """The customizable option ID of the product.""" + id: Int + """The unique ID for a `CartItemInterface` object.""" + uid: ID + """The string value of the option.""" + value_string: String! +} + +"""Specifies the coupon code to apply to the cart.""" +input ApplyCouponToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """A valid coupon code.""" + coupon_code: String! +} + +"""Modifies the specified items in the cart.""" +input UpdateCartItemsInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of items to be updated.""" + cart_items: [CartItemUpdateInput]! +} + +"""A single item to be updated.""" +input CartItemUpdateInput { + """Deprecated. Use `cart_item_uid` instead.""" + cart_item_id: Int + """The unique ID for a `CartItemInterface` object.""" + cart_item_uid: ID + """An array that defines customizable options for the product.""" + customizable_options: [CustomizableOptionInput] + """Gift message details for the cart item""" + gift_message: GiftMessageInput + """ + The unique ID for a `GiftWrapping` object to be used for the cart item. + """ + gift_wrapping_id: ID + """The new quantity of the item.""" + quantity: Float +} + +"""Specifies which items to remove from the cart.""" +input RemoveItemFromCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """Deprecated. Use `cart_item_uid` instead.""" + cart_item_id: Int + """Required field. The unique ID for a `CartItemInterface` object.""" + cart_item_uid: ID +} + +"""Specifies an array of addresses to use for shipping.""" +input SetShippingAddressesOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of shipping addresses.""" + shipping_addresses: [ShippingAddressInput]! +} + +"""Defines a single shipping address.""" +input ShippingAddressInput { + """Defines a shipping address.""" + address: CartAddressInput + """ + An ID from the customer's address book that uniquely identifies the address to be used for shipping. + """ + customer_address_id: Int + """Text provided by the shopper.""" + customer_notes: String + """The code of Pickup Location which will be used for In-Store Pickup.""" + pickup_location_code: String +} + +"""Sets the billing address.""" +input SetBillingAddressOnCartInput { + """The billing address.""" + billing_address: BillingAddressInput! + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Defines the billing address.""" +input BillingAddressInput { + """Defines a billing address.""" + address: CartAddressInput + """ + An ID from the customer's address book that uniquely identifies the address to be used for billing. + """ + customer_address_id: Int + """ + Indicates whether to set the billing address to be the same as the existing shipping address on the cart. + """ + same_as_shipping: Boolean + """ + Indicates whether to set the shipping address to be the same as this billing address. + """ + use_for_shipping: Boolean +} + +"""Defines the billing or shipping address to be applied to the cart.""" +input CartAddressInput { + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """The country code and label for the billing or shipping address.""" + country_code: String! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInput] + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """ + A string that defines the state or province of the billing or shipping address. + """ + region: String + """ + An integer that defines the state or province of the billing or shipping address. + """ + region_id: Int + """ + Determines whether to save the address in the customer's address book. The default value is true. + """ + save_in_address_book: Boolean + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +"""Applies one or shipping methods to the cart.""" +input SetShippingMethodsOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of shipping methods.""" + shipping_methods: [ShippingMethodInput]! +} + +"""Defines the shipping carrier and method.""" +input ShippingMethodInput { + """ + A string that identifies a commercial carrier or an offline delivery method. + """ + carrier_code: String! + """ + A string that indicates which service a commercial carrier will use to ship items. For offline delivery methods, this value is similar to the label displayed on the checkout page. + """ + method_code: String! +} + +"""Applies a payment method to the quote.""" +input SetPaymentMethodAndPlaceOrderInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """The payment method data to apply to the cart.""" + payment_method: PaymentMethodInput! +} + +"""Specifies the quote to be converted to an order.""" +input PlaceOrderInput { + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Applies a payment method to the cart.""" +input SetPaymentMethodOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """The payment method data to apply to the cart.""" + payment_method: PaymentMethodInput! +} + +"""Defines the payment method.""" +input PaymentMethodInput { + braintree: BraintreeInput + braintree_ach_direct_debit: BraintreeInput + braintree_ach_direct_debit_vault: BraintreeVaultInput + braintree_applepay_vault: BraintreeVaultInput + braintree_cc_vault: BraintreeCcVaultInput + braintree_googlepay_vault: BraintreeVaultInput + braintree_paypal: BraintreeInput + braintree_paypal_vault: BraintreeVaultInput + """The internal name for the payment method.""" + code: String! + """Required input for PayPal Hosted pro payments.""" + hosted_pro: HostedProInput + """Required input for Payflow Express Checkout payments.""" + payflow_express: PayflowExpressInput + """Required input for PayPal Payflow Link and Payments Advanced payments.""" + payflow_link: PayflowLinkInput + """Required input for PayPal Payflow Pro and Payment Pro payments.""" + payflowpro: PayflowProInput + """Required input for PayPal Payflow Pro vault payments.""" + payflowpro_cc_vault: VaultTokenInput + """Required input for Apple Pay button""" + payment_services_paypal_apple_pay: ApplePayMethodInput + """Required input for Google Pay button""" + payment_services_paypal_google_pay: GooglePayMethodInput + """Required input for Hosted Fields""" + payment_services_paypal_hosted_fields: HostedFieldsInput + """Required input for Smart buttons""" + payment_services_paypal_smart_buttons: SmartButtonMethodInput + """Required input for vault""" + payment_services_paypal_vault: VaultMethodInput + """Required input for Express Checkout and Payments Standard payments.""" + paypal_express: PaypalExpressInput + """The purchase order number. Optional for most payment methods.""" + purchase_order_number: String +} + +"""Defines the guest email and cart.""" +input SetGuestEmailOnCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """The email address of the guest.""" + email: String! +} + +""" +Contains details about the final price of items in the cart, including discount and tax information. +""" +type CartPrices { + """ + An array containing the names and amounts of taxes applied to each item in the cart. + """ + applied_taxes: [CartTaxItem] + discount: CartDiscount @deprecated(reason: "Use discounts instead.") + """ + An array containing cart rule discounts, store credit and gift cards applied to the cart. + """ + discounts: [Discount] + """The list of prices for the selected gift options.""" + gift_options: GiftOptionsPrices + """The total, including discounts, taxes, shipping, and other fees.""" + grand_total: Money + """The subtotal without any applied taxes.""" + subtotal_excluding_tax: Money + """The subtotal including any applied taxes.""" + subtotal_including_tax: Money + """The subtotal with any discounts applied, but not taxes.""" + subtotal_with_discount_excluding_tax: Money +} + +"""Contains tax information about an item in the cart.""" +type CartTaxItem { + """The amount of tax applied to the item.""" + amount: Money! + """The description of the tax.""" + label: String! +} + +"""Contains information about discounts applied to the cart.""" +type CartDiscount { + """The amount of the discount applied to the item.""" + amount: Money! + """The description of the discount.""" + label: [String]! +} + +type CreateGuestCartOutput { + """The newly created cart.""" + cart: Cart +} + +"""Contains details about the cart after setting the payment method.""" +type SetPaymentMethodOnCartOutput { + """The cart after setting the payment method.""" + cart: Cart! +} + +"""Contains details about the cart after setting the billing address.""" +type SetBillingAddressOnCartOutput { + """The cart after setting the billing address.""" + cart: Cart! +} + +"""Contains details about the cart after setting the shipping addresses.""" +type SetShippingAddressesOnCartOutput { + """The cart after setting the shipping addresses.""" + cart: Cart! +} + +"""Contains details about the cart after setting the shipping methods.""" +type SetShippingMethodsOnCartOutput { + """The cart after setting the shipping methods.""" + cart: Cart! +} + +"""Contains details about the cart after applying a coupon.""" +type ApplyCouponToCartOutput { + """The cart after applying a coupon.""" + cart: Cart! +} + +"""Contains the results of the request to place an order.""" +type PlaceOrderOutput { + """An array of place order errors.""" + errors: [PlaceOrderError]! + """The ID of the order.""" + order: Order @deprecated(reason: "Use `orderV2` instead.") + """Full order information.""" + orderV2: CustomerOrder +} + +"""An error encountered while placing an order.""" +type PlaceOrderError { + """An error code that is specific to place order.""" + code: PlaceOrderErrorCodes! + """A localized error message.""" + message: String! +} + +""" +Contains the contents and other details about a guest or customer cart. +""" +type Cart { + applied_coupon: AppliedCoupon @deprecated(reason: "Use `applied_coupons` instead.") + """ + An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code. + """ + applied_coupons: [AppliedCoupon] + """An array of gift card items applied to the cart.""" + applied_gift_cards: [AppliedGiftCard] + """The amount of reward points applied to the cart.""" + applied_reward_points: RewardPointsAmount + """Store credit information applied to the cart.""" + applied_store_credit: AppliedStoreCredit + """The list of available gift wrapping options for the cart.""" + available_gift_wrappings: [GiftWrapping]! + """An array of available payment methods.""" + available_payment_methods: [AvailablePaymentMethod] + """The billing address assigned to the cart.""" + billing_address: BillingCartAddress + """The email address of the guest or customer.""" + email: String + """The entered gift message for the cart""" + gift_message: GiftMessage + """Indicates whether the shopper requested gift receipt for the cart.""" + gift_receipt_included: Boolean! + """The selected gift wrapping for the cart.""" + gift_wrapping: GiftWrapping + """The unique ID for a `Cart` object.""" + id: ID! + """Indicates whether the cart contains only virtual products.""" + is_virtual: Boolean! + """An array of products that have been added to the cart.""" + items: [CartItemInterface] @deprecated(reason: "Use `itemsV2` instead.") + itemsV2(pageSize: Int = 20, currentPage: Int = 1, sort: QuoteItemsSortInput): CartItems + """Pricing details for the quote.""" + prices: CartPrices + """Indicates whether the shopper requested a printed card for the cart.""" + printed_card_included: Boolean! + """Indicates which payment method was applied to the cart.""" + selected_payment_method: SelectedPaymentMethod + """An array of shipping addresses assigned to the cart.""" + shipping_addresses: [ShippingCartAddress]! + """The total number of items in the cart.""" + total_quantity: Float! + """The total number of items in the cart.""" + total_summary_quantity_including_config: Float! +} + +type CartItems { + """An array of products that have been added to the cart.""" + items: [CartItemInterface]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo + """The number of returned cart items.""" + total_count: Int! +} + +interface CartAddressInterface { + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """An object containing the country label and code.""" + country: CartAddressCountry! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInterface]! + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region label and code.""" + region: CartAddressRegion + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The unique id of the customer address.""" + uid: String! + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +"""Contains shipping addresses and methods.""" +type ShippingCartAddress implements CartAddressInterface { + """ + An array that lists the shipping methods that can be applied to the cart. + """ + available_shipping_methods: [AvailableShippingMethod] + cart_items: [CartItemQuantity] @deprecated(reason: "Use `cart_items_v2` instead.") + """An array that lists the items in the cart.""" + cart_items_v2: [CartItemInterface] + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """An object containing the country label and code.""" + country: CartAddressCountry! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInterface]! + """Text provided by the shopper.""" + customer_notes: String + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + items_weight: Float @deprecated(reason: "This information should not be exposed on the frontend.") + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + pickup_location_code: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region label and code.""" + region: CartAddressRegion + """An object that describes the selected shipping method.""" + selected_shipping_method: SelectedShippingMethod + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The unique id of the customer address.""" + uid: String! + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +"""Contains details about the billing address.""" +type BillingCartAddress implements CartAddressInterface { + """The city specified for the billing or shipping address.""" + city: String! + """The company specified for the billing or shipping address.""" + company: String + """An object containing the country label and code.""" + country: CartAddressCountry! + """The custom attribute values of the billing or shipping address.""" + custom_attributes: [AttributeValueInterface]! + customer_notes: String @deprecated(reason: "The field is used only in shipping address.") + """The customer's fax number.""" + fax: String + """The first name of the customer or guest.""" + firstname: String! + """The last name of the customer or guest.""" + lastname: String! + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region label and code.""" + region: CartAddressRegion + """An array containing the street for the billing or shipping address.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number for the billing or shipping address.""" + telephone: String + """The unique id of the customer address.""" + uid: String! + """The VAT company number for billing or shipping address.""" + vat_id: String +} + +""" +Deprecated: The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`. +""" +type CartItemQuantity { + cart_item_id: Int! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") + quantity: Float! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") +} + +"""Contains details about the region in a billing or shipping address.""" +type CartAddressRegion { + """The state or province code.""" + code: String + """The display label for the region.""" + label: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +"""Contains details the country in a billing or shipping address.""" +type CartAddressCountry { + """The country code.""" + code: String! + """The display label for the country.""" + label: String! +} + +"""Contains details about the selected shipping method and carrier.""" +type SelectedShippingMethod { + """The cost of shipping using this shipping method.""" + amount: Money! + base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") + """ + A string that identifies a commercial carrier or an offline shipping method. + """ + carrier_code: String! + """The label for the carrier code.""" + carrier_title: String! + """A shipping method code associated with a carrier.""" + method_code: String! + """The label for the method code.""" + method_title: String! + """The cost of shipping using this shipping method, excluding tax.""" + price_excl_tax: Money! + """The cost of shipping using this shipping method, including tax.""" + price_incl_tax: Money! +} + +"""Contains details about the possible shipping methods and carriers.""" +type AvailableShippingMethod { + """The cost of shipping using this shipping method.""" + amount: Money! + """Indicates whether this shipping method can be applied to the cart.""" + available: Boolean! + base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") + """ + A string that identifies a commercial carrier or an offline shipping method. + """ + carrier_code: String! + """The label for the carrier code.""" + carrier_title: String! + """Describes an error condition.""" + error_message: String + """ + A shipping method code associated with a carrier. The value could be null if no method is available. + """ + method_code: String + """ + The label for the shipping method code. The value could be null if no method is available. + """ + method_title: String + """The cost of shipping using this shipping method, excluding tax.""" + price_excl_tax: Money! + """The cost of shipping using this shipping method, including tax.""" + price_incl_tax: Money! +} + +""" +Describes a payment method that the shopper can use to pay for the order. +""" +type AvailablePaymentMethod { + """The payment method code.""" + code: String! + """If the payment method is an online integration""" + is_deferred: Boolean! + """The payment method title.""" + title: String! +} + +"""Describes the payment method the shopper selected.""" +type SelectedPaymentMethod { + """The payment method code.""" + code: String! + """The purchase order number.""" + purchase_order_number: String + """The payment method title.""" + title: String! +} + +"""Contains the applied coupon code.""" +type AppliedCoupon { + """The coupon code the shopper applied to the card.""" + code: String! +} + +"""Specifies the cart from which to remove a coupon.""" +input RemoveCouponFromCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Contains details about the cart after removing a coupon.""" +type RemoveCouponFromCartOutput { + """The cart after removing a coupon.""" + cart: Cart +} + +"""Contains details about the cart after adding simple or group products.""" +type AddSimpleProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""Contains details about the cart after adding virtual products.""" +type AddVirtualProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""Contains details about the cart after updating items.""" +type UpdateCartItemsOutput { + """The cart after updating products.""" + cart: Cart! +} + +"""Contains details about the cart after removing an item.""" +type RemoveItemFromCartOutput { + """The cart after removing an item.""" + cart: Cart! +} + +"""Contains details about the cart after setting the email of a guest.""" +type SetGuestEmailOnCartOutput { + """The cart after setting the guest email.""" + cart: Cart! +} + +"""An implementation for simple product cart items.""" +type SimpleCartItem implements CartItemInterface { + """The list of available gift wrapping options for the cart item.""" + available_gift_wrapping: [GiftWrapping]! + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + """The entered gift message for the cart item""" + gift_message: GiftMessage + """The selected gift wrapping for the cart item.""" + gift_wrapping: GiftWrapping + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""An implementation for virtual product cart items.""" +type VirtualCartItem implements CartItemInterface { + """An array containing customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""An interface for products in a cart.""" +interface CartItemInterface { + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +type CartItemError { + """An error code that describes the error encountered""" + code: CartItemErrorType! + """A localized error message""" + message: String! +} + +enum CartItemErrorType { + UNDEFINED + ITEM_QTY + ITEM_INCREMENTS +} + +"""Specifies the discount type and value for quote line item.""" +type Discount { + """The amount of the discount.""" + amount: Money! + """The type of the entity the discount is applied to.""" + applied_to: CartDiscountType! + """The coupon related to the discount.""" + coupon: AppliedCoupon + """Is quote discounting locked for line item.""" + is_discounting_locked: Boolean + """A description of the discount.""" + label: String! + """ + Quote line item discount type. Values: 1 = PERCENTAGE_DISCOUNT; 2 = AMOUNT_DISCOUNT; 3 = PROPOSED_TOTAL. + """ + type: String + """Quote line item discount value.""" + value: Float +} + +enum CartDiscountType { + ITEM + SHIPPING +} + +""" +Contains details about the price of the item, including taxes and discounts. +""" +type CartItemPrices { + """An array of discounts to be applied to the cart item.""" + discounts: [Discount] + """An array of FPTs applied to the cart item.""" + fixed_product_taxes: [FixedProductTax] + """ + The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. + """ + price: Money! + """ + The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. + """ + price_including_tax: Money! + """The value of the price multiplied by the quantity of the item.""" + row_total: Money! + """The value of `row_total` plus the tax applied to the item.""" + row_total_including_tax: Money! + """The total of all discounts applied to the item.""" + total_item_discount: Money +} + +"""Identifies a customized product that has been placed in a cart.""" +type SelectedCustomizableOption { + """ + The unique ID for a specific `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. + """ + customizable_option_uid: ID! + id: Int! @deprecated(reason: "Use `SelectedCustomizableOption.customizable_option_uid` instead.") + """Indicates whether the customizable option is required.""" + is_required: Boolean! + """The display name of the selected customizable option.""" + label: String! + """A value indicating the order to display this option.""" + sort_order: Int! + """The type of `CustomizableOptionInterface` object.""" + type: String! + """An array of selectable values.""" + values: [SelectedCustomizableOptionValue]! +} + +"""Identifies the value of the selected customized option.""" +type SelectedCustomizableOptionValue { + """ + The unique ID for a value object that corresponds to the object represented by the `customizable_option_uid` attribute. + """ + customizable_option_value_uid: ID! + id: Int! @deprecated(reason: "Use `SelectedCustomizableOptionValue.customizable_option_value_uid` instead.") + """The display name of the selected value.""" + label: String! + """The price of the selected customizable value.""" + price: CartItemSelectedOptionValuePrice! + """The text identifying the selected value.""" + value: String! +} + +"""Contains details about the price of a selected customizable value.""" +type CartItemSelectedOptionValuePrice { + """Indicates whether the price type is fixed, percent, or dynamic.""" + type: PriceTypeEnum! + """A string that describes the unit of the value.""" + units: String! + """A price value.""" + value: Float! +} + +"""Contains the order ID.""" +type Order { + order_id: String @deprecated(reason: "Use `order_number` instead.") + """The unique ID for an `Order` object.""" + order_number: String! +} + +"""An error encountered while adding an item to the the cart.""" +type CartUserInputError { + """A cart-specific error code.""" + code: CartUserInputErrorType! + """A localized error message.""" + message: String! +} + +"""Contains details about the cart after adding products to it.""" +type AddProductsToCartOutput { + """The cart after products have been added.""" + cart: Cart! + """Contains errors encountered while adding an item to the cart.""" + user_errors: [CartUserInputError]! +} + +enum CartUserInputErrorType { + PRODUCT_NOT_FOUND + NOT_SALABLE + INSUFFICIENT_STOCK + UNDEFINED + PERMISSION_DENIED +} + +enum PlaceOrderErrorCodes { + CART_NOT_FOUND + CART_NOT_ACTIVE + GUEST_EMAIL_MISSING + UNABLE_TO_PLACE_ORDER + UNDEFINED +} + +input EstimateTotalsInput { + """Customer's address to estimate totals.""" + address: EstimateAddressInput! + """The unique ID of the cart to query.""" + cart_id: String! + """Selected shipping method to estimate totals.""" + shipping_method: ShippingMethodInput +} + +"""Estimate totals output.""" +type EstimateTotalsOutput { + """Cart after totals estimation""" + cart: Cart +} + +"""Contains details about an address.""" +input EstimateAddressInput { + """The two-letter code representing the customer's country.""" + country_code: CountryCodeEnum! + """The customer's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: CustomerAddressRegionInput +} + +"""Defines details about an individual checkout agreement.""" +type CheckoutAgreement { + """The ID for a checkout agreement.""" + agreement_id: Int! + """The checkbox text for the checkout agreement.""" + checkbox_text: String! + """Required. The text of the agreement.""" + content: String! + """ + The height of the text box where the Terms and Conditions statement appears during checkout. + """ + content_height: String + """Indicates whether the `content` text is in HTML format.""" + is_html: Boolean! + """Indicates whether agreements are accepted automatically or manually.""" + mode: CheckoutAgreementMode! + """The name given to the condition.""" + name: String! +} + +"""Indicates how agreements are accepted.""" +enum CheckoutAgreementMode { + """Conditions are automatically accepted upon checkout.""" + AUTO + """Shoppers must manually accept the conditions to place an order.""" + MANUAL +} + +"""Contains details about a customer email address to confirm.""" +input ConfirmEmailInput { + """The key to confirm the email address.""" + confirmation_key: String! + """The email address to be confirmed.""" + email: String! +} + +"""Contains details about a billing or shipping address.""" +input CustomerAddressInput { + """The customer's city or town.""" + city: String + """The customer's company.""" + company: String + """The two-letter code representing the customer's country.""" + country_code: CountryCodeEnum + """Deprecated: use `country_code` instead.""" + country_id: CountryCodeEnum + """Deprecated. Use custom_attributesV2 instead.""" + custom_attributes: [CustomerAddressAttributeInput] + """Custom attributes assigned to the customer address.""" + custom_attributesV2: [AttributeValueInput] + """Indicates whether the address is the default billing address.""" + default_billing: Boolean + """Indicates whether the address is the default shipping address.""" + default_shipping: Boolean + """The customer's fax number.""" + fax: String + """ + The first name of the person associated with the billing/shipping address. + """ + firstname: String + """ + The family name of the person associated with the billing/shipping address. + """ + lastname: String + """ + The middle name of the person associated with the billing/shipping address. + """ + middlename: String + """The customer's ZIP or postal code.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region name, region code, and region ID.""" + region: CustomerAddressRegionInput + """An array of strings that define the street number and name.""" + street: [String] + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's telephone number.""" + telephone: String + """The customer's Tax/VAT number (for corporate customers).""" + vat_id: String +} + +"""Defines the customer's state or province.""" +input CustomerAddressRegionInput { + """The state or province name.""" + region: String + """The address region code.""" + region_code: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +"""Specifies the attribute code and value of a customer attribute.""" +input CustomerAddressAttributeInput { + """The name assigned to the attribute.""" + attribute_code: String! + """The value assigned to the attribute.""" + value: String! +} + +"""Contains a customer authorization token.""" +type CustomerToken { + """Generate logout time""" + customer_token_lifetime: Int + """The customer authorization token.""" + token: String +} + +"""An input object that assigns or updates customer attributes.""" +input CustomerInput { + """The customer's date of birth.""" + date_of_birth: String + """Deprecated: Use `date_of_birth` instead.""" + dob: String + """The customer's email address. Required when creating a customer.""" + email: String + """The customer's first name.""" + firstname: String + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The customer's family name.""" + lastname: String + """The customer's middle name.""" + middlename: String + """The customer's password.""" + password: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Tax/VAT number (for corporate customers).""" + taxvat: String +} + +"""An input object for creating a customer.""" +input CustomerCreateInput { + """Indicates whether the customer has enabled remote shopping assistance.""" + allow_remote_shopping_assistance: Boolean + """The customer's custom attributes.""" + custom_attributes: [AttributeValueInput] + """The customer's date of birth.""" + date_of_birth: String + """Deprecated: Use `date_of_birth` instead.""" + dob: String + """The customer's email address.""" + email: String! + """The customer's first name.""" + firstname: String! + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The customer's family name.""" + lastname: String! + """The customer's middle name.""" + middlename: String + """The customer's password.""" + password: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Tax/VAT number (for corporate customers).""" + taxvat: String +} + +"""An input object for updating a customer.""" +input CustomerUpdateInput { + """Indicates whether the customer has enabled remote shopping assistance.""" + allow_remote_shopping_assistance: Boolean + """The customer's custom attributes.""" + custom_attributes: [AttributeValueInput] + """The customer's date of birth.""" + date_of_birth: String + """Deprecated: Use `date_of_birth` instead.""" + dob: String + """The customer's first name.""" + firstname: String + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The customer's family name.""" + lastname: String + """The customer's middle name.""" + middlename: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Tax/VAT number (for corporate customers).""" + taxvat: String +} + +"""Contains details about a newly-created or updated customer.""" +type CustomerOutput { + """Customer details after creating or updating a customer.""" + customer: Customer! +} + +"""Contains the result of a request to revoke a customer token.""" +type RevokeCustomerTokenOutput { + """The result of a request to revoke a customer token.""" + result: Boolean! +} + +"""Defines the customer name, addresses, and other details.""" +type Customer { + """An array containing the customer's shipping and billing addresses.""" + addresses: [CustomerAddress] + """Indicates whether the customer has enabled remote shopping assistance.""" + allow_remote_shopping_assistance: Boolean! + """An object that contains a list of companies user is assigned to.""" + companies(input: UserCompaniesInput): UserCompaniesOutput! + """The contents of the customer's compare list.""" + compare_list: CompareList + """The customer's confirmation status.""" + confirmation_status: ConfirmationStatusEnum! + """Timestamp indicating when the account was created.""" + created_at: String + """Customer's custom attributes.""" + custom_attributes(attributeCodes: [ID!]): [AttributeValueInterface] + """The customer's date of birth.""" + date_of_birth: String + """The ID assigned to the billing address.""" + default_billing: String + """The ID assigned to the shipping address.""" + default_shipping: String + """The customer's date of birth.""" + dob: String @deprecated(reason: "Use `date_of_birth` instead.") + """The customer's email address. Required.""" + email: String + """The customer's first name.""" + firstname: String + """The customer's gender (Male - 1, Female - 2).""" + gender: Int + """Details about all of the customer's gift registries.""" + gift_registries: [GiftRegistry] + """Details about a specific gift registry.""" + gift_registry(giftRegistryUid: ID!): GiftRegistry + group_id: Int @deprecated(reason: "Customer group should not be exposed in the storefront scenarios.") + """The ID assigned to the customer.""" + id: Int @deprecated(reason: "`id` is not needed as part of `Customer`, because on the server side, it can be identified based on the customer token used for authentication. There is no need to know customer ID on the client side.") + """ + Customer's confirmation status (confirmed/confirmation not required - true, unconfirmed - false). + """ + is_confirmed: Boolean + """ + Indicates whether the customer is subscribed to the company's newsletter. + """ + is_subscribed: Boolean + """The job title of a company user.""" + job_title: String + """The customer's family name.""" + lastname: String + """The customer's middle name.""" + middlename: String + orders( + """Defines the filter to use for searching customer orders.""" + filter: CustomerOrdersFilterInput + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + """ + Specifies the maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """ + Specifies which field to sort on, and whether to return the results in ascending or descending order. + """ + sort: CustomerOrderSortInput + """ + Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores. + """ + scope: ScopeTypeEnum + ): CustomerOrders + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """Purchase order details.""" + purchase_order(uid: ID!): PurchaseOrder + """Details about a single purchase order approval rule.""" + purchase_order_approval_rule(uid: ID!): PurchaseOrderApprovalRule + """ + Purchase order approval rule metadata that can be used for rule edit form rendering. + """ + purchase_order_approval_rule_metadata: PurchaseOrderApprovalRuleMetadata + """A list of purchase order approval rules visible to the customer.""" + purchase_order_approval_rules(currentPage: Int = 1, pageSize: Int = 20): PurchaseOrderApprovalRules + """A list of purchase orders visible to the customer.""" + purchase_orders(filter: PurchaseOrdersFilterInput, currentPage: Int = 1, pageSize: Int = 20): PurchaseOrders + """ + Indicates whether purchase order functionality is enabled for the current customer. Global and company-level settings are factored into the result. + """ + purchase_orders_enabled: Boolean! + """An object that contains the customer's requisition lists.""" + requisition_lists( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The filter to use to limit the number of requisition lists to return.""" + filter: RequisitionListFilterInput + ): RequisitionLists + """ + Details about the specified return request from the unique ID for a `Return` object. + """ + return(uid: ID!): Return + """Information about the customer's return requests.""" + returns( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): Returns + """Contains the customer's product reviews.""" + reviews( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """Customer reward points details.""" + reward_points: RewardPoints + """The role name and permissions assigned to the company user.""" + role: CompanyRole + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum + """Store credit information applied for the logged in customer.""" + store_credit: CustomerStoreCredit + """ID of the company structure""" + structure_id: ID! + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's Value-added tax (VAT) number (for corporate customers).""" + taxvat: String + """The team the company user is assigned to.""" + team: CompanyTeam + """The phone number of the company user.""" + telephone: String + """Return a customer's wish lists.""" + wishlist: Wishlist! @deprecated(reason: "Use `Customer.wishlists` or `Customer.wishlist_v2` instead.") + """ + Retrieve the wish list identified by the unique ID for a `Wishlist` object. + """ + wishlist_v2(id: ID!): Wishlist + """ + An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce. + """ + wishlists( + """ + Specifies the maximum number of results to return at once. This attribute is optional. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): [Wishlist]! +} + +""" +Contains detailed information about a customer's billing or shipping address. +""" +type CustomerAddress { + """The customer's city or town.""" + city: String + """The customer's company.""" + company: String + """The customer's country.""" + country_code: CountryCodeEnum + """The customer's country.""" + country_id: String @deprecated(reason: "Use `country_code` instead.") + custom_attributes: [CustomerAddressAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") + """Custom attributes assigned to the customer address.""" + custom_attributesV2(attributeCodes: [ID!]): [AttributeValueInterface]! + """The customer ID""" + customer_id: Int @deprecated(reason: "`customer_id` is not needed as part of `CustomerAddress`. The `id` is a unique identifier for the addresses.") + """ + Indicates whether the address is the customer's default billing address. + """ + default_billing: Boolean + """ + Indicates whether the address is the customer's default shipping address. + """ + default_shipping: Boolean + """Contains any extension attributes for the address.""" + extension_attributes: [CustomerAddressAttribute] + """The customer's fax number.""" + fax: String + """ + The first name of the person associated with the shipping/billing address. + """ + firstname: String + """The ID of a `CustomerAddress` object.""" + id: Int + """ + The family name of the person associated with the shipping/billing address. + """ + lastname: String + """ + The middle name of the person associated with the shipping/billing address. + """ + middlename: String + """The customer's ZIP or postal code.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """An object containing the region name, region code, and region ID.""" + region: CustomerAddressRegion + """The unique ID for a pre-defined region.""" + region_id: Int + """An array of strings that define the street number and name.""" + street: [String] + """A value such as Sr., Jr., or III.""" + suffix: String + """The customer's telephone number.""" + telephone: String + """The customer's Value-added tax (VAT) number (for corporate customers).""" + vat_id: String +} + +"""Defines the customer's state or province.""" +type CustomerAddressRegion { + """The state or province name.""" + region: String + """The address region code.""" + region_code: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +""" +Specifies the attribute code and value of a customer address attribute. +""" +type CustomerAddressAttribute { + """The name assigned to the customer address attribute.""" + attribute_code: String + """The value assigned to the customer address attribute.""" + value: String +} + +"""Contains the result of the `isEmailAvailable` query.""" +type IsEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a customer. + """ + is_email_available: Boolean +} + +"""The list of country codes.""" +enum CountryCodeEnum { + """Afghanistan""" + AF + """Åland Islands""" + AX + """Albania""" + AL + """Algeria""" + DZ + """American Samoa""" + AS + """Andorra""" + AD + """Angola""" + AO + """Anguilla""" + AI + """Antarctica""" + AQ + """Antigua & Barbuda""" + AG + """Argentina""" + AR + """Armenia""" + AM + """Aruba""" + AW + """Australia""" + AU + """Austria""" + AT + """Azerbaijan""" + AZ + """Bahamas""" + BS + """Bahrain""" + BH + """Bangladesh""" + BD + """Barbados""" + BB + """Belarus""" + BY + """Belgium""" + BE + """Belize""" + BZ + """Benin""" + BJ + """Bermuda""" + BM + """Bhutan""" + BT + """Bolivia""" + BO + """Bosnia & Herzegovina""" + BA + """Botswana""" + BW + """Bouvet Island""" + BV + """Brazil""" + BR + """British Indian Ocean Territory""" + IO + """British Virgin Islands""" + VG + """Brunei""" + BN + """Bulgaria""" + BG + """Burkina Faso""" + BF + """Burundi""" + BI + """Cambodia""" + KH + """Cameroon""" + CM + """Canada""" + CA + """Cape Verde""" + CV + """Cayman Islands""" + KY + """Central African Republic""" + CF + """Chad""" + TD + """Chile""" + CL + """China""" + CN + """Christmas Island""" + CX + """Cocos (Keeling) Islands""" + CC + """Colombia""" + CO + """Comoros""" + KM + """Congo-Brazzaville""" + CG + """Congo-Kinshasa""" + CD + """Cook Islands""" + CK + """Costa Rica""" + CR + """Côte d’Ivoire""" + CI + """Croatia""" + HR + """Cuba""" + CU + """Cyprus""" + CY + """Czech Republic""" + CZ + """Denmark""" + DK + """Djibouti""" + DJ + """Dominica""" + DM + """Dominican Republic""" + DO + """Ecuador""" + EC + """Egypt""" + EG + """El Salvador""" + SV + """Equatorial Guinea""" + GQ + """Eritrea""" + ER + """Estonia""" + EE + """Eswatini""" + SZ + """Ethiopia""" + ET + """Falkland Islands""" + FK + """Faroe Islands""" + FO + """Fiji""" + FJ + """Finland""" + FI + """France""" + FR + """French Guiana""" + GF + """French Polynesia""" + PF + """French Southern Territories""" + TF + """Gabon""" + GA + """Gambia""" + GM + """Georgia""" + GE + """Germany""" + DE + """Ghana""" + GH + """Gibraltar""" + GI + """Greece""" + GR + """Greenland""" + GL + """Grenada""" + GD + """Guadeloupe""" + GP + """Guam""" + GU + """Guatemala""" + GT + """Guernsey""" + GG + """Guinea""" + GN + """Guinea-Bissau""" + GW + """Guyana""" + GY + """Haiti""" + HT + """Heard & McDonald Islands""" + HM + """Honduras""" + HN + """Hong Kong SAR China""" + HK + """Hungary""" + HU + """Iceland""" + IS + """India""" + IN + """Indonesia""" + ID + """Iran""" + IR + """Iraq""" + IQ + """Ireland""" + IE + """Isle of Man""" + IM + """Israel""" + IL + """Italy""" + IT + """Jamaica""" + JM + """Japan""" + JP + """Jersey""" + JE + """Jordan""" + JO + """Kazakhstan""" + KZ + """Kenya""" + KE + """Kiribati""" + KI + """Kuwait""" + KW + """Kyrgyzstan""" + KG + """Laos""" + LA + """Latvia""" + LV + """Lebanon""" + LB + """Lesotho""" + LS + """Liberia""" + LR + """Libya""" + LY + """Liechtenstein""" + LI + """Lithuania""" + LT + """Luxembourg""" + LU + """Macau SAR China""" + MO + """Macedonia""" + MK + """Madagascar""" + MG + """Malawi""" + MW + """Malaysia""" + MY + """Maldives""" + MV + """Mali""" + ML + """Malta""" + MT + """Marshall Islands""" + MH + """Martinique""" + MQ + """Mauritania""" + MR + """Mauritius""" + MU + """Mayotte""" + YT + """Mexico""" + MX + """Micronesia""" + FM + """Moldova""" + MD + """Monaco""" + MC + """Mongolia""" + MN + """Montenegro""" + ME + """Montserrat""" + MS + """Morocco""" + MA + """Mozambique""" + MZ + """Myanmar (Burma)""" + MM + """Namibia""" + NA + """Nauru""" + NR + """Nepal""" + NP + """Netherlands""" + NL + """Netherlands Antilles""" + AN + """New Caledonia""" + NC + """New Zealand""" + NZ + """Nicaragua""" + NI + """Niger""" + NE + """Nigeria""" + NG + """Niue""" + NU + """Norfolk Island""" + NF + """Northern Mariana Islands""" + MP + """North Korea""" + KP + """Norway""" + NO + """Oman""" + OM + """Pakistan""" + PK + """Palau""" + PW + """Palestinian Territories""" + PS + """Panama""" + PA + """Papua New Guinea""" + PG + """Paraguay""" + PY + """Peru""" + PE + """Philippines""" + PH + """Pitcairn Islands""" + PN + """Poland""" + PL + """Portugal""" + PT + """Qatar""" + QA + """Réunion""" + RE + """Romania""" + RO + """Russia""" + RU + """Rwanda""" + RW + """Samoa""" + WS + """San Marino""" + SM + """São Tomé & Príncipe""" + ST + """Saudi Arabia""" + SA + """Senegal""" + SN + """Serbia""" + RS + """Seychelles""" + SC + """Sierra Leone""" + SL + """Singapore""" + SG + """Slovakia""" + SK + """Slovenia""" + SI + """Solomon Islands""" + SB + """Somalia""" + SO + """South Africa""" + ZA + """South Georgia & South Sandwich Islands""" + GS + """South Korea""" + KR + """Spain""" + ES + """Sri Lanka""" + LK + """St. Barthélemy""" + BL + """St. Helena""" + SH + """St. Kitts & Nevis""" + KN + """St. Lucia""" + LC + """St. Martin""" + MF + """St. Pierre & Miquelon""" + PM + """St. Vincent & Grenadines""" + VC + """Sudan""" + SD + """Suriname""" + SR + """Svalbard & Jan Mayen""" + SJ + """Sweden""" + SE + """Switzerland""" + CH + """Syria""" + SY + """Taiwan""" + TW + """Tajikistan""" + TJ + """Tanzania""" + TZ + """Thailand""" + TH + """Timor-Leste""" + TL + """Togo""" + TG + """Tokelau""" + TK + """Tonga""" + TO + """Trinidad & Tobago""" + TT + """Tunisia""" + TN + """Turkey""" + TR + """Turkmenistan""" + TM + """Turks & Caicos Islands""" + TC + """Tuvalu""" + TV + """Uganda""" + UG + """Ukraine""" + UA + """United Arab Emirates""" + AE + """United Kingdom""" + GB + """United States""" + US + """Uruguay""" + UY + """U.S. Outlying Islands""" + UM + """U.S. Virgin Islands""" + VI + """Uzbekistan""" + UZ + """Vanuatu""" + VU + """Vatican City""" + VA + """Venezuela""" + VE + """Vietnam""" + VN + """Wallis & Futuna""" + WF + """Western Sahara""" + EH + """Yemen""" + YE + """Zambia""" + ZM + """Zimbabwe""" + ZW +} + +"""Customer attribute metadata.""" +type CustomerAttributeMetadata implements CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """The template used for the input of the attribute (e.g., 'date').""" + input_filter: InputFilterEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """The number of lines of the attribute value.""" + multiline_count: Int + """Attribute options.""" + options: [CustomAttributeOptionInterface]! + """The position of the attribute in the form.""" + sort_order: Int + """The validation rules of the attribute value.""" + validate_rules: [ValidationRule] +} + +"""List of templates/filters applied to customer attribute input.""" +enum InputFilterEnum { + """There are no templates or filters to be applied.""" + NONE + """Forces attribute input to follow the date format.""" + DATE + """ + Strip whitespace (or other characters) from the beginning and end of the input. + """ + TRIM + """Strip HTML Tags.""" + STRIPTAGS + """Escape HTML Entities.""" + ESCAPEHTML +} + +"""Defines a customer attribute validation rule.""" +type ValidationRule { + """Validation rule name applied to a customer attribute.""" + name: ValidationRuleEnum + """Validation rule value.""" + value: String +} + +"""List of validation rule names applied to a customer attribute.""" +enum ValidationRuleEnum { + DATE_RANGE_MAX + DATE_RANGE_MIN + FILE_EXTENSIONS + INPUT_VALIDATION + MAX_TEXT_LENGTH + MIN_TEXT_LENGTH + MAX_FILE_SIZE + MAX_IMAGE_HEIGHT + MAX_IMAGE_WIDTH +} + +"""List of account confirmation statuses.""" +enum ConfirmationStatusEnum { + """Account confirmed""" + ACCOUNT_CONFIRMED + """Account confirmation not required""" + ACCOUNT_CONFIRMATION_NOT_REQUIRED +} + +"""Defines properties of a negotiable quote request.""" +input RequestNegotiableQuoteInput { + """The cart ID of the buyer requesting a new negotiable quote.""" + cart_id: ID! + """Comments the buyer entered to describe the request.""" + comment: NegotiableQuoteCommentInput! + """Flag indicating if quote is draft or not.""" + is_draft: Boolean + """The name the buyer assigned to the negotiable quote request.""" + quote_name: String! +} + +"""Specifies the items to update.""" +input UpdateNegotiableQuoteQuantitiesInput { + """An array of items to update.""" + items: [NegotiableQuoteItemQuantityInput]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Specifies the updated quantity of an item.""" +input NegotiableQuoteItemQuantityInput { + """The new quantity of the negotiable quote item.""" + quantity: Float! + """The unique ID of a `CartItemInterface` object.""" + quote_item_uid: ID! +} + +"""Contains the updated negotiable quote.""" +type UpdateNegotiableQuoteItemsQuantityOutput { + """The updated negotiable quote.""" + quote: NegotiableQuote +} + +"""Specifies the negotiable quote to convert to an order.""" +input PlaceNegotiableQuoteOrderInput { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""An output object that returns the generated order.""" +type PlaceNegotiableQuoteOrderOutput { + """Contains the generated order number.""" + order: Order! +} + +"""Specifies which negotiable quote to send for review.""" +input SendNegotiableQuoteForReviewInput { + """A comment for the seller to review.""" + comment: NegotiableQuoteCommentInput + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Contains the negotiable quote.""" +type SendNegotiableQuoteForReviewOutput { + """The negotiable quote after sending for seller review.""" + quote: NegotiableQuote +} + +"""Defines the shipping address to assign to the negotiable quote.""" +input SetNegotiableQuoteShippingAddressInput { + """The unique ID of a `CustomerAddress` object.""" + customer_address_id: ID + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! + """An array of shipping addresses to apply to the negotiable quote.""" + shipping_addresses: [NegotiableQuoteShippingAddressInput] +} + +"""Defines shipping addresses for the negotiable quote.""" +input NegotiableQuoteShippingAddressInput { + """A shipping address.""" + address: NegotiableQuoteAddressInput + """ + An ID from the company user's address book that uniquely identifies the address to be used for shipping. + """ + customer_address_uid: ID + """Text provided by the company user.""" + customer_notes: String +} + +"""Sets the billing address.""" +input SetNegotiableQuoteBillingAddressInput { + """The billing address to be added.""" + billing_address: NegotiableQuoteBillingAddressInput! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Defines the billing address.""" +input NegotiableQuoteBillingAddressInput { + """Defines a billing address.""" + address: NegotiableQuoteAddressInput + """The unique ID of a `CustomerAddress` object.""" + customer_address_uid: ID + """ + Indicates whether to set the billing address to be the same as the existing shipping address on the negotiable quote. + """ + same_as_shipping: Boolean + """ + Indicates whether to set the shipping address to be the same as this billing address. + """ + use_for_shipping: Boolean +} + +"""Defines the billing or shipping address to be applied to the cart.""" +input NegotiableQuoteAddressInput { + """The city specified for the billing or shipping address.""" + city: String! + """The company name.""" + company: String + """The country code and label for the billing or shipping address.""" + country_code: String! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The ZIP or postal code of the billing or shipping address.""" + postcode: String + """ + A string that defines the state or province of the billing or shipping address. + """ + region: String + """ + An integer that defines the state or province of the billing or shipping address. + """ + region_id: Int + """ + Determines whether to save the address in the customer's address book. The default value is true. + """ + save_in_address_book: Boolean + """An array containing the street for the billing or shipping address.""" + street: [String]! + """The telephone number for the billing or shipping address.""" + telephone: String +} + +"""Defines the shipping method to apply to the negotiable quote.""" +input SetNegotiableQuoteShippingMethodsInput { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! + """An array of shipping methods to apply to the negotiable quote.""" + shipping_methods: [ShippingMethodInput]! +} + +"""Sets quote item note.""" +input LineItemNoteInput { + """The note text to be added.""" + note: String + """The unique ID of a `CartLineItem` object.""" + quote_item_uid: ID! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Sets new name for a negotiable quote.""" +input RenameNegotiableQuoteInput { + """The reason for the quote name change specified by the buyer.""" + quote_comment: String + """ + The new quote name the buyer specified to the negotiable quote request. + """ + quote_name: String! + """The cart ID of the buyer requesting a new negotiable quote.""" + quote_uid: ID! +} + +"""Contains the updated negotiable quote.""" +type SetLineItemNoteOutput { + """The negotiable quote after sending for seller review.""" + quote: NegotiableQuote +} + +"""Move Line Item to Requisition List.""" +input MoveLineItemToRequisitionListInput { + """The unique ID of a `CartLineItem` object.""" + quote_item_uid: ID! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! + """The unique ID of a requisition list.""" + requisition_list_uid: ID! +} + +"""Contains the updated negotiable quote.""" +type MoveLineItemToRequisitionListOutput { + """The negotiable quote after moving item to requisition list.""" + quote: NegotiableQuote +} + +"""Contains the negotiable quote.""" +type SetNegotiableQuoteShippingMethodsOutput { + """The negotiable quote after applying shipping methods.""" + quote: NegotiableQuote +} + +"""Contains the negotiable quote.""" +type SetNegotiableQuoteShippingAddressOutput { + """The negotiable quote after assigning a shipping address.""" + quote: NegotiableQuote +} + +"""Contains the negotiable quote.""" +type SetNegotiableQuoteBillingAddressOutput { + """The negotiable quote after assigning a billing address.""" + quote: NegotiableQuote +} + +"""Defines the items to remove from the specified negotiable quote.""" +input RemoveNegotiableQuoteItemsInput { + """ + An array of IDs indicating which items to remove from the negotiable quote. + """ + quote_item_uids: [ID]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Contains the negotiable quote.""" +type RemoveNegotiableQuoteItemsOutput { + """The negotiable quote after removing items.""" + quote: NegotiableQuote +} + +"""Defines the negotiable quotes to mark as closed.""" +input CloseNegotiableQuotesInput { + """A list of unique IDs from `NegotiableQuote` objects.""" + quote_uids: [ID]! +} + +""" +Contains the closed negotiable quotes and other negotiable quotes the company user can view. +""" +type CloseNegotiableQuotesOutput { + """An array containing the negotiable quotes that were just closed.""" + closed_quotes: [NegotiableQuote] @deprecated(reason: "Use `operation_results` instead.") + """ + A list of negotiable quotes that can be viewed by the logged-in customer + """ + negotiable_quotes( + """The filter to use to determine which negotiable quotes to close.""" + filter: NegotiableQuoteFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteSortInput + ): NegotiableQuotesOutput + """An array of closed negotiable quote UIDs and details about any errors.""" + operation_results: [CloseNegotiableQuoteOperationResult]! + """The status of the request to close one or more negotiable quotes.""" + result_status: BatchMutationStatus! +} + +"""Contains the updated negotiable quote.""" +type RenameNegotiableQuoteOutput { + """The negotiable quote after updating the name.""" + quote: NegotiableQuote +} + +union CloseNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | CloseNegotiableQuoteOperationFailure + +union CloseNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError + +""" +Contains a list of undeleted negotiable quotes the company user can view. +""" +type DeleteNegotiableQuotesOutput { + """A list of negotiable quotes that the customer can view""" + negotiable_quotes( + """The filter to use to determine which negotiable quotes to delete.""" + filter: NegotiableQuoteFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The field to use for sorting results.""" + sort: NegotiableQuoteSortInput + ): NegotiableQuotesOutput + """ + An array of deleted negotiable quote UIDs and details about any errors. + """ + operation_results: [DeleteNegotiableQuoteOperationResult]! + """The status of the request to delete one or more negotiable quotes.""" + result_status: BatchMutationStatus! +} + +union DeleteNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | DeleteNegotiableQuoteOperationFailure + +union DeleteNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError + +"""Defines the payment method to be applied to the negotiable quote.""" +input NegotiableQuotePaymentMethodInput { + """Payment method code""" + code: String! + """The purchase order number. Optional for most payment methods.""" + purchase_order_number: String +} + +""" +Contains details about the negotiable quote after setting the payment method. +""" +type SetNegotiableQuotePaymentMethodOutput { + """The updated negotiable quote.""" + quote: NegotiableQuote +} + +"""Contains a list of negotiable that match the specified filter.""" +type NegotiableQuotesOutput { + """A list of negotiable quotes""" + items: [NegotiableQuote]! + """Contains pagination metadata""" + page_info: SearchResultPageInfo! + """Contains the default sort field and all available sort fields.""" + sort_fields: SortFields + """The number of negotiable quotes returned""" + total_count: Int! +} + +"""Defines the field to use to sort a list of negotiable quotes.""" +input NegotiableQuoteSortInput { + """Whether to return results in ascending or descending order.""" + sort_direction: SortEnum! + """The specified sort field.""" + sort_field: NegotiableQuoteSortableField! +} + +enum NegotiableQuoteSortableField { + """Sorts negotiable quotes by name.""" + QUOTE_NAME + """Sorts negotiable quotes by the dates they were created.""" + CREATED_AT + """Sorts negotiable quotes by the dates they were last modified.""" + UPDATED_AT +} + +"""Contains the commend provided by the buyer.""" +input NegotiableQuoteCommentInput { + """The comment provided by the buyer.""" + comment: String! +} + +"""Contains a single plain text comment from either the buyer or seller.""" +type NegotiableQuoteComment { + """The first and last name of the commenter.""" + author: NegotiableQuoteUser! + """Timestamp indicating when the comment was created.""" + created_at: String! + """Indicates whether a buyer or seller commented.""" + creator_type: NegotiableQuoteCommentCreatorType! + """The plain text comment.""" + text: String! + """The unique ID of a `NegotiableQuoteComment` object.""" + uid: ID! +} + +enum NegotiableQuoteCommentCreatorType { + BUYER + SELLER +} + +"""Contains details about a negotiable quote.""" +type NegotiableQuote { + """ + An array of payment methods that can be applied to the negotiable quote. + """ + available_payment_methods: [AvailablePaymentMethod] + """The billing address applied to the negotiable quote.""" + billing_address: NegotiableQuoteBillingAddress + """The first and last name of the buyer.""" + buyer: NegotiableQuoteUser! + """A list of comments made by the buyer and seller.""" + comments: [NegotiableQuoteComment] + """Timestamp indicating when the negotiable quote was created.""" + created_at: String + """The email address of the company user.""" + email: String + """A list of status and price changes for the negotiable quote.""" + history: [NegotiableQuoteHistoryEntry] + """Indicates whether the negotiable quote contains only virtual products.""" + is_virtual: Boolean! + """The list of items in the negotiable quote.""" + items: [CartItemInterface] + """The title assigned to the negotiable quote.""" + name: String! + """A set of subtotals and totals applied to the negotiable quote.""" + prices: CartPrices + """The payment method that was applied to the negotiable quote.""" + selected_payment_method: SelectedPaymentMethod + """A list of shipping addresses applied to the negotiable quote.""" + shipping_addresses: [NegotiableQuoteShippingAddress]! + """The status of the negotiable quote.""" + status: NegotiableQuoteStatus! + """The total number of items in the negotiable quote.""" + total_quantity: Float! + """The unique ID of a `NegotiableQuote` object.""" + uid: ID! + """Timestamp indicating when the negotiable quote was updated.""" + updated_at: String +} + +enum NegotiableQuoteStatus { + SUBMITTED + PENDING + UPDATED + OPEN + ORDERED + CLOSED + DECLINED + EXPIRED + DRAFT +} + +"""Defines a filter to limit the negotiable quotes to return.""" +input NegotiableQuoteFilterInput { + """Filter by the ID of one or more negotiable quotes.""" + ids: FilterEqualTypeInput + """Filter by the negotiable quote name.""" + name: FilterMatchTypeInput +} + +"""Contains details about a change for a negotiable quote.""" +type NegotiableQuoteHistoryEntry { + """The person who made a change in the status of the negotiable quote.""" + author: NegotiableQuoteUser! + """ + An enum that describes the why the entry in the negotiable quote history changed status. + """ + change_type: NegotiableQuoteHistoryEntryChangeType! + """The set of changes in the negotiable quote.""" + changes: NegotiableQuoteHistoryChanges + """Timestamp indicating when the negotiable quote entry was created.""" + created_at: String + """The unique ID of a `NegotiableQuoteHistoryEntry` object.""" + uid: ID! +} + +"""Contains a list of changes to a negotiable quote.""" +type NegotiableQuoteHistoryChanges { + """The comment provided with a change in the negotiable quote history.""" + comment_added: NegotiableQuoteHistoryCommentChange + """Lists log entries added by third-party extensions.""" + custom_changes: NegotiableQuoteCustomLogChange + """ + The expiration date of the negotiable quote before and after a change in the quote history. + """ + expiration: NegotiableQuoteHistoryExpirationChange + """ + Lists products that were removed as a result of a change in the quote history. + """ + products_removed: NegotiableQuoteHistoryProductsRemovedChange + """The status before and after a change in the negotiable quote history.""" + statuses: NegotiableQuoteHistoryStatusesChange + """ + The total amount of the negotiable quote before and after a change in the quote history. + """ + total: NegotiableQuoteHistoryTotalChange +} + +""" +Lists a new status change applied to a negotiable quote and the previous status. +""" +type NegotiableQuoteHistoryStatusChange { + """The updated status.""" + new_status: NegotiableQuoteStatus! + """ + The previous status. The value will be null for the first history entry in a negotiable quote. + """ + old_status: NegotiableQuoteStatus +} + +""" +Contains a list of status changes that occurred for the negotiable quote. +""" +type NegotiableQuoteHistoryStatusesChange { + """A list of status changes.""" + changes: [NegotiableQuoteHistoryStatusChange]! +} + +"""Contains a comment submitted by a seller or buyer.""" +type NegotiableQuoteHistoryCommentChange { + """A plain text comment submitted by a seller or buyer.""" + comment: String! +} + +"""Contains a new price and the previous price.""" +type NegotiableQuoteHistoryTotalChange { + """The total price as a result of the change.""" + new_price: Money + """The previous total price on the negotiable quote.""" + old_price: Money +} + +"""Contains a new expiration date and the previous date.""" +type NegotiableQuoteHistoryExpirationChange { + """ + The expiration date after the change. The value will be 'null' if not set. + """ + new_expiration: String + """ + The previous expiration date. The value will be 'null' if not previously set. + """ + old_expiration: String +} + +""" +Contains lists of products that have been removed from the catalog and negotiable quote. +""" +type NegotiableQuoteHistoryProductsRemovedChange { + """A list of product IDs the seller removed from the catalog.""" + products_removed_from_catalog: [ID] + """ + A list of products removed from the negotiable quote by either the buyer or the seller. + """ + products_removed_from_quote: [ProductInterface] +} + +"""Contains custom log entries added by third-party extensions.""" +type NegotiableQuoteCustomLogChange { + """The new entry content.""" + new_value: String! + """The previous entry in the custom log.""" + old_value: String + """The title of the custom log entry.""" + title: String! +} + +enum NegotiableQuoteHistoryEntryChangeType { + CREATED + UPDATED + CLOSED + UPDATED_BY_SYSTEM +} + +""" +Contains the `NegotiableQuote` object generated when a buyer requests a negotiable quote. +""" +type RequestNegotiableQuoteOutput { + """Details about the negotiable quote.""" + quote: NegotiableQuote +} + +interface NegotiableQuoteAddressInterface { + """The company's city or town.""" + city: String! + """The company name associated with the shipping/billing address.""" + company: String + """The company's country.""" + country: NegotiableQuoteAddressCountry! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The company's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: NegotiableQuoteAddressRegion + """An array of strings that define the street number and name.""" + street: [String]! + """The customer's telephone number.""" + telephone: String +} + +"""Defines the company's state or province.""" +type NegotiableQuoteAddressRegion { + """The address region code.""" + code: String + """The display name of the region.""" + label: String + """The unique ID for a pre-defined region.""" + region_id: Int +} + +"""Defines the company's country.""" +type NegotiableQuoteAddressCountry { + """The address country code.""" + code: String! + """The display name of the region.""" + label: String! +} + +type NegotiableQuoteShippingAddress implements NegotiableQuoteAddressInterface { + """An array of shipping methods available to the buyer.""" + available_shipping_methods: [AvailableShippingMethod] + """The company's city or town.""" + city: String! + """The company name associated with the shipping/billing address.""" + company: String + """The company's country.""" + country: NegotiableQuoteAddressCountry! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The company's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: NegotiableQuoteAddressRegion + """The selected shipping method.""" + selected_shipping_method: SelectedShippingMethod + """An array of strings that define the street number and name.""" + street: [String]! + """The customer's telephone number.""" + telephone: String +} + +type NegotiableQuoteBillingAddress implements NegotiableQuoteAddressInterface { + """The company's city or town.""" + city: String! + """The company name associated with the shipping/billing address.""" + company: String + """The company's country.""" + country: NegotiableQuoteAddressCountry! + """The first name of the company user.""" + firstname: String! + """The last name of the company user.""" + lastname: String! + """The company's ZIP or postal code.""" + postcode: String + """An object containing the region name, region code, and region ID.""" + region: NegotiableQuoteAddressRegion + """An array of strings that define the street number and name.""" + street: [String]! + """The customer's telephone number.""" + telephone: String +} + +"""A limited view of a Buyer or Seller in the negotiable quote process.""" +type NegotiableQuoteUser { + """The first name of the buyer or seller making a change.""" + firstname: String! + """The buyer's or seller's last name.""" + lastname: String! +} + +interface NegotiableQuoteUidNonFatalResultInterface { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Contains details about a successful operation on a negotiable quote.""" +type NegotiableQuoteUidOperationSuccess implements NegotiableQuoteUidNonFatalResultInterface { + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +""" +An error indicating that an operation was attempted on a negotiable quote in an invalid state. +""" +type NegotiableQuoteInvalidStateError implements ErrorInterface { + """The returned error message.""" + message: String! +} + +"""The note object for quote line item.""" +type ItemNote { + """Timestamp that reflects note creation date.""" + created_at: String + """ID of the user who submitted a note.""" + creator_id: Int + """Type of teh user who submitted a note.""" + creator_type: Int + """The unique ID of a `CartItemInterface` object.""" + negotiable_quote_item_uid: ID + """Note text.""" + note: String + """The unique ID of a `ItemNote` object.""" + note_uid: ID +} + +"""Contains details about a failed close operation on a negotiable quote.""" +type CloseNegotiableQuoteOperationFailure { + """ + An array of errors encountered while attempting close the negotiable quote. + """ + errors: [CloseNegotiableQuoteError]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +input DeleteNegotiableQuotesInput { + """A list of unique IDs for `NegotiableQuote` objects to delete.""" + quote_uids: [ID]! +} + +""" +Contains details about a failed delete operation on a negotiable quote. +""" +type DeleteNegotiableQuoteOperationFailure { + errors: [DeleteNegotiableQuoteError]! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +"""Defines the payment method of the specified negotiable quote.""" +input SetNegotiableQuotePaymentMethodInput { + """The payment method to be assigned to the negotiable quote.""" + payment_method: NegotiableQuotePaymentMethodInput! + """The unique ID of a `NegotiableQuote` object.""" + quote_uid: ID! +} + +""" +Defines an object used to iterate through items for product comparisons. +""" +type ComparableItem { + """An array of product attributes that can be used to compare products.""" + attributes: [ProductAttribute]! + """Details about a product in a compare list.""" + product: ProductInterface! + """The unique ID of an item in a compare list.""" + uid: ID! +} + +"""Contains a product attribute code and value.""" +type ProductAttribute { + """The unique identifier for a product attribute code.""" + code: String! + """The display value of the attribute.""" + value: String! +} + +"""Contains an attribute code that is used for product comparisons.""" +type ComparableAttribute { + """An attribute code that is enabled for product comparisons.""" + code: String! + """The label of the attribute code.""" + label: String! +} + +""" +Contains iterable information such as the array of items, the count, and attributes that represent the compare list. +""" +type CompareList { + """An array of attributes that can be used for comparing products.""" + attributes: [ComparableAttribute] + """The number of items in the compare list.""" + item_count: Int! + """An array of products to compare.""" + items: [ComparableItem] + """The unique ID assigned to the compare list.""" + uid: ID! +} + +"""Contains an array of product IDs to use for creating a compare list.""" +input CreateCompareListInput { + """An array of product IDs to add to the compare list.""" + products: [ID] +} + +"""Contains products to add to an existing compare list.""" +input AddProductsToCompareListInput { + """An array of product IDs to add to the compare list.""" + products: [ID]! + """The unique identifier of the compare list to modify.""" + uid: ID! +} + +"""Defines which products to remove from a compare list.""" +input RemoveProductsFromCompareListInput { + """An array of product IDs to remove from the compare list.""" + products: [ID]! + """The unique identifier of the compare list to modify.""" + uid: ID! +} + +"""Contains the results of the request to delete a compare list.""" +type DeleteCompareListOutput { + """Indicates whether the compare list was successfully deleted.""" + result: Boolean! +} + +"""Contains the results of the request to assign a compare list.""" +type AssignCompareListToCustomerOutput { + """The contents of the customer's compare list.""" + compare_list: CompareList + """ + Indicates whether the compare list was successfully assigned to the customer. + """ + result: Boolean! +} + +""" +Defines basic features of a configurable product and its simple product variants. +""" +type ConfigurableProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of options for the configurable product.""" + configurable_options: [ConfigurableProductOptions] + """ + An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options. + """ + configurable_product_options_selection(configurableOptionValueUids: [ID!]): ConfigurableProductOptionsSelection + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + """An array of simple product variants.""" + variants: [ConfigurableVariant] + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +"""Contains all the simple product variants of a configurable product.""" +type ConfigurableVariant { + """An array of configurable attribute options.""" + attributes: [ConfigurableAttributeOption] + """An array of linked simple products.""" + product: SimpleProduct +} + +"""Contains details about a configurable product attribute option.""" +type ConfigurableAttributeOption { + """The ID assigned to the attribute.""" + code: String + """A string that describes the configurable attribute option.""" + label: String + """The unique ID for a `ConfigurableAttributeOption` object.""" + uid: ID! + """A unique index number assigned to the configurable product option.""" + value_index: Int +} + +"""Defines configurable attributes for the specified product.""" +type ConfigurableProductOptions { + """A string that identifies the attribute.""" + attribute_code: String + """The ID assigned to the attribute.""" + attribute_id: String @deprecated(reason: "Use `attribute_uid` instead.") + """The ID assigned to the attribute.""" + attribute_id_v2: Int @deprecated(reason: "Use `attribute_uid` instead.") + """The unique ID for an `Attribute` object.""" + attribute_uid: ID! + """The configurable option ID number assigned by the system.""" + id: Int @deprecated(reason: "Use `uid` instead.") + """A displayed string that describes the configurable product option.""" + label: String + """A number that indicates the order in which the attribute is displayed.""" + position: Int + """This is the same as a product's `id` field.""" + product_id: Int @deprecated(reason: "`product_id` is not needed and can be obtained from its parent.") + """The unique ID for a `ConfigurableProductOptions` object.""" + uid: ID! + """Indicates whether the option is the default.""" + use_default: Boolean + """ + An array that defines the `value_index` codes assigned to the configurable product. + """ + values: [ConfigurableProductOptionsValues] +} + +"""Contains the index number assigned to a configurable product option.""" +type ConfigurableProductOptionsValues { + """The label of the product on the default store.""" + default_label: String + """The label of the product.""" + label: String + """The label of the product on the current store.""" + store_label: String + """Swatch data for a configurable product option.""" + swatch_data: SwatchDataInterface + """The unique ID for a `ConfigurableProductOptionsValues` object.""" + uid: ID + """Indicates whether to use the default_label.""" + use_default_value: Boolean + """A unique index number assigned to the configurable product option.""" + value_index: Int @deprecated(reason: "Use `uid` instead.") +} + +"""Defines the configurable products to add to the cart.""" +input AddConfigurableProductsToCartInput { + """The ID of the cart.""" + cart_id: String! + """An array of configurable products to add.""" + cart_items: [ConfigurableProductCartItemInput]! +} + +"""Contains details about the cart after adding configurable products.""" +type AddConfigurableProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +input ConfigurableProductCartItemInput { + """The ID and value of the option.""" + customizable_options: [CustomizableOptionInput] + """The quantity and SKU of the configurable product.""" + data: CartItemInput! + """The SKU of the parent configurable product.""" + parent_sku: String + """Deprecated. Use `CartItemInput.sku` instead.""" + variant_sku: String +} + +"""An implementation for configurable product cart items.""" +type ConfigurableCartItem implements CartItemInterface { + """The list of available gift wrapping options for the cart item.""" + available_gift_wrapping: [GiftWrapping]! + """An array containing the configuranle options the shopper selected.""" + configurable_options: [SelectedConfigurableOption]! + """Product details of the cart item.""" + configured_variant: ProductInterface! + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + """The entered gift message for the cart item""" + gift_message: GiftMessage + """The selected gift wrapping for the cart item.""" + gift_wrapping: GiftWrapping + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""Contains details about a selected configurable option.""" +type SelectedConfigurableOption { + """The unique ID for a `ConfigurableProductOptions` object.""" + configurable_product_option_uid: ID! + """The unique ID for a `ConfigurableProductOptionsValues` object.""" + configurable_product_option_value_uid: ID! + id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_uid` instead.") + """The display text for the option.""" + option_label: String! + value_id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_value_uid` instead.") + """The display name of the selected configurable option.""" + value_label: String! +} + +"""A configurable product wish list item.""" +type ConfigurableWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """ + The SKU of the simple product corresponding to a set of selected configurable options. + """ + child_sku: String! @deprecated(reason: "Use `ConfigurableWishlistItem.configured_variant.sku` instead.") + """An array of selected configurable options.""" + configurable_options: [SelectedConfigurableOption] + """ + Product details of the selected variant. The value is null if some options are not configured. + """ + configured_variant: ProductInterface + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Contains metadata corresponding to the selected configurable options.""" +type ConfigurableProductOptionsSelection { + """An array of all possible configurable options.""" + configurable_options: [ConfigurableProductOption] + """ + Product images and videos corresponding to the specified configurable options selection. + """ + media_gallery: [MediaGalleryInterface] + """ + The configurable options available for further selection based on the current selection. + """ + options_available_for_selection: [ConfigurableOptionAvailableForSelection] + """ + A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option. + """ + variant: SimpleProduct +} + +""" +Describes configurable options that have been selected and can be selected as a result of the previous selections. +""" +type ConfigurableOptionAvailableForSelection { + """An attribute code that uniquely identifies a configurable option.""" + attribute_code: String! + """An array of selectable option value IDs.""" + option_value_uids: [ID]! +} + +"""Contains details about configurable product options.""" +type ConfigurableProductOption { + """An attribute code that uniquely identifies a configurable option.""" + attribute_code: String! + """The display name of the option.""" + label: String! + """The unique ID of the configurable option.""" + uid: ID! + """An array of values that are applicable for this option.""" + values: [ConfigurableProductOptionValue] +} + +"""Defines a value for a configurable product option.""" +type ConfigurableProductOptionValue { + """Indicates whether the product is available with this selected option.""" + is_available: Boolean! + """Indicates whether the value is the default.""" + is_use_default: Boolean! + """The display name of the value.""" + label: String! + """The URL assigned to the thumbnail of the swatch image.""" + swatch: SwatchDataInterface + """The unique ID of the value.""" + uid: ID! +} + +"""Defines customer requisition lists.""" +type RequisitionLists { + """An array of requisition lists.""" + items: [RequisitionList] + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The number of returned requisition lists.""" + total_count: Int +} + +"""Defines the contents of a requisition list.""" +type RequisitionList { + """Optional text that describes the requisition list.""" + description: String + """An array of products added to the requisition list.""" + items( + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + """The maximum number of results to return. The default value is 1.""" + pageSize: Int = 20 + ): RequistionListItems + """The number of items in the list.""" + items_count: Int! + """The requisition list name.""" + name: String! + """The unique requisition list ID.""" + uid: ID! + """The time of the last modification of the requisition list.""" + updated_at: String +} + +"""Contains an array of items added to a requisition list.""" +type RequistionListItems { + """An array of items in the requisition list.""" + items: [RequisitionListItemInterface]! + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The number of pages returned.""" + total_pages: Int! +} + +"""The interface for requisition list items.""" +interface RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +"""Contains details about simple products added to a requisition list.""" +type SimpleRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +"""Contains details about virtual products added to a requisition list.""" +type VirtualRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +"""An input object that identifies and describes a new requisition list.""" +input CreateRequisitionListInput { + """An optional description of the requisition list.""" + description: String + """The name assigned to the requisition list.""" + name: String! +} + +""" +An input object that defines which requistion list characteristics to update. +""" +input UpdateRequisitionListInput { + """The updated description of the requisition list.""" + description: String + """The new name of the requisition list.""" + name: String! +} + +"""Output of the request to rename the requisition list.""" +type UpdateRequisitionListOutput { + """The renamed requisition list.""" + requisition_list: RequisitionList +} + +"""Defines which items in a requisition list to update.""" +input UpdateRequisitionListItemsInput { + """An array of customer-entered options.""" + entered_options: [EnteredOptionInput] + """The ID of the requisition list item to update.""" + item_id: ID! + """The new quantity of the item.""" + quantity: Float + """An array of selected option IDs.""" + selected_options: [String] +} + +""" +Output of the request to update items in the specified requisition list. +""" +type UpdateRequisitionListItemsOutput { + """The requisition list after updating items.""" + requisition_list: RequisitionList +} + +""" +Indicates whether the request to delete the requisition list was successful. +""" +type DeleteRequisitionListOutput { + """The customer's requisition lists after deleting a requisition list.""" + requisition_lists: RequisitionLists + """ + Indicates whether the request to delete the requisition list was successful. + """ + status: Boolean! +} + +"""Output of the request to add products to a requisition list.""" +type AddProductsToRequisitionListOutput { + """The requisition list after adding products.""" + requisition_list: RequisitionList +} + +"""Output of the request to remove items from the requisition list.""" +type DeleteRequisitionListItemsOutput { + """The requisition list after removing items.""" + requisition_list: RequisitionList +} + +"""Output of the request to add items in a requisition list to the cart.""" +type AddRequisitionListItemsToCartOutput { + """ + Details about why the attempt to add items to the requistion list was not successful. + """ + add_requisition_list_items_to_cart_user_errors: [AddRequisitionListItemToCartUserError]! + """The cart after adding requisition list items.""" + cart: Cart + """ + Indicates whether the attempt to add items to the requisition list was successful. + """ + status: Boolean! +} + +""" +Contains details about why an attempt to add items to the requistion list failed. +""" +type AddRequisitionListItemToCartUserError { + """A description of the error.""" + message: String! + """The type of error that occurred.""" + type: AddRequisitionListItemToCartUserErrorType! +} + +enum AddRequisitionListItemToCartUserErrorType { + OUT_OF_STOCK + UNAVAILABLE_SKU + OPTIONS_UPDATED + LOW_QUANTITY +} + +""" +An input object that defines the items in a requisition list to be copied. +""" +input CopyItemsBetweenRequisitionListsInput { + """ + An array of IDs representing products copied from one requisition list to another. + """ + requisitionListItemUids: [ID]! +} + +""" +Output of the request to copy items to the destination requisition list. +""" +type CopyItemsFromRequisitionListsOutput { + """The destination requisition list after the items were copied.""" + requisition_list: RequisitionList +} + +""" +An input object that defines the items in a requisition list to be moved. +""" +input MoveItemsBetweenRequisitionListsInput { + """ + An array of IDs representing products moved from one requisition list to another. + """ + requisitionListItemUids: [ID]! +} + +"""Output of the request to move items to another requisition list.""" +type MoveItemsBetweenRequisitionListsOutput { + """The destination requisition list after moving items.""" + destination_requisition_list: RequisitionList + """The source requisition list after moving items.""" + source_requisition_list: RequisitionList +} + +"""Defines requisition list filters.""" +input RequisitionListFilterInput { + """Filter by the display name of the requisition list.""" + name: FilterMatchTypeInput + """Filter requisition lists by one or more requisition list IDs.""" + uids: FilterEqualTypeInput +} + +"""Output of the request to create a requisition list.""" +type CreateRequisitionListOutput { + """The created requisition list.""" + requisition_list: RequisitionList +} + +"""Output of the request to clear the customer cart.""" +type ClearCustomerCartOutput { + """The cart after clearing items.""" + cart: Cart + """Indicates whether cart was cleared.""" + status: Boolean! +} + +"""Defines the items to add.""" +input RequisitionListItemsInput { + """Entered option IDs.""" + entered_options: [EnteredOptionInput] + """For configurable products, the SKU of the parent product.""" + parent_sku: String + """The quantity of the product to add.""" + quantity: Float + """Selected option IDs.""" + selected_options: [String] + """The product SKU.""" + sku: String! +} + +input ContactUsInput { + """The shopper's comment to the merchant.""" + comment: String! + """The email address of the shopper.""" + email: String! + """The full name of the shopper.""" + name: String! + """The shopper's telephone number.""" + telephone: String +} + +"""Contains the status of the request.""" +type ContactUsOutput { + """Indicates whether the request was successful.""" + status: Boolean! +} + +""" +Defines the input required to run the `applyStoreCreditToCart` mutation. +""" +input ApplyStoreCreditToCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! +} + +"""Defines the possible output for the `applyStoreCreditToCart` mutation.""" +type ApplyStoreCreditToCartOutput { + """The contents of the specified shopping cart.""" + cart: Cart! +} + +""" +Defines the input required to run the `removeStoreCreditFromCart` mutation. +""" +input RemoveStoreCreditFromCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! +} + +""" +Defines the possible output for the `removeStoreCreditFromCart` mutation. +""" +type RemoveStoreCreditFromCartOutput { + """The contents of the specified shopping cart.""" + cart: Cart! +} + +"""Contains the applied and current balances.""" +type AppliedStoreCredit { + """The applied store credit balance to the current cart.""" + applied_balance: Money + """The current balance remaining on store credit.""" + current_balance: Money + """ + Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned. + """ + enabled: Boolean +} + +"""Contains store credit information with balance and history.""" +type CustomerStoreCredit { + """ + Contains the customer's store credit balance history. If the history or store credit feature is disabled, then a null value will be returned. + """ + balance_history( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """ + The page of results to return. This value is optional. The default is 1. + """ + currentPage: Int = 1 + ): CustomerStoreCreditHistory + """The current balance of store credit.""" + current_balance: Money + """ + Indicates whether store credits are enabled. If the feature is disabled, then the balance will not be returned. + """ + enabled: Boolean +} + +"""Lists changes to the amount of store credit available to the customer.""" +type CustomerStoreCreditHistory { + """ + An array containing information about changes to the store credit available to the customer. + """ + items: [CustomerStoreCreditHistoryItem] + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo + """The number of items returned.""" + total_count: Int +} + +"""Contains store credit history information.""" +type CustomerStoreCreditHistoryItem { + """The action that was made on the store credit.""" + action: String + """ + The store credit available to the customer as a result of this action. + """ + actual_balance: Money + """ + The amount added to or subtracted from the store credit as a result of this action. + """ + balance_change: Money + """The date and time when the store credit change was made.""" + date_time_changed: String +} + +input AddDownloadableProductsToCartInput { + """The ID of the cart.""" + cart_id: String! + """An array of downloadable products to add.""" + cart_items: [DownloadableProductCartItemInput]! +} + +"""Defines a single downloadable product.""" +input DownloadableProductCartItemInput { + """The ID and value of the option.""" + customizable_options: [CustomizableOptionInput] + """The quantity and SKU of the downloadable product.""" + data: CartItemInput! + """ + An array of objects containing the link_id of the downloadable product link. + """ + downloadable_product_links: [DownloadableProductLinksInput] +} + +"""Contains the link ID for the downloadable product.""" +input DownloadableProductLinksInput { + """The unique ID of the downloadable product link.""" + link_id: Int! +} + +"""Contains details about the cart after adding downloadable products.""" +type AddDownloadableProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""An implementation for downloadable product cart items.""" +type DownloadableCartItem implements CartItemInterface { + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """ + An array containing information about the links for the downloadable product added to the cart. + """ + links: [DownloadableProductLinks] + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """ + An array containing information about samples of the selected downloadable product. + """ + samples: [DownloadableProductSamples] + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""Defines a product that the shopper downloads.""" +type DownloadableProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """ + An array containing information about the links for this downloadable product. + """ + downloadable_product_links: [DownloadableProductLinks] + """ + An array containing information about samples of this downloadable product. + """ + downloadable_product_samples: [DownloadableProductSamples] + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """ + A value of 1 indicates that each link in the array must be purchased separately. + """ + links_purchased_separately: Int + """The heading above the list of downloadable products.""" + links_title: String + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") +} + +enum DownloadableFileTypeEnum { + FILE @deprecated(reason: "`sample_url` serves to get the downloadable sample") + URL @deprecated(reason: "`sample_url` serves to get the downloadable sample") +} + +"""Defines characteristics of a downloadable product.""" +type DownloadableProductLinks { + id: Int @deprecated(reason: "This information should not be exposed on frontend.") + is_shareable: Boolean @deprecated(reason: "This information should not be exposed on frontend.") + link_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") + number_of_downloads: Int @deprecated(reason: "This information should not be exposed on frontend.") + """The price of the downloadable product.""" + price: Float + sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") + sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") + """The full URL to the downloadable sample.""" + sample_url: String + """A number indicating the sort order.""" + sort_order: Int + """The display name of the link.""" + title: String + """The unique ID for a `DownloadableProductLinks` object.""" + uid: ID! +} + +"""Defines characteristics of a downloadable product.""" +type DownloadableProductSamples { + id: Int @deprecated(reason: "This information should not be exposed on frontend.") + sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") + sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") + """The full URL to the downloadable sample.""" + sample_url: String + """A number indicating the sort order.""" + sort_order: Int + """The display name of the sample.""" + title: String +} + +"""Defines downloadable product options for `OrderItemInterface`.""" +type DownloadableOrderItem implements OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + A list of downloadable links that are ordered from the downloadable product. + """ + downloadable_links: [DownloadableItemsLinks] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Defines downloadable product options for `InvoiceItemInterface`.""" +type DownloadableInvoiceItem implements InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """ + A list of downloadable links that are invoiced from the downloadable product. + """ + downloadable_links: [DownloadableItemsLinks] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +"""Defines downloadable product options for `CreditMemoItemInterface`.""" +type DownloadableCreditMemoItem implements CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """ + A list of downloadable links that are refunded from the downloadable product. + """ + downloadable_links: [DownloadableItemsLinks] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +"""Defines characteristics of the links for downloadable product.""" +type DownloadableItemsLinks { + """A number indicating the sort order.""" + sort_order: Int + """The display name of the link.""" + title: String + """The unique ID for a `DownloadableItemsLinks` object.""" + uid: ID! +} + +"""A downloadable product wish list item.""" +type DownloadableWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """An array containing information about the selected links.""" + links_v2: [DownloadableProductLinks] + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! + """An array containing information about the selected samples.""" + samples: [DownloadableProductSamples] +} + +"""Contains the output schema for a company.""" +type Company { + """The list of all resources defined within the company.""" + acl_resources: [CompanyAclResource] + """An object containing information about the company administrator.""" + company_admin: Customer + """Company credit balances and limits.""" + credit: CompanyCredit! + """Details about the history of company credit operations.""" + credit_history(filter: CompanyCreditHistoryFilterInput, pageSize: Int = 20, currentPage: Int = 1): CompanyCreditHistory! + """The email address of the company contact.""" + email: String + """The unique ID of a `Company` object.""" + id: ID! + """The address where the company is registered to conduct business.""" + legal_address: CompanyLegalAddress + """The full legal name of the company.""" + legal_name: String + """The name of the company.""" + name: String + """The list of payment methods available to a company.""" + payment_methods: [String] + """ + The resale number that is assigned to the company for tax reporting purposes. + """ + reseller_id: String + """A company role filtered by the unique ID of a `CompanyRole` object.""" + role(id: ID!): CompanyRole + """An object that contains a list of company roles.""" + roles( + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1""" + currentPage: Int = 1 + ): CompanyRoles! + """ + An object containing information about the company sales representative. + """ + sales_representative: CompanySalesRepresentative + """The company structure of teams and customers in depth-first order.""" + structure( + """ + The ID of the node in the company structure that serves as the root for the query. + """ + rootId: ID + """The maximum depth that can be reached when listing structure nodes.""" + depth: Int = 10 + ): CompanyStructure + """ + The company team data filtered by the unique ID for a `CompanyTeam` object. + """ + team(id: ID!): CompanyTeam + """A company user filtered by the unique ID of a `Customer` object.""" + user(id: ID!): Customer + """ + An object that contains a list of company users based on activity status. + """ + users( + """The type of company users to return.""" + filter: CompanyUsersFilterInput + """ + The maximum number of results to return at once. The default value is 20. + """ + pageSize: Int = 20 + """The page of results to return. The default value is 1.""" + currentPage: Int = 1 + ): CompanyUsers + """ + The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. + """ + vat_tax_id: String +} + +""" +Contains details about the address where the company is registered to conduct business. +""" +type CompanyLegalAddress { + """The city where the company is registered to conduct business.""" + city: String + """The country code of the company's legal address.""" + country_code: CountryCodeEnum + """The company's postal code.""" + postcode: String + """An object containing region data for the company.""" + region: CustomerAddressRegion + """An array of strings that define the company's street address.""" + street: [String] + """The company's phone number.""" + telephone: String +} + +"""Contains details about the company administrator.""" +type CompanyAdmin { + """The email address of the company administrator.""" + email: String + """The company administrator's first name.""" + firstname: String + """ + The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). + """ + gender: Int + """The unique ID for a `CompanyAdmin` object.""" + id: ID! + """The job title of the company administrator.""" + job_title: String + """The company administrator's last name.""" + lastname: String +} + +"""Contains details about a company sales representative.""" +type CompanySalesRepresentative { + """The email address of the company sales representative.""" + email: String + """The company sales representative's first name.""" + firstname: String + """The company sales representative's last name.""" + lastname: String +} + +"""Contains details about company users.""" +type CompanyUsers { + """ + An array of `CompanyUser` objects that match the specified filter criteria. + """ + items: [Customer]! + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The number of objects returned.""" + total_count: Int! +} + +"""Contains an array of roles.""" +type CompanyRoles { + """A list of company roles that match the specified filter criteria.""" + items: [CompanyRole]! + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The total number of objects matching the specified filter.""" + total_count: Int! +} + +"""Contails details about a single role.""" +type CompanyRole { + """The unique ID for a `CompanyRole` object.""" + id: ID! + """The name assigned to the role.""" + name: String + """A list of permission resources defined for a role.""" + permissions: [CompanyAclResource] + """The total number of users assigned the specified role.""" + users_count: Int +} + +"""Contains details about the access control list settings of a resource.""" +type CompanyAclResource { + """An array of sub-resources.""" + children: [CompanyAclResource] + """The unique ID for a `CompanyAclResource` object.""" + id: ID! + """The sort order of an ACL resource.""" + sort_order: Int + """The label assigned to the ACL resource.""" + text: String +} + +"""Contains the response of a role name validation query.""" +type IsCompanyRoleNameAvailableOutput { + """Indicates whether the specified company role name is available.""" + is_role_name_available: Boolean! +} + +"""Contains the response of a company user email validation query.""" +type IsCompanyUserEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a company user. + """ + is_email_available: Boolean! +} + +"""Contains the response of a company admin email validation query.""" +type IsCompanyAdminEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a company administrator. + """ + is_email_available: Boolean! +} + +"""Contains the response of a company email validation query.""" +type IsCompanyEmailAvailableOutput { + """ + Indicates whether the specified email address can be used to create a company. + """ + is_email_available: Boolean! +} + +union CompanyStructureEntity = CompanyTeam | Customer + +""" +Contains an array of the individual nodes that comprise the company structure. +""" +type CompanyStructure { + """An array of elements in a company structure.""" + items: [CompanyStructureItem] +} + +"""Describes a company team.""" +type CompanyTeam { + """An optional description of the team.""" + description: String + """The unique ID for a `CompanyTeam` object.""" + id: ID! + """The display name of the team.""" + name: String + """ID of the company structure""" + structure_id: ID! +} + +"""Defines the filter for returning a list of company users.""" +input CompanyUsersFilterInput { + """The activity status to filter on.""" + status: CompanyUserStatusEnum +} + +"""Defines the list of company user status values.""" +enum CompanyUserStatusEnum { + """Only active users.""" + ACTIVE + """Only inactive users.""" + INACTIVE +} + +"""Contains the response to the request to create a company team.""" +type CreateCompanyTeamOutput { + """The new company team instance.""" + team: CompanyTeam! +} + +"""Contains the response to the request to update a company team.""" +type UpdateCompanyTeamOutput { + """The updated company team instance.""" + team: CompanyTeam! +} + +"""Contains the status of the request to delete a company team.""" +type DeleteCompanyTeamOutput { + """Indicates whether the delete operation succeeded.""" + success: Boolean! +} + +"""Defines the input schema for creating a company team.""" +input CompanyTeamCreateInput { + """An optional description of the team.""" + description: String + """The display name of the team.""" + name: String! + """ + The ID of a node within a company's structure. This ID will be the parent of the created team. + """ + target_id: ID +} + +"""Defines the input schema for updating a company team.""" +input CompanyTeamUpdateInput { + """An optional description of the team.""" + description: String + """The unique ID of the `CompanyTeam` object to update.""" + id: ID! + """The display name of the team.""" + name: String +} + +"""Contains the response to the request to update the company structure.""" +type UpdateCompanyStructureOutput { + """The updated company instance.""" + company: Company! +} + +"""Defines the input schema for updating the company structure.""" +input CompanyStructureUpdateInput { + """The ID of a company that will be the new parent.""" + parent_tree_id: ID! + """The ID of the company team that is being moved to another parent.""" + tree_id: ID! +} + +"""Contains the response to the request to create a company.""" +type CreateCompanyOutput { + """The new company instance.""" + company: Company! +} + +"""Contains the response to the request to update the company.""" +type UpdateCompanyOutput { + """The updated company instance.""" + company: Company! +} + +"""Contains the response to the request to create a company user.""" +type CreateCompanyUserOutput { + """The new company user instance.""" + user: Customer! +} + +"""Contains the response to the request to update the company user.""" +type UpdateCompanyUserOutput { + """The updated company user instance.""" + user: Customer! +} + +"""Contains the response to the request to delete the company user.""" +type DeleteCompanyUserOutput { + """Indicates whether the company user has been deactivated successfully.""" + success: Boolean! +} + +"""Contains the response to the request to create a company role.""" +type CreateCompanyRoleOutput { + """The new company role instance.""" + role: CompanyRole! +} + +"""Contains the response to the request to update the company role.""" +type UpdateCompanyRoleOutput { + """The updated company role instance.""" + role: CompanyRole! +} + +"""Contains the response to the request to delete the company role.""" +type DeleteCompanyRoleOutput { + """SIndicates whether the company role has been deleted successfully.""" + success: Boolean! +} + +"""Defines the input schema for creating a new company.""" +input CompanyCreateInput { + """Defines the company administrator.""" + company_admin: CompanyAdminInput! + """The email address of the company contact.""" + company_email: String! + """The name of the company to create.""" + company_name: String! + """Defines legal address data of the company.""" + legal_address: CompanyLegalAddressCreateInput! + """The full legal name of the company.""" + legal_name: String + """ + The resale number that is assigned to the company for tax reporting purposes. + """ + reseller_id: String + """ + The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. + """ + vat_tax_id: String +} + +"""Defines the input schema for creating a company administrator.""" +input CompanyAdminInput { + """The company administrator's custom attributes.""" + custom_attributes: [AttributeValueInput] + """The email address of the company administrator.""" + email: String! + """The company administrator's first name.""" + firstname: String! + """ + The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). + """ + gender: Int + """The job title of the company administrator.""" + job_title: String + """The company administrator's last name.""" + lastname: String! + """The phone number of the company administrator.""" + telephone: String +} + +"""Defines the input schema for defining a company's legal address.""" +input CompanyLegalAddressCreateInput { + """The city where the company is registered to conduct business.""" + city: String! + """The company's country ID. Use the `countries` query to get this value.""" + country_id: CountryCodeEnum! + """The postal code of the company.""" + postcode: String! + """ + An object containing the region name and/or region ID where the company is registered to conduct business. + """ + region: CustomerAddressRegionInput! + """ + An array of strings that define the street address where the company is registered to conduct business. + """ + street: [String]! + """The primary phone number of the company.""" + telephone: String! +} + +"""Defines the input schema for updating a company.""" +input CompanyUpdateInput { + """The email address of the company contact.""" + company_email: String + """The name of the company to update.""" + company_name: String + """The legal address data of the company.""" + legal_address: CompanyLegalAddressUpdateInput + """The full legal name of the company.""" + legal_name: String + """ + The resale number that is assigned to the company for tax reporting purposes. + """ + reseller_id: String + """ + The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. + """ + vat_tax_id: String +} + +"""Defines the input schema for updating a company's legal address.""" +input CompanyLegalAddressUpdateInput { + """The city where the company is registered to conduct business.""" + city: String + """The unique ID for a `Country` object.""" + country_id: CountryCodeEnum + """The postal code of the company.""" + postcode: String + """ + An object containing the region name and/or region ID where the company is registered to conduct business. + """ + region: CustomerAddressRegionInput + """ + An array of strings that define the street address where the company is registered to conduct business. + """ + street: [String] + """The primary phone number of the company.""" + telephone: String +} + +"""Defines the input schema for creating a company user.""" +input CompanyUserCreateInput { + """The company user's email address""" + email: String! + """The company user's first name.""" + firstname: String! + """The company user's job title or function.""" + job_title: String! + """The company user's last name.""" + lastname: String! + """The unique ID for a `CompanyRole` object.""" + role_id: ID! + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum! + """ + The ID of a node within a company's structure. This ID will be the parent of the created company user. + """ + target_id: ID + """The company user's phone number.""" + telephone: String! +} + +"""Defines the input schema for updating a company user.""" +input CompanyUserUpdateInput { + """The company user's email address.""" + email: String + """The company user's first name.""" + firstname: String + """The unique ID of a `Customer` object.""" + id: ID! + """The company user's job title or function.""" + job_title: String + """The company user's last name.""" + lastname: String + """The unique ID for a `CompanyRole` object.""" + role_id: ID + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum + """The company user's phone number.""" + telephone: String +} + +"""Defines the input schema for creating a company role.""" +input CompanyRoleCreateInput { + """The name of the role to create.""" + name: String! + """A list of resources the role can access.""" + permissions: [String]! +} + +"""Defines the input schema for updating a company role.""" +input CompanyRoleUpdateInput { + """The unique ID for a `CompanyRole` object.""" + id: ID! + """The name of the role to update.""" + name: String + """A list of resources the role can access.""" + permissions: [String] +} + +""" +Defines the input for returning matching companies the customer is assigned to. +""" +input UserCompaniesInput { + """Specifies which page of results to return. The default value is 1.""" + currentPage: Int + """ + Specifies the maximum number of results to return at once. This attribute is optional. + """ + pageSize: Int + """Defines the sorting of the results.""" + sort: [CompaniesSortInput] +} + +"""An object that contains a list of companies customer is assigned to.""" +type UserCompaniesOutput { + """An array of companies customer is assigned to.""" + items: [CompanyBasicInfo]! + """Provides navigation for the query response.""" + page_info: SearchResultPageInfo! +} + +""" +Specifies which field to sort on, and whether to return the results in ascending or descending order. +""" +input CompaniesSortInput { + """The field for sorting the results.""" + field: CompaniesSortFieldEnum! + """Indicates whether to return results in ascending or descending order.""" + order: SortEnum! +} + +"""The fields available for sorting the customer companies.""" +enum CompaniesSortFieldEnum { + """The name of the company.""" + NAME +} + +"""The minimal required information to identify and display the company.""" +type CompanyBasicInfo { + """The unique ID of a `Company` object.""" + id: ID! + """The full legal name of the company.""" + legal_name: String + """The name of the company.""" + name: String +} + +"""Defines the input schema for accepting the company invitation.""" +input CompanyInvitationInput { + """The invitation code.""" + code: String! + """The company role id.""" + role_id: ID + """Company user attributes in the invitation.""" + user: CompanyInvitationUserInput! +} + +"""Company user attributes in the invitation.""" +input CompanyInvitationUserInput { + """The company unique identifier.""" + company_id: ID! + """The customer unique identifier.""" + customer_id: ID! + """The job title of a company user.""" + job_title: String + """Indicates whether the company user is ACTIVE or INACTIVE.""" + status: CompanyUserStatusEnum + """The phone number of the company user.""" + telephone: String +} + +"""The result of accepting the company invitation.""" +type CompanyInvitationOutput { + """Indicates whether the customer was added to the company successfully.""" + success: Boolean +} + +"""Defines an individual node in the company structure.""" +type CompanyStructureItem { + """A union of `CompanyTeam` and `Customer` objects.""" + entity: CompanyStructureEntity + """The unique ID for a `CompanyStructureItem` object.""" + id: ID! + """The ID of the parent item in the company hierarchy.""" + parent_id: ID +} + +"""Contains a single dynamic block.""" +type DynamicBlock { + """The renderable HTML code of the dynamic block.""" + content: ComplexTextValue! + """The unique ID of a `DynamicBlock` object.""" + uid: ID! +} + +"""Contains an array of dynamic blocks.""" +type DynamicBlocks { + """An array containing individual dynamic blocks.""" + items: [DynamicBlock]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo + """The number of returned dynamic blocks.""" + total_count: Int! +} + +""" +Defines the dynamic block filter. The filter can identify the block type, location and IDs to return. +""" +input DynamicBlocksFilterInput { + """The unique ID that identifies the customer's cart""" + cart_id: String + """An array of dynamic block UIDs to filter on.""" + dynamic_block_uids: [ID] + """An array indicating the locations the dynamic block can be placed.""" + locations: [DynamicBlockLocationEnum] + """The unique ID of the product currently viewed""" + product_uid: ID + """A value indicating the type of dynamic block to filter on.""" + type: DynamicBlockTypeEnum! +} + +"""Indicates the selected Dynamic Blocks Rotator inline widget.""" +enum DynamicBlockTypeEnum { + SPECIFIED + CART_PRICE_RULE_RELATED + CATALOG_PRICE_RULE_RELATED +} + +""" +Indicates the locations the dynamic block can be placed. If this field is not specified, the query returns all locations. +""" +enum DynamicBlockLocationEnum { + CONTENT + HEADER + FOOTER + LEFT + RIGHT +} + +type Currency { + """ + An array of three-letter currency codes accepted by the store, such as USD and EUR. + """ + available_currency_codes: [String] + """The base currency set for the store, such as USD.""" + base_currency_code: String + """The symbol for the specified base currency, such as $.""" + base_currency_symbol: String + default_display_currecy_code: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") + default_display_currecy_symbol: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") + """The currency that is displayed by default, such as USD.""" + default_display_currency_code: String + """The currency symbol that is displayed by default, such as $.""" + default_display_currency_symbol: String + """An array of exchange rates for currencies defined in the store.""" + exchange_rates: [ExchangeRate] +} + +"""Lists the exchange rate.""" +type ExchangeRate { + """Specifies the store’s default currency to exchange to.""" + currency_to: String + """The exchange rate for the store’s default currency.""" + rate: Float +} + +type Country { + """An array of regions within a particular country.""" + available_regions: [Region] + """The name of the country in English.""" + full_name_english: String + """The name of the country in the current locale.""" + full_name_locale: String + """The unique ID for a `Country` object.""" + id: String + """The three-letter abbreviation of the country, such as USA.""" + three_letter_abbreviation: String + """The two-letter abbreviation of the country, such as US.""" + two_letter_abbreviation: String +} + +type Region { + """The two-letter code for the region, such as TX for Texas.""" + code: String + """The unique ID for a `Region` object.""" + id: Int + """The name of the region, such as Texas.""" + name: String +} + +"""Contains a list of downloadable products.""" +type CustomerDownloadableProducts { + """An array of purchased downloadable items.""" + items: [CustomerDownloadableProduct] +} + +"""Contains details about a single downloadable product.""" +type CustomerDownloadableProduct { + """The date and time the purchase was made.""" + date: String + """The fully qualified URL to the download file.""" + download_url: String + """The unique ID assigned to the item.""" + order_increment_id: String + """The remaining number of times the customer can download the product.""" + remaining_downloads: String + """ + Indicates when the product becomes available for download. Options are `Pending` and `Invoiced`. + """ + status: String +} + +""" +Contains details about downloadable products added to a requisition list. +""" +type DownloadableRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """An array of links for downloadable products in the requisition list.""" + links: [DownloadableProductLinks] + """Details about a requisition list item.""" + product: ProductInterface! + """The quantity of the product added to the requisition list.""" + quantity: Float! + """An array of links to downloadable product samples.""" + samples: [DownloadableProductSamples] + """The unique ID of an item in a requisition list.""" + uid: ID! +} + +"""Defines the bundle products to add to the cart.""" +input AddBundleProductsToCartInput { + """The ID of the cart.""" + cart_id: String! + """An array of bundle products to add.""" + cart_items: [BundleProductCartItemInput]! +} + +"""Defines a single bundle product.""" +input BundleProductCartItemInput { + """ + A mandatory array of options for the bundle product, including each chosen option and specified quantity. + """ + bundle_options: [BundleOptionInput]! + """The ID and value of the option.""" + customizable_options: [CustomizableOptionInput] + """The quantity and SKU of the bundle product.""" + data: CartItemInput! +} + +"""Defines the input for a bundle option.""" +input BundleOptionInput { + """The ID of the option.""" + id: Int! + """The number of the selected item to add to the cart.""" + quantity: Float! + """An array with the chosen value of the option.""" + value: [String]! +} + +"""Contains details about the cart after adding bundle products.""" +type AddBundleProductsToCartOutput { + """The cart after adding products.""" + cart: Cart! +} + +"""An implementation for bundle product cart items.""" +type BundleCartItem implements CartItemInterface { + """The list of available gift wrapping options for the cart item.""" + available_gift_wrapping: [GiftWrapping]! + """An array containing the bundle options the shopper selected.""" + bundle_options: [SelectedBundleOption]! + """An array containing the customizable options the shopper selected.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + """The entered gift message for the cart item""" + gift_message: GiftMessage + """The selected gift wrapping for the cart item.""" + gift_wrapping: GiftWrapping + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""Contains details about a selected bundle option.""" +type SelectedBundleOption { + id: Int! @deprecated(reason: "Use `uid` instead") + """The display name of the selected bundle product option.""" + label: String! + """The type of selected bundle product option.""" + type: String! + """The unique ID for a `SelectedBundleOption` object""" + uid: ID! + """An array of selected bundle option values.""" + values: [SelectedBundleOptionValue]! +} + +"""Contains details about a value for a selected bundle option.""" +type SelectedBundleOptionValue { + """Use `uid` instead""" + id: Int! + """The display name of the value for the selected bundle product option.""" + label: String! + """The price of the value for the selected bundle product option.""" + price: Float! + """The quantity of the value for the selected bundle product option.""" + quantity: Float! + """The unique ID for a `SelectedBundleOptionValue` object""" + uid: ID! +} + +""" +Can be used to retrieve the main price details in case of bundle product +""" +type PriceDetails { + """The percentage of discount applied to the main product price""" + discount_percentage: Float + """The final price after applying the discount to the main product""" + main_final_price: Float + """The regular price of the main product""" + main_price: Float +} + +"""Defines an individual item within a bundle product.""" +type BundleItem { + """An ID assigned to each type of item in a bundle product.""" + option_id: Int @deprecated(reason: "Use `uid` instead") + """An array of additional options for this bundle item.""" + options: [BundleItemOption] + """ + A number indicating the sequence order of this item compared to the other bundle items. + """ + position: Int + """The range of prices for the product""" + price_range: PriceRange! + """Indicates whether the item must be included in the bundle.""" + required: Boolean + """The SKU of the bundle product.""" + sku: String + """The display name of the item.""" + title: String + """ + The input type that the customer uses to select the item. Examples include radio button and checkbox. + """ + type: String + """The unique ID for a `BundleItem` object.""" + uid: ID +} + +""" +Defines the characteristics that comprise a specific bundle item and its options. +""" +type BundleItemOption { + """ + Indicates whether the customer can change the number of items for this option. + """ + can_change_quantity: Boolean + """The ID assigned to the bundled item option.""" + id: Int @deprecated(reason: "Use `uid` instead") + """Indicates whether this option is the default option.""" + is_default: Boolean + """The text that identifies the bundled item option.""" + label: String + """ + When a bundle item contains multiple options, the relative position of this option compared to the other options. + """ + position: Int + """The price of the selected option.""" + price: Float + """One of FIXED, PERCENT, or DYNAMIC.""" + price_type: PriceTypeEnum + """Contains details about this product option.""" + product: ProductInterface + """Indicates the quantity of this specific bundle item.""" + qty: Float @deprecated(reason: "Use `quantity` instead.") + """The quantity of this specific bundle item.""" + quantity: Float + """The unique ID for a `BundleItemOption` object.""" + uid: ID! +} + +""" +Defines basic features of a bundle product and contains multiple BundleItems. +""" +type BundleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether the bundle product has a dynamic price.""" + dynamic_price: Boolean + """Indicates whether the bundle product has a dynamic SKU.""" + dynamic_sku: Boolean + """ + Indicates whether the bundle product has a dynamically calculated weight. + """ + dynamic_weight: Boolean + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """An array containing information about individual bundle items.""" + items: [BundleItem] + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The price details of the main product""" + price_details: PriceDetails + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """One of PRICE_RANGE or AS_LOW_AS.""" + price_view: PriceViewEnum + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """Indicates whether to ship bundle items together or individually.""" + ship_bundle_items: ShipBundleItemsEnum + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +""" +Defines whether a bundle product's price is displayed as the lowest possible value or as a range. +""" +enum PriceViewEnum { + PRICE_RANGE + AS_LOW_AS +} + +"""Defines whether bundle items must be shipped together.""" +enum ShipBundleItemsEnum { + TOGETHER + SEPARATELY +} + +"""Defines bundle product options for `OrderItemInterface`.""" +type BundleOrderItem implements OrderItemInterface { + """A list of bundle options that are assigned to the bundle product.""" + bundle_options: [ItemSelectedBundleOption] + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Defines bundle product options for `InvoiceItemInterface`.""" +type BundleInvoiceItem implements InvoiceItemInterface { + """ + A list of bundle options that are assigned to an invoiced bundle product. + """ + bundle_options: [ItemSelectedBundleOption] + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +"""Defines bundle product options for `ShipmentItemInterface`.""" +type BundleShipmentItem implements ShipmentItemInterface { + """A list of bundle options that are assigned to a shipped product.""" + bundle_options: [ItemSelectedBundleOption] + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +"""Defines bundle product options for `CreditMemoItemInterface`.""" +type BundleCreditMemoItem implements CreditMemoItemInterface { + """ + A list of bundle options that are assigned to a bundle product that is part of a credit memo. + """ + bundle_options: [ItemSelectedBundleOption] + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +"""A list of options of the selected bundle product.""" +type ItemSelectedBundleOption { + """The unique ID for a `ItemSelectedBundleOption` object.""" + id: ID! @deprecated(reason: "Use `uid` instead.") + """The label of the option.""" + label: String! + """The unique ID for a `ItemSelectedBundleOption` object.""" + uid: ID! + """A list of products that represent the values of the parent option.""" + values: [ItemSelectedBundleOptionValue] +} + +"""A list of values for the selected bundle product.""" +type ItemSelectedBundleOptionValue { + """The unique ID for a `ItemSelectedBundleOptionValue` object.""" + id: ID! @deprecated(reason: "Use `uid` instead.") + """The price of the child bundle product.""" + price: Money! + """The name of the child bundle product.""" + product_name: String! + """The SKU of the child bundle product.""" + product_sku: String! + """The number of this bundle product that were ordered.""" + quantity: Float! + """The unique ID for a `ItemSelectedBundleOptionValue` object.""" + uid: ID! +} + +"""Defines bundle product options for `WishlistItemInterface`.""" +type BundleWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """An array containing information about the selected bundle items.""" + bundle_options: [SelectedBundleOption] + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +type ProductAttributeMetadata implements AttributeMetadataInterface { + """An array of attribute labels defined for the current store.""" + attribute_labels: [StoreLabels] + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: String + """The data type of the attribute.""" + data_type: ObjectDataTypeEnum + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum + """Indicates whether the attribute is a system attribute.""" + is_system: Boolean + """The label assigned to the attribute.""" + label: String + """The relative position of the attribute.""" + sort_order: Int + """Frontend UI properties of the attribute.""" + ui_input: UiInputTypeInterface + """The unique ID of an attribute.""" + uid: ID + """Places in the store front where the attribute is used.""" + used_in_components: [CustomAttributesListsEnum] +} + +enum CustomAttributesListsEnum { + PRODUCT_DETAILS_PAGE + PRODUCTS_LISTING + PRODUCTS_COMPARE + PRODUCT_SORT + PRODUCT_FILTER + PRODUCT_SEARCH_RESULTS_FILTER + ADVANCED_CATALOG_SEARCH +} + +"""Defines the input required to run the `applyGiftCardToCart` mutation.""" +input ApplyGiftCardToCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! + """The gift card code to be applied to the cart.""" + gift_card_code: String! +} + +"""Defines the possible output for the `applyGiftCardToCart` mutation.""" +type ApplyGiftCardToCartOutput { + """Describes the contents of the specified shopping cart.""" + cart: Cart! +} + +""" +Defines the input required to run the `removeGiftCardFromCart` mutation. +""" +input RemoveGiftCardFromCartInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! + """The gift card code to be removed to the cart.""" + gift_card_code: String! +} + +"""Defines the possible output for the `removeGiftCardFromCart` mutation.""" +type RemoveGiftCardFromCartOutput { + """The contents of the specified shopping cart.""" + cart: Cart! +} + +"""Contains an applied gift card with applied and remaining balance.""" +type AppliedGiftCard { + """The amount applied to the current cart.""" + applied_balance: Money + """The gift card account code.""" + code: String + """The remaining balance on the gift card.""" + current_balance: Money + """The expiration date of the gift card.""" + expiration_date: String +} + +"""Contains the gift card code.""" +input GiftCardAccountInput { + """The applied gift card code.""" + gift_card_code: String! +} + +"""Contains details about the gift card account.""" +type GiftCardAccount { + """The balance remaining on the gift card.""" + balance: Money + """The gift card account code.""" + code: String + """The expiration date of the gift card.""" + expiration_date: String +} + +""" +Contains details about the sales total amounts used to calculate the final price. +""" +type OrderTotal { + """The final base grand total amount in the base currency.""" + base_grand_total: Money! + """The applied discounts to the order.""" + discounts: [Discount] + """The final total amount, including shipping, discounts, and taxes.""" + grand_total: Money! + """Details about the shipping and handling costs for the order.""" + shipping_handling: ShippingHandling + """The subtotal of the order, excluding shipping, discounts, and taxes.""" + subtotal: Money! + """The order tax details.""" + taxes: [TaxItem] + """The gift card balance applied to the order.""" + total_giftcard: Money + """The shipping amount for the order.""" + total_shipping: Money! + """The amount of tax applied to the order.""" + total_tax: Money! +} + +"""Deprecated: Use the `Wishlist` type instead.""" +type WishlistOutput { + """An array of items in the customer's wish list""" + items: [WishlistItem] @deprecated(reason: "Use the `Wishlist.items` field instead.") + """The number of items in the wish list.""" + items_count: Int @deprecated(reason: "Use the `Wishlist.items_count` field instead.") + """ + When multiple wish lists are enabled, the name the customer assigns to the wishlist. + """ + name: String @deprecated(reason: "This field is related to Commerce functionality and is always `null` in Open Source.") + """An encrypted code that links to the wish list.""" + sharing_code: String @deprecated(reason: "Use the `Wishlist.sharing_code` field instead.") + """The time of the last modification to the wish list.""" + updated_at: String @deprecated(reason: "Use the `Wishlist.updated_at` field instead.") +} + +"""Contains a customer wish list.""" +type Wishlist { + """The unique ID for a `Wishlist` object.""" + id: ID + items: [WishlistItem] @deprecated(reason: "Use the `items_v2` field instead.") + """The number of items in the wish list.""" + items_count: Int + """An array of items in the customer's wish list.""" + items_v2(currentPage: Int = 1, pageSize: Int = 20): WishlistItems + """The name of the wish list.""" + name: String + """An encrypted code that Magento uses to link to the wish list.""" + sharing_code: String + """The time of the last modification to the wish list.""" + updated_at: String + """Indicates whether the wish list is public or private.""" + visibility: WishlistVisibilityEnum! +} + +"""The interface for wish list items.""" +interface WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +"""Contains an array of items in a wish list.""" +type WishlistItems { + """A list of items in the wish list.""" + items: [WishlistItemInterface]! + """Contains pagination metadata.""" + page_info: SearchResultPageInfo +} + +"""Contains details about a wish list item.""" +type WishlistItem { + """The time when the customer added the item to the wish list.""" + added_at: String + """The customer's comment about this item.""" + description: String + """The unique ID for a `WishlistItem` object.""" + id: Int + """Details about the wish list item.""" + product: ProductInterface + """The quantity of this wish list item""" + qty: Float +} + +"""Contains the resultant wish list and any error information.""" +type AddWishlistItemsToCartOutput { + """ + An array of errors encountered while adding products to the customer's cart. + """ + add_wishlist_items_to_cart_user_errors: [WishlistCartUserInputError]! + """ + Indicates whether the attempt to add items to the customer's cart was successful. + """ + status: Boolean! + """Contains the wish list with all items that were successfully added.""" + wishlist: Wishlist! +} + +""" +Contains details about errors encountered when a customer added wish list items to the cart. +""" +type WishlistCartUserInputError { + """An error code that describes the error encountered.""" + code: WishlistCartUserInputErrorType! + """A localized error message.""" + message: String! + """The unique ID of the `Wishlist` object containing an error.""" + wishlistId: ID! + """The unique ID of the wish list item containing an error.""" + wishlistItemId: ID! +} + +"""A list of possible error types.""" +enum WishlistCartUserInputErrorType { + PRODUCT_NOT_FOUND + NOT_SALABLE + INSUFFICIENT_STOCK + UNDEFINED +} + +"""Defines the items to add to a wish list.""" +input WishlistItemInput { + """An array of options that the customer entered.""" + entered_options: [EnteredOptionInput] + """For complex product types, the SKU of the parent product.""" + parent_sku: String + """The amount or number of items to add.""" + quantity: Float! + """An array of strings corresponding to options the customer selected.""" + selected_options: [ID] + """ + The SKU of the product to add. For complex product types, specify the child product SKU. + """ + sku: String! +} + +"""Contains the customer's wish list and any errors encountered.""" +type AddProductsToWishlistOutput { + """An array of errors encountered while adding products to a wish list.""" + user_errors: [WishListUserInputError]! + """Contains the wish list with all items that were successfully added.""" + wishlist: Wishlist! +} + +"""Contains the customer's wish list and any errors encountered.""" +type RemoveProductsFromWishlistOutput { + """ + An array of errors encountered while deleting products from a wish list. + """ + user_errors: [WishListUserInputError]! + """Contains the wish list with after items were successfully deleted.""" + wishlist: Wishlist! +} + +"""Defines updates to items in a wish list.""" +input WishlistItemUpdateInput { + """Customer-entered comments about the item.""" + description: String + """An array of options that the customer entered.""" + entered_options: [EnteredOptionInput] + """The new amount or number of this item.""" + quantity: Float + """An array of strings corresponding to options the customer selected.""" + selected_options: [ID] + """The unique ID for a `WishlistItemInterface` object.""" + wishlist_item_id: ID! +} + +"""Contains the customer's wish list and any errors encountered.""" +type UpdateProductsInWishlistOutput { + """An array of errors encountered while updating products in a wish list.""" + user_errors: [WishListUserInputError]! + """Contains the wish list with all items that were successfully updated.""" + wishlist: Wishlist! +} + +"""An error encountered while performing operations with WishList.""" +type WishListUserInputError { + """A wish list-specific error code.""" + code: WishListUserInputErrorType! + """A localized error message.""" + message: String! +} + +"""A list of possible error types.""" +enum WishListUserInputErrorType { + PRODUCT_NOT_FOUND + UNDEFINED +} + +"""Defines properties of a gift card.""" +type GiftCardProduct implements ProductInterface & PhysicalProductInterface & CustomizableProductInterface & RoutableInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """ + Indicates whether the customer can provide a message to accompany the gift card. + """ + allow_message: Boolean + """ + Indicates whether shoppers have the ability to set the value of the gift card. + """ + allow_open_amount: Boolean + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of customizable gift card options.""" + gift_card_options: [CustomizableOptionInterface]! + """Indicates whether a gift message is available.""" + gift_message_available: String + """ + An array that contains information about the values and ID of a gift card. + """ + giftcard_amounts: [GiftCardAmounts] + """An enumeration that specifies the type of gift card.""" + giftcard_type: GiftCardTypeEnum + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """ + Indicates whether the customer can redeem the value on the card for cash. + """ + is_redeemable: Boolean + """Indicates whether the product can be returned.""" + is_returnable: String + """ + The number of days after purchase until the gift card expires. A null value means there is no limit. + """ + lifetime: Int + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """The maximum number of characters the gift message can contain.""" + message_max_length: Int + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """The maximum acceptable value of an open amount gift card.""" + open_amount_max: Float + """The minimum acceptable value of an open amount gift card.""" + open_amount_min: Float + """An array of options for a customizable product.""" + options: [CustomizableOptionInterface] + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +""" +Contains the value of a gift card, the website that generated the card, and related information. +""" +type GiftCardAmounts { + """An internal attribute ID.""" + attribute_id: Int + """The unique ID for a `GiftCardAmounts` object.""" + uid: ID! + """The value of the gift card.""" + value: Float + """An ID that is assigned to each unique gift card amount.""" + value_id: Int @deprecated(reason: "Use `uid` instead") + """The ID of the website that generated the gift card.""" + website_id: Int + """The value of the gift card.""" + website_value: Float +} + +"""Specifies the gift card type.""" +enum GiftCardTypeEnum { + VIRTUAL + PHYSICAL + COMBINED +} + +type GiftCardOrderItem implements OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """Selected gift card properties for an order item.""" + gift_card: GiftCardItem + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +type GiftCardInvoiceItem implements InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """Selected gift card properties for an invoice item.""" + gift_card: GiftCardItem + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +type GiftCardCreditMemoItem implements CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """Selected gift card properties for a credit memo item.""" + gift_card: GiftCardItem + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +type GiftCardShipmentItem implements ShipmentItemInterface { + """Selected gift card properties for a shipment item.""" + gift_card: GiftCardItem + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +"""Contains details about a gift card.""" +type GiftCardItem { + """The message from the sender to the recipient.""" + message: String + """The email address of the receiver of a virtual gift card.""" + recipient_email: String + """The name of the receiver of a physical or virtual gift card.""" + recipient_name: String + """The email address of the sender of a virtual gift card.""" + sender_email: String + """The name of the sender of a physical or virtual gift card.""" + sender_name: String +} + +"""Contains details about a gift card that has been added to a cart.""" +type GiftCardCartItem implements CartItemInterface { + """The amount and currency of the gift card.""" + amount: Money! + """An array of customizations applied to the gift card.""" + customizable_options: [SelectedCustomizableOption]! + """Contains discount for quote line item.""" + discount: [Discount] + """An array of errors encountered while loading the cart item""" + errors: [CartItemError] + id: String! @deprecated(reason: "Use `uid` instead.") + """ + True if requested quantity is less than available stock, false otherwise. + """ + is_available: Boolean! + """Line item max qty in quote template""" + max_qty: Float + """The message from the sender to the recipient.""" + message: String + """Line item min qty in quote template""" + min_qty: Float + """The buyer's quote line item note.""" + note_from_buyer: [ItemNote] + """The seller's quote line item note.""" + note_from_seller: [ItemNote] + """ + Contains details about the price of the item, including taxes and discounts. + """ + prices: CartItemPrices + """Details about an item in the cart.""" + product: ProductInterface! + """The quantity of this item in the cart.""" + quantity: Float! + """The email address of the person receiving the gift card.""" + recipient_email: String + """The name of the person receiving the gift card.""" + recipient_name: String! + """The email address of the sender.""" + sender_email: String + """The name of the sender.""" + sender_name: String! + """The unique ID for a `CartItemInterface` object.""" + uid: ID! +} + +"""A single gift card added to a wish list.""" +type GiftCardWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """Details about a gift card.""" + gift_card_options: GiftCardOptions! + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +""" +Contains details about the sender, recipient, and amount of a gift card. +""" +type GiftCardOptions { + """The amount and currency of the gift card.""" + amount: Money + """The custom amount and currency of the gift card.""" + custom_giftcard_amount: Money + """A message to the recipient.""" + message: String + """The email address of the person receiving the gift card.""" + recipient_email: String + """The name of the person receiving the gift card.""" + recipient_name: String + """The email address of the person sending the gift card.""" + sender_email: String + """The name of the person sending the gift card.""" + sender_name: String +} + +"""Contains the text of a gift message, its sender, and recipient""" +type GiftMessage { + """Sender name""" + from: String! + """Gift message text""" + message: String! + """Recipient name""" + to: String! +} + +"""Defines a gift message.""" +input GiftMessageInput { + """The name of the sender.""" + from: String! + """The text of the gift message.""" + message: String! + """The name of the recepient.""" + to: String! +} + +type SalesItemInterface { + """The entered gift message for the order item""" + gift_message: GiftMessage +} + +"""Contains details about each of the customer's orders.""" +type CustomerOrder { + """Coupons applied to the order.""" + applied_coupons: [AppliedCoupon]! + """The billing address for the order.""" + billing_address: OrderAddress + """The shipping carrier for the order delivery.""" + carrier: String + """Comments about the order.""" + comments: [SalesCommentItem] + created_at: String @deprecated(reason: "Use the `order_date` field instead.") + """A list of credit memos.""" + credit_memos: [CreditMemo] + """Order customer email.""" + email: String + """The entered gift message for the order""" + gift_message: GiftMessage + """Indicates whether the customer requested a gift receipt for the order.""" + gift_receipt_included: Boolean! + """The selected gift wrapping for the order.""" + gift_wrapping: GiftWrapping + grand_total: Float @deprecated(reason: "Use the `totals.grand_total` field instead.") + """The unique ID for a `CustomerOrder` object.""" + id: ID! + increment_id: String @deprecated(reason: "Use the `id` field instead.") + """A list of invoices for the order.""" + invoices: [Invoice]! + """An array containing the items purchased in this order.""" + items: [OrderItemInterface] + """A list of order items eligible to be in a return request.""" + items_eligible_for_return: [OrderItemInterface] + """The order number.""" + number: String! + """The date the order was placed.""" + order_date: String! + order_number: String! @deprecated(reason: "Use the `number` field instead.") + """Payment details for the order.""" + payment_methods: [OrderPaymentMethod] + """Indicates whether the customer requested a printed card for the order.""" + printed_card_included: Boolean! + """Return requests associated with this order.""" + returns( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): Returns + """A list of shipments for the order.""" + shipments: [OrderShipment] + """The shipping address for the order.""" + shipping_address: OrderAddress + """The delivery method for the order.""" + shipping_method: String + """The current state of the order.""" + state: String! + """The current status of the order.""" + status: String! + """The token that can be used to retrieve the order using order query.""" + token: String! + """Details about the calculated totals for this order.""" + total: OrderTotal +} + +"""Order item details.""" +interface OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Contains the results of a gift registry search.""" +type GiftRegistrySearchResult { + """The date of the event.""" + event_date: String + """The title given to the event.""" + event_title: String! + """The URL key of the gift registry.""" + gift_registry_uid: ID! + """The location of the event.""" + location: String + """The name of the gift registry owner.""" + name: String! + """The type of event being held.""" + type: String +} + +"""Defines a dynamic attribute.""" +input GiftRegistryDynamicAttributeInput { + """A unique key for an additional attribute of the event.""" + code: ID! + """A string that describes a dynamic attribute.""" + value: String! +} + +"""Defines the sender of an invitation to view a gift registry.""" +input ShareGiftRegistrySenderInput { + """A brief message from the sender.""" + message: String! + """The sender of the gift registry invitation.""" + name: String! +} + +"""Defines a gift registry invitee.""" +input ShareGiftRegistryInviteeInput { + """The email address of the gift registry invitee.""" + email: String! + """The name of the gift registry invitee.""" + name: String! +} + +"""Defines an item to add to the gift registry.""" +input AddGiftRegistryItemInput { + """An array of options the customer has entered.""" + entered_options: [EnteredOptionInput] + """A brief note about the item.""" + note: String + """For complex product types, the SKU of the parent product.""" + parent_sku: String + """The quantity of the product to add.""" + quantity: Float! + """ + An array of strings corresponding to options the customer has selected. + """ + selected_options: [String] + """The SKU of the product to add to the gift registry.""" + sku: String! +} + +"""Defines a new gift registry.""" +input CreateGiftRegistryInput { + """Additional attributes specified as a code-value pair.""" + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The name of the event.""" + event_name: String! + """The ID of the selected event type.""" + gift_registry_type_uid: ID! + """A message describing the event.""" + message: String! + """Indicates whether the registry is PRIVATE or PUBLIC.""" + privacy_settings: GiftRegistryPrivacySettings! + """The list of people who receive notifications about the registry.""" + registrants: [AddGiftRegistryRegistrantInput]! + """The shipping address for all gift registry items.""" + shipping_address: GiftRegistryShippingAddressInput + """Indicates whether the registry is ACTIVE or INACTIVE.""" + status: GiftRegistryStatus! +} + +"""Defines updates to an item in a gift registry.""" +input UpdateGiftRegistryItemInput { + """The unique ID of a `giftRegistryItem` object.""" + gift_registry_item_uid: ID! + """The updated description of the item.""" + note: String + """The updated quantity of the gift registry item.""" + quantity: Float! +} + +"""Defines updates to a `GiftRegistry` object.""" +input UpdateGiftRegistryInput { + """ + Additional attributes specified as a code-value pair. Unspecified dynamic attributes are not changed. + """ + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The updated name of the event.""" + event_name: String + """The updated message describing the event.""" + message: String + """Indicates whether the gift registry is PRIVATE or PUBLIC.""" + privacy_settings: GiftRegistryPrivacySettings + """The updated shipping address for all gift registry items.""" + shipping_address: GiftRegistryShippingAddressInput + """Indicates whether the gift registry is ACTIVE or INACTIVE.""" + status: GiftRegistryStatus +} + +"""Defines a new registrant.""" +input AddGiftRegistryRegistrantInput { + """Additional attributes specified as a code-value pair.""" + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The email address of the registrant.""" + email: String! + """The first name of the registrant.""" + firstname: String! + """The last name of the registrant.""" + lastname: String! +} + +""" +Defines a shipping address for a gift registry. Specify either `address_data` or the `address_id`. If both are provided, validation will fail. +""" +input GiftRegistryShippingAddressInput { + """Defines the shipping address for this gift registry.""" + address_data: CustomerAddressInput + """The ID assigned to this customer address.""" + address_id: ID +} + +"""Defines updates to an existing registrant.""" +input UpdateGiftRegistryRegistrantInput { + """ + As a result of the update, only the values of provided attributes will be affected. If the attribute is missing in the request, its value will not be changed. + """ + dynamic_attributes: [GiftRegistryDynamicAttributeInput] + """The updated email address of the registrant.""" + email: String + """The updated first name of the registrant.""" + firstname: String + """The unique ID of a `giftRegistryRegistrant` object.""" + gift_registry_registrant_uid: ID! + """The updated last name of the registrant.""" + lastname: String +} + +"""Contains the customer's gift registry.""" +interface GiftRegistryOutputInterface { + """The gift registry.""" + gift_registry: GiftRegistry +} + +"""Contains details about the gift registry.""" +type GiftRegistryOutput implements GiftRegistryOutputInterface { + """The gift registry.""" + gift_registry: GiftRegistry +} + +""" +Contains the status and any errors that encountered with the customer's gift register item. +""" +interface GiftRegistryItemUserErrorInterface { + """ + Indicates whether the attempt to move the cart items to the gift registry was successful. + """ + status: Boolean! + """ + An array of errors encountered while moving items from the cart to the gift registry. + """ + user_errors: [GiftRegistryItemsUserError]! +} + +"""Contains error information.""" +type GiftRegistryItemUserErrors implements GiftRegistryItemUserErrorInterface { + """ + Indicates whether the attempt to move the cart items to the gift registry was successful. + """ + status: Boolean! + """ + An array of errors encountered while moving items from the cart to the gift registry. + """ + user_errors: [GiftRegistryItemsUserError]! +} + +""" +Contains details about an error that occurred when processing a gift registry item. +""" +type GiftRegistryItemsUserError { + """An error code that describes the error encountered.""" + code: GiftRegistryItemsUserErrorType! + """The unique ID of the gift registry item containing an error.""" + gift_registry_item_uid: ID + """The unique ID of the `GiftRegistry` object containing an error.""" + gift_registry_uid: ID + """A localized error message.""" + message: String! + """The unique ID of the product containing an error.""" + product_uid: ID +} + +"""Defines the error type.""" +enum GiftRegistryItemsUserErrorType { + """Used for handling out of stock products.""" + OUT_OF_STOCK + """Used for exceptions like EntityNotFound.""" + NOT_FOUND + """Used for other exceptions, such as database connection failures.""" + UNDEFINED +} + +"""Contains the customer's gift registry and any errors encountered.""" +type MoveCartItemsToGiftRegistryOutput implements GiftRegistryOutputInterface & GiftRegistryItemUserErrorInterface { + """The gift registry.""" + gift_registry: GiftRegistry + """ + Indicates whether the attempt to move the cart items to the gift registry was successful. + """ + status: Boolean! + """ + An array of errors encountered while moving items from the cart to the gift registry. + """ + user_errors: [GiftRegistryItemsUserError]! +} + +"""Contains the results of a request to delete a gift registry.""" +type RemoveGiftRegistryOutput { + """Indicates whether the gift registry was successfully deleted.""" + success: Boolean! +} + +""" +Contains the results of a request to remove an item from a gift registry. +""" +type RemoveGiftRegistryItemsOutput { + """The gift registry after removing items.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to update gift registry items.""" +type UpdateGiftRegistryItemsOutput { + """The gift registry after updating updating items.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to share a gift registry.""" +type ShareGiftRegistryOutput { + """Indicates whether the gift registry was successfully shared.""" + is_shared: Boolean! +} + +"""Contains the results of a request to create a gift registry.""" +type CreateGiftRegistryOutput { + """The newly-created gift registry.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to update a gift registry.""" +type UpdateGiftRegistryOutput { + """The updated gift registry.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to add registrants.""" +type AddGiftRegistryRegistrantsOutput { + """The gift registry after adding registrants.""" + gift_registry: GiftRegistry +} + +"""Contains the results a request to update registrants.""" +type UpdateGiftRegistryRegistrantsOutput { + """The gift registry after updating registrants.""" + gift_registry: GiftRegistry +} + +"""Contains the results of a request to delete a registrant.""" +type RemoveGiftRegistryRegistrantsOutput { + """The gift registry after deleting registrants.""" + gift_registry: GiftRegistry +} + +"""Contains details about a gift registry.""" +type GiftRegistry { + """ + The date on which the gift registry was created. Only the registry owner can access this attribute. + """ + created_at: String! + """ + An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. + """ + dynamic_attributes: [GiftRegistryDynamicAttribute] + """The name of the event.""" + event_name: String! + """An array of products added to the gift registry.""" + items: [GiftRegistryItemInterface] + """The message text the customer entered to describe the event.""" + message: String! + """The customer who created the gift registry.""" + owner_name: String! + """ + An enum that states whether the gift registry is PRIVATE or PUBLIC. Only the registry owner can access this attribute. + """ + privacy_settings: GiftRegistryPrivacySettings! + """Contains details about each registrant for the event.""" + registrants: [GiftRegistryRegistrant] + """ + Contains the customer's shipping address. Only the registry owner can access this attribute. + """ + shipping_address: CustomerAddress + """ + An enum that states whether the gift registry is ACTIVE or INACTIVE. Only the registry owner can access this attribute. + """ + status: GiftRegistryStatus! + """The type of gift registry.""" + type: GiftRegistryType + """The unique ID assigned to the gift registry.""" + uid: ID! +} + +"""Contains details about a gift registry type.""" +type GiftRegistryType { + """ + An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. + """ + dynamic_attributes_metadata: [GiftRegistryDynamicAttributeMetadataInterface] + """The label assigned to the gift registry type on the Admin.""" + label: String! + """The unique ID assigned to the gift registry type.""" + uid: ID! +} + +interface GiftRegistryDynamicAttributeMetadataInterface { + """Indicates which group the dynamic attribute a member of.""" + attribute_group: String! + """The internal ID of the dynamic attribute.""" + code: ID! + """ + The selected input type for this dynamic attribute. The value can be one of several static or custom types. + """ + input_type: String! + """Indicates whether the dynamic attribute is required.""" + is_required: Boolean! + """The display name of the dynamic attribute.""" + label: String! + """The order in which to display the dynamic attribute.""" + sort_order: Int +} + +type GiftRegistryDynamicAttributeMetadata implements GiftRegistryDynamicAttributeMetadataInterface { + """Indicates which group the dynamic attribute a member of.""" + attribute_group: String! + """The internal ID of the dynamic attribute.""" + code: ID! + """ + The selected input type for this dynamic attribute. The value can be one of several static or custom types. + """ + input_type: String! + """Indicates whether the dynamic attribute is required.""" + is_required: Boolean! + """The display name of the dynamic attribute.""" + label: String! + """The order in which to display the dynamic attribute.""" + sort_order: Int +} + +"""Defines the status of the gift registry.""" +enum GiftRegistryStatus { + ACTIVE + INACTIVE +} + +"""Defines the privacy setting of the gift registry.""" +enum GiftRegistryPrivacySettings { + PRIVATE + PUBLIC +} + +"""Contains details about a registrant.""" +type GiftRegistryRegistrant { + """An array of dynamic attributes assigned to the registrant.""" + dynamic_attributes: [GiftRegistryRegistrantDynamicAttribute] + """ + The email address of the registrant. Only the registry owner can access this attribute. + """ + email: String! + """The first name of the registrant.""" + firstname: String! + """The last name of the registrant.""" + lastname: String! + """The unique ID assigned to the registrant.""" + uid: ID! +} + +interface GiftRegistryDynamicAttributeInterface { + """The internal ID of the dynamic attribute.""" + code: ID! + """The display name of the dynamic attribute.""" + label: String! + """A corresponding value for the code.""" + value: String! +} + +type GiftRegistryRegistrantDynamicAttribute implements GiftRegistryDynamicAttributeInterface { + """The internal ID of the dynamic attribute.""" + code: ID! + """The display name of the dynamic attribute.""" + label: String! + """A corresponding value for the code.""" + value: String! +} + +type GiftRegistryDynamicAttribute implements GiftRegistryDynamicAttributeInterface { + """The internal ID of the dynamic attribute.""" + code: ID! + """Indicates which group the dynamic attribute is a member of.""" + group: GiftRegistryDynamicAttributeGroup! + """The display name of the dynamic attribute.""" + label: String! + """A corresponding value for the code.""" + value: String! +} + +"""Defines the group type of a gift registry dynamic attribute.""" +enum GiftRegistryDynamicAttributeGroup { + EVENT_INFORMATION + PRIVACY_SETTINGS + REGISTRANT + GENERAL_INFORMATION + DETAILED_INFORMATION + SHIPPING_ADDRESS +} + +interface GiftRegistryItemInterface { + """The date the product was added to the gift registry.""" + created_at: String! + """A brief message about the gift registry item.""" + note: String + """Details about the gift registry item.""" + product: ProductInterface + """The requested quantity of the product.""" + quantity: Float! + """The fulfilled quantity of the product.""" + quantity_fulfilled: Float! + """The unique ID of a gift registry item.""" + uid: ID! +} + +type GiftRegistryItem implements GiftRegistryItemInterface { + """The date the product was added to the gift registry.""" + created_at: String! + """A brief message about the gift registry item.""" + note: String + """Details about the gift registry item.""" + product: ProductInterface + """The requested quantity of the product.""" + quantity: Float! + """The fulfilled quantity of the product.""" + quantity_fulfilled: Float! + """The unique ID of a gift registry item.""" + uid: ID! +} + +""" +Contains details about the selected or available gift wrapping options. +""" +type GiftWrapping { + """The name of the gift wrapping design.""" + design: String! + """The unique ID for a `GiftWrapping` object.""" + id: ID! @deprecated(reason: "Use `uid` instead") + """The preview image for a gift wrapping option.""" + image: GiftWrappingImage + """The gift wrapping price.""" + price: Money! + """The unique ID for a `GiftWrapping` object.""" + uid: ID! +} + +"""Points to an image associated with a gift wrapping option.""" +type GiftWrappingImage { + """The gift wrapping preview image label.""" + label: String! + """The gift wrapping preview image URL.""" + url: String! +} + +"""Contains prices for gift wrapping options.""" +type GiftOptionsPrices { + """Price of the gift wrapping for all individual order items.""" + gift_wrapping_for_items: Money + """Price of the gift wrapping for the whole order.""" + gift_wrapping_for_order: Money + """Price for the printed card.""" + printed_card: Money +} + +"""Defines the gift options applied to the cart.""" +input SetGiftOptionsOnCartInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! + """Gift message details for the cart.""" + gift_message: GiftMessageInput + """Whether customer requested gift receipt for the cart.""" + gift_receipt_included: Boolean! + """The unique ID for a `GiftWrapping` object to be used for the cart.""" + gift_wrapping_id: ID + """Whether customer requested printed card for the cart.""" + printed_card_included: Boolean! +} + +"""Contains the cart after gift options have been applied.""" +type SetGiftOptionsOnCartOutput { + """The modified cart object.""" + cart: Cart! +} + +"""Contains details about bundle products added to a requisition list.""" +type BundleRequisitionListItem implements RequisitionListItemInterface { + """An array of selected options for a bundle product.""" + bundle_options: [SelectedBundleOption]! + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The quantity of the product added to the requisition list.""" + quantity: Float! + """The unique ID of an item in a requisition list.""" + uid: ID! +} + +""" +Defines a grouped product, which consists of simple standalone products that are presented as a group. +""" +type GroupedProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface { + accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") + accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The attribute set assigned to the product.""" + attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") + """ + The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. + """ + canonical_url: String + """The categories assigned to a product.""" + categories: [CategoryInterface] + color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The product's country of origin.""" + country_of_manufacture: String + """Timestamp indicating when the product was created.""" + created_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of cross-sell products.""" + crosssell_products: [ProductInterface] + """List of product custom attributes details.""" + custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") + """Product custom attributes.""" + custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes + """ + Detailed information about the product. The value can include simple HTML tags. + """ + description: ComplexTextValue + description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") + fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") + format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """Indicates whether a gift message is available.""" + gift_message_available: String + has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """The ID number assigned to the product.""" + id: Int @deprecated(reason: "Use the `uid` field instead.") + """The relative path to the main image on the product page.""" + image: ProductImage + """Indicates whether the product can be returned.""" + is_returnable: String + """An array containing grouped product items.""" + items: [GroupedProductItem] + """A number representing the product's manufacturer.""" + manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of media gallery objects.""" + media_gallery: [MediaGalleryInterface] + """An array of MediaGalleryEntry objects.""" + media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") + """ + A brief overview of the product for search results listings, maximum 255 characters. + """ + meta_description: String + """ + A comma-separated list of keywords that are visible only to search engines. + """ + meta_keyword: String + """ + A string that is displayed in the title bar and tab of the browser and in search results lists. + """ + meta_title: String + """The product name. Customers use this name to identify the product.""" + name: String + """ + The beginning date for new product listings, and determines if the product is featured as a new product. + """ + new_from_date: String + """The end date for new product listings.""" + new_to_date: String + """Product stock only x left count""" + only_x_left_in_stock: Float + """ + If the product has multiple options, determines where they appear on the product page. + """ + options_container: String + """Indicates the price of an item.""" + price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") + """The range of prices for the product""" + price_range: PriceRange! + """An array of `TierPrice` objects.""" + price_tiers: [TierPrice] + """An array of `ProductLinks` objects.""" + product_links: [ProductLinksInterface] + """The average of all the ratings given to the product.""" + rating_summary: Float! + """ + Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. + """ + redirect_code: Int! + """An array of related products.""" + related_products: [ProductInterface] + """ + The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. + """ + relative_url: String + """The total count of all the reviews given to the product.""" + review_count: Int! + """The list of products reviews.""" + reviews( + """The maximum number of results to return at once. The default is 20.""" + pageSize: Int = 20 + """The page of results to return. The default is 1.""" + currentPage: Int = 1 + ): ProductReviews! + """A short description of the product. Its use depends on the theme.""" + short_description: ComplexTextValue + """ + A number or code assigned to a product to identify the product, options, price, and manufacturer. + """ + sku: String + """The relative path to the small image, which is used on catalog pages.""" + small_image: ProductImage + """The beginning date that a product has a special price.""" + special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") + """The discounted price of the product.""" + special_price: Float + """The end date for a product with a special price.""" + special_to_date: String + """Indicates whether the product is staged for a future campaign.""" + staged: Boolean! + """Stock status of the product""" + stock_status: ProductStockStatus + """The file name of a swatch image.""" + swatch_image: String + """The relative path to the product's thumbnail image.""" + thumbnail: ProductImage + """ + The price when tier pricing is in effect and the items purchased threshold has been reached. + """ + tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") + """An array of ProductTierPrices objects.""" + tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") + """One of PRODUCT, CATEGORY, or CMS_PAGE.""" + type: UrlRewriteEntityTypeEnum + """ + One of simple, virtual, bundle, downloadable, grouped, or configurable. + """ + type_id: String @deprecated(reason: "Use `__typename` instead.") + """The unique ID for a `ProductInterface` object.""" + uid: ID! + """Timestamp indicating when the product was updated.""" + updated_at: String @deprecated(reason: "The field should not be used on the storefront.") + """An array of up-sell products.""" + upsell_products: [ProductInterface] + """The part of the URL that identifies the product""" + url_key: String + url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") + """URL rewrites list""" + url_rewrites: [UrlRewrite] + """The part of the product URL that is appended after the url key""" + url_suffix: String + video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") + """An array of websites in which the product is available.""" + websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") + """The weight of the item, in units defined by the store.""" + weight: Float +} + +"""Contains information about an individual grouped product item.""" +type GroupedProductItem { + """The relative position of this item compared to the other group items.""" + position: Int + """Details about this product option.""" + product: ProductInterface + """The quantity of this grouped product item.""" + qty: Float +} + +"""A grouped product wish list item.""" +type GroupedProductWishlistItem implements WishlistItemInterface { + """The date and time the item was added to the wish list.""" + added_at: String! + """Custom options selected for the wish list item.""" + customizable_options: [SelectedCustomizableOption]! + """The description of the item.""" + description: String + """The unique ID for a `WishlistItemInterface` object.""" + id: ID! + """Product details of the wish list item.""" + product: ProductInterface + """The quantity of this wish list item.""" + quantity: Float! +} + +""" +AreaInput defines the parameters which will be used for filter by specified location. +""" +input AreaInput { + """The radius for the search in KM.""" + radius: Int! + """ + The country code where search must be performed. Required parameter together with region, city or postcode. + """ + search_term: String! +} + +""" +PickupLocationFilterInput defines the list of attributes and filters for the search. +""" +input PickupLocationFilterInput { + """Filter by city.""" + city: FilterTypeInput + """Filter by country.""" + country_id: FilterTypeInput + """Filter by pickup location name.""" + name: FilterTypeInput + """Filter by pickup location code.""" + pickup_location_code: FilterTypeInput + """Filter by postcode.""" + postcode: FilterTypeInput + """Filter by region.""" + region: FilterTypeInput + """Filter by region id.""" + region_id: FilterTypeInput + """Filter by street.""" + street: FilterTypeInput +} + +""" +PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. +""" +input PickupLocationSortInput { + """City where pickup location is placed.""" + city: SortEnum + """Name of the contact person.""" + contact_name: SortEnum + """Id of the country in two letters.""" + country_id: SortEnum + """Description of the pickup location.""" + description: SortEnum + """ + Distance to the address, requested by distance filter. Applicable only with distance filter. If distance sort order is present, all other sort orders will be ignored. + """ + distance: SortEnum + """Contact email of the pickup location.""" + email: SortEnum + """Contact fax of the pickup location.""" + fax: SortEnum + """Geographic latitude where pickup location is placed.""" + latitude: SortEnum + """Geographic longitude where pickup location is placed.""" + longitude: SortEnum + """ + The pickup location name. Customer use this to identify the pickup location. + """ + name: SortEnum + """Contact phone number of the pickup location.""" + phone: SortEnum + """A code assigned to pickup location to identify the source.""" + pickup_location_code: SortEnum + """Postcode where pickup location is placed.""" + postcode: SortEnum + """Name of the region.""" + region: SortEnum + """Id of the region.""" + region_id: SortEnum + """Street where pickup location is placed.""" + street: SortEnum +} + +"""Top level object returned in a pickup locations search.""" +type PickupLocations { + """An array of pickup locations that match the specific search request.""" + items: [PickupLocation] + """ + An object that includes the page_info and currentPage values specified in the query. + """ + page_info: SearchResultPageInfo + """The number of products returned.""" + total_count: Int +} + +"""Defines Pickup Location information.""" +type PickupLocation { + city: String + contact_name: String + country_id: String + description: String + email: String + fax: String + latitude: Float + longitude: Float + name: String + phone: String + pickup_location_code: String + postcode: String + region: String + region_id: Int + street: String +} + +"""Product Information used for Pickup Locations search.""" +input ProductInfoInput { + """Product SKU.""" + sku: String! +} + +"""Identifies which customer requires remote shopping assistance.""" +input GenerateCustomerTokenAsAdminInput { + """ + The email address of the customer requesting remote shopping assistance. + """ + customer_email: String! +} + +"""Contains the generated customer token.""" +type GenerateCustomerTokenAsAdminOutput { + """The generated customer token.""" + customer_token: String! +} + +"""Apply coupons to the cart.""" +input ApplyCouponsToCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """An array of valid coupon codes.""" + coupon_codes: [String]! + """ + `replace` to replace the existing coupon(s) or `append` to add the coupon to the coupon(s) list. + """ + type: ApplyCouponsStrategy +} + +"""Remove coupons from the cart.""" +input RemoveCouponsFromCartInput { + """The unique ID of a `Cart` object.""" + cart_id: String! + """ + An array of coupon codes to be removed from the quote. If coupon_codes is empty all coupons will be removed from the quote. + """ + coupon_codes: [String]! +} + +"""The strategy to apply coupons to the cart.""" +enum ApplyCouponsStrategy { + """Append new coupons keeping the coupons that have been applied before.""" + APPEND + """ + Remove all the coupons from the cart and apply only new provided coupons. + """ + REPLACE +} + +"""Contains the cart and any errors after adding products.""" +type ReorderItemsOutput { + """Detailed information about the customer's cart.""" + cart: Cart! + """An array of reordering errors.""" + userInputErrors: [CheckoutUserInputError]! +} + +"""An error encountered while adding an item to the cart.""" +type CheckoutUserInputError { + """An error code that is specific to Checkout.""" + code: CheckoutUserInputErrorCodes! + """A localized error message.""" + message: String! + """ + The path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors + """ + path: [String]! +} + +"""Identifies the filter to use for filtering orders.""" +input CustomerOrdersFilterInput { + """Filters by order number.""" + number: FilterStringTypeInput +} + +""" +CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order. +""" +input CustomerOrderSortInput { + """ + This enumeration indicates whether to return results in ascending or descending order + """ + sort_direction: SortEnum! + """Specifies the field to use for sorting""" + sort_field: CustomerOrderSortableField! +} + +"""Specifies the field to use for sorting""" +enum CustomerOrderSortableField { + """Sorts customer orders by number""" + NUMBER + """Sorts customer orders by created_at field""" + CREATED_AT +} + +""" +The collection of orders that match the conditions defined in the filter. +""" +type CustomerOrders { + """An array of customer orders.""" + items: [CustomerOrder]! + """Contains pagination metadata.""" + page_info: SearchResultPageInfo + """The total count of customer orders.""" + total_count: Int +} + +""" +Contains detailed information about an order's billing and shipping addresses. +""" +type OrderAddress { + """The city or town.""" + city: String! + """The customer's company.""" + company: String + """The customer's country.""" + country_code: CountryCodeEnum + """The fax number.""" + fax: String + """ + The first name of the person associated with the shipping/billing address. + """ + firstname: String! + """ + The family name of the person associated with the shipping/billing address. + """ + lastname: String! + """ + The middle name of the person associated with the shipping/billing address. + """ + middlename: String + """The customer's ZIP or postal code.""" + postcode: String + """An honorific, such as Dr., Mr., or Mrs.""" + prefix: String + """The state or province name.""" + region: String + """The unique ID for a `Region` object of a pre-defined region.""" + region_id: ID + """An array of strings that define the street number and name.""" + street: [String]! + """A value such as Sr., Jr., or III.""" + suffix: String + """The telephone number.""" + telephone: String + """The customer's Value-added tax (VAT) number (for corporate customers).""" + vat_id: String +} + +type OrderItem implements OrderItemInterface { + """The final discount information for the product.""" + discounts: [Discount] + """ + Indicates whether the order item is eligible to be in a return request. + """ + eligible_for_return: Boolean + """The entered option for the base product, such as a logo or image.""" + entered_options: [OrderItemOption] + """The selected gift message for the order item""" + gift_message: GiftMessage + """The selected gift wrapping for the order item.""" + gift_wrapping: GiftWrapping + """The unique ID for an `OrderItemInterface` object.""" + id: ID! + """ + The ProductInterface object, which contains details about the base product + """ + product: ProductInterface + """The name of the base product.""" + product_name: String + """The sale price of the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The type of product, such as simple, configurable, etc.""" + product_type: String + """URL key of the base product.""" + product_url_key: String + """The number of canceled items.""" + quantity_canceled: Float + """The number of invoiced items.""" + quantity_invoiced: Float + """The number of units ordered for this item.""" + quantity_ordered: Float + """The number of refunded items.""" + quantity_refunded: Float + """The number of returned items.""" + quantity_returned: Float + """The number of shipped items.""" + quantity_shipped: Float + """The selected options for the base product, such as color or size.""" + selected_options: [OrderItemOption] + """The status of the order item.""" + status: String +} + +"""Represents order item options like selected or entered.""" +type OrderItemOption { + """The name of the option.""" + label: String! + """The value of the option.""" + value: String! +} + +"""Contains tax item details.""" +type TaxItem { + """The amount of tax applied to the item.""" + amount: Money! + """The rate used to calculate the tax.""" + rate: Float! + """A title that describes the tax.""" + title: String! +} + +"""Contains invoice details.""" +type Invoice { + """Comments on the invoice.""" + comments: [SalesCommentItem] + """The unique ID for a `Invoice` object.""" + id: ID! + """Invoiced product details.""" + items: [InvoiceItemInterface] + """Sequential invoice number.""" + number: String! + """Invoice total amount details.""" + total: InvoiceTotal +} + +"""Contains detailes about invoiced items.""" +interface InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +type InvoiceItem implements InvoiceItemInterface { + """ + Information about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for an `InvoiceItemInterface` object.""" + id: ID! + """Details about an individual order item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of invoiced items.""" + quantity_invoiced: Float +} + +"""Contains price details from an invoice.""" +type InvoiceTotal { + """The final base grand total amount in the base currency.""" + base_grand_total: Money! + """The applied discounts to the invoice.""" + discounts: [Discount] + """The final total amount, including shipping, discounts, and taxes.""" + grand_total: Money! + """Details about the shipping and handling costs for the invoice.""" + shipping_handling: ShippingHandling + """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" + subtotal: Money! + """The invoice tax details.""" + taxes: [TaxItem] + """The shipping amount for the invoice.""" + total_shipping: Money! + """The amount of tax applied to the invoice.""" + total_tax: Money! +} + +"""Contains details about shipping and handling costs.""" +type ShippingHandling { + """The shipping amount, excluding tax.""" + amount_excluding_tax: Money + """The shipping amount, including tax.""" + amount_including_tax: Money + """The applied discounts to the shipping.""" + discounts: [ShippingDiscount] + """Details about taxes applied for shipping.""" + taxes: [TaxItem] + """The total amount for shipping.""" + total_amount: Money! +} + +""" +Defines an individual shipping discount. This discount can be applied to shipping. +""" +type ShippingDiscount { + """The amount of the discount.""" + amount: Money! +} + +"""Contains order shipment details.""" +type OrderShipment { + """Comments added to the shipment.""" + comments: [SalesCommentItem] + """The unique ID for a `OrderShipment` object.""" + id: ID! + """An array of items included in the shipment.""" + items: [ShipmentItemInterface] + """The sequential credit shipment number.""" + number: String! + """An array of shipment tracking details.""" + tracking: [ShipmentTracking] +} + +"""Contains details about a comment.""" +type SalesCommentItem { + """The text of the message.""" + message: String! + """The timestamp of the comment.""" + timestamp: String! +} + +"""Order shipment item details.""" +interface ShipmentItemInterface { + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +type ShipmentItem implements ShipmentItemInterface { + """The unique ID for a `ShipmentItemInterface` object.""" + id: ID! + """The order item associated with the shipment item.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of shipped items.""" + quantity_shipped: Float! +} + +"""Contains order shipment tracking details.""" +type ShipmentTracking { + """The shipping carrier for the order delivery.""" + carrier: String! + """The tracking number of the order shipment.""" + number: String + """The shipment tracking title.""" + title: String! +} + +"""Contains details about the payment method used to pay for the order.""" +type OrderPaymentMethod { + """Additional data per payment method type.""" + additional_data: [KeyValue] + """The label that describes the payment method.""" + name: String! + """The payment method code that indicates how the order was paid for.""" + type: String! +} + +"""Contains credit memo details.""" +type CreditMemo { + """Comments on the credit memo.""" + comments: [SalesCommentItem] + """The unique ID for a `CreditMemo` object.""" + id: ID! + """An array containing details about refunded items.""" + items: [CreditMemoItemInterface] + """The sequential credit memo number.""" + number: String! + """Details about the total refunded amount.""" + total: CreditMemoTotal +} + +"""Credit memo item details.""" +interface CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +type CreditMemoItem implements CreditMemoItemInterface { + """ + Details about the final discount amount for the base product, including discounts on options. + """ + discounts: [Discount] + """The unique ID for a `CreditMemoItemInterface` object.""" + id: ID! + """The order item the credit memo is applied to.""" + order_item: OrderItemInterface + """The name of the base product.""" + product_name: String + """The sale price for the base product, including selected options.""" + product_sale_price: Money! + """The SKU of the base product.""" + product_sku: String! + """The number of refunded items.""" + quantity_refunded: Float +} + +"""Contains credit memo price details.""" +type CreditMemoTotal { + """An adjustment manually applied to the order.""" + adjustment: Money! + """The final base grand total amount in the base currency.""" + base_grand_total: Money! + """The applied discounts to the credit memo.""" + discounts: [Discount] + """The final total amount, including shipping, discounts, and taxes.""" + grand_total: Money! + """Details about the shipping and handling costs for the credit memo.""" + shipping_handling: ShippingHandling + """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" + subtotal: Money! + """The credit memo tax details.""" + taxes: [TaxItem] + """The shipping amount for the credit memo.""" + total_shipping: Money! + """The amount of tax applied to the credit memo.""" + total_tax: Money! +} + +"""Contains a key-value pair.""" +type KeyValue { + """The name part of the key/value pair.""" + name: String + """The value part of the key/value pair.""" + value: String +} + +enum CheckoutUserInputErrorCodes { + REORDER_NOT_AVAILABLE + PRODUCT_NOT_FOUND + NOT_SALABLE + INSUFFICIENT_STOCK + UNDEFINED +} + +"""This enumeration defines the scope type for customer orders.""" +enum ScopeTypeEnum { + GLOBAL + WEBSITE + STORE +} + +"""Input to retrieve an order based on token.""" +input OrderTokenInput { + """Order token.""" + token: String! +} + +"""Input to retrieve an order based on details.""" +input OrderInformationInput { + """Order billing address email.""" + email: String! + """Order number.""" + number: String! + """Order billing address postcode.""" + postcode: String! +} + +"""Identifies a quote to be duplicated""" +input DuplicateNegotiableQuoteInput { + """ID for the newly duplicated quote.""" + duplicated_quote_uid: ID! + """ID of the quote to be duplicated.""" + quote_uid: ID! +} + +"""Contains the newly created negotiable quote.""" +type DuplicateNegotiableQuoteOutput { + """Negotiable Quote resulting from duplication operation.""" + quote: NegotiableQuote +} + +"""Contains details about a negotiable quote template.""" +type NegotiableQuoteTemplate { + """The first and last name of the buyer.""" + buyer: NegotiableQuoteUser! + """A list of comments made by the buyer and seller.""" + comments: [NegotiableQuoteComment] + """The expiration period of the negotiable quote template.""" + expiration_date: String! + """A list of status and price changes for the negotiable quote template.""" + history: [NegotiableQuoteHistoryEntry] + """Indicates whether the minimum and maximum quantity settings are used.""" + is_min_max_qty_used: Boolean! + """ + Indicates whether the negotiable quote template contains only virtual products. + """ + is_virtual: Boolean! + """The list of items in the negotiable quote template.""" + items: [CartItemInterface] + """Commitment for maximum orders""" + max_order_commitment: Int! + """Commitment for minimum orders""" + min_order_commitment: Int! + """The title assigned to the negotiable quote template.""" + name: String! + """A list of notifications for the negotiable quote template.""" + notifications: [QuoteTemplateNotificationMessage] + """ + A set of subtotals and totals applied to the negotiable quote template. + """ + prices: CartPrices + """A list of shipping addresses applied to the negotiable quote template.""" + shipping_addresses: [NegotiableQuoteShippingAddress]! + """The status of the negotiable quote template.""" + status: String! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! + """The total number of items in the negotiable quote template.""" + total_quantity: Float! +} + +"""Contains data for a negotiable quote template in a grid.""" +type NegotiableQuoteTemplateGridItem { + """The date and time the negotiable quote template was activated.""" + activated_at: String! + """Company name the quote template is assigned to""" + company_name: String! + """The expiration period of the negotiable quote template.""" + expiration_date: String! + """Indicates whether the minimum and maximum quantity settings are used.""" + is_min_max_qty_used: Boolean! + """The date and time the negotiable quote template was last shared.""" + last_shared_at: String! + """Commitment for maximum orders""" + max_order_commitment: Int! + """The minimum negotiated grand total of the negotiable quote template.""" + min_negotiated_grand_total: Float! + """Commitment for minimum orders""" + min_order_commitment: Int! + """The title assigned to the negotiable quote template.""" + name: String! + """The number of orders placed for the negotiable quote template.""" + orders_placed: Int! + """The first and last name of the sales representative.""" + sales_rep_name: String! + """State of the negotiable quote template.""" + state: String! + """The status of the negotiable quote template.""" + status: String! + """The first and last name of the buyer.""" + submitted_by: String! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +""" +Contains a list of negotiable templates that match the specified filter. +""" +type NegotiableQuoteTemplatesOutput { + """A list of negotiable quote templates""" + items: [NegotiableQuoteTemplateGridItem]! + """Contains pagination metadata""" + page_info: SearchResultPageInfo! + """Contains the default sort field and all available sort fields.""" + sort_fields: SortFields + """The number of negotiable quote templates returned""" + total_count: Int! +} + +"""Contains the updated negotiable quote template.""" +type UpdateNegotiableQuoteTemplateItemsQuantityOutput { + """The updated negotiable quote template.""" + quote_template: NegotiableQuoteTemplate +} + +"""Contains the generated negotiable quote id.""" +type GenerateNegotiableQuoteFromTemplateOutput { + """The unique ID of a generated `NegotiableQuote` object.""" + negotiable_quote_uid: ID! +} + +""" +Contains details about a failed delete operation on a negotiable quote template. +""" +type DeleteNegotiableQuoteTemplateOutput { + """A message that describes the error.""" + error_message: String + """Flag to mark whether the delete operation was successful.""" + status: Boolean! +} + +"""Contains a notification message for a negotiable quote template.""" +type QuoteTemplateNotificationMessage { + """The notification message.""" + message: String! + """The type of notification message.""" + type: String! +} + +"""Defines a filter to limit the negotiable quotes to return.""" +input NegotiableQuoteTemplateFilterInput { + """Filter by state of one or more negotiable quote templates.""" + state: FilterEqualTypeInput + """Filter by status of one or more negotiable quote templates.""" + status: FilterEqualTypeInput +} + +"""Defines the field to use to sort a list of negotiable quotes.""" +input NegotiableQuoteTemplateSortInput { + """Whether to return results in ascending or descending order.""" + sort_direction: SortEnum! + """The specified sort field.""" + sort_field: NegotiableQuoteTemplateSortableField! +} + +"""Defines properties of a negotiable quote template request.""" +input RequestNegotiableQuoteTemplateInput { + """ + The cart ID of the quote to create the new negotiable quote template from. + """ + cart_id: ID! +} + +"""Specifies the items to update.""" +input UpdateNegotiableQuoteTemplateQuantitiesInput { + """An array of items to update.""" + items: [NegotiableQuoteTemplateItemQuantityInput]! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the updated quantity of an item.""" +input NegotiableQuoteTemplateItemQuantityInput { + """The unique ID of a `CartItemInterface` object.""" + item_id: ID! + """ + The new max quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. + """ + max_qty: Float + """ + The new min quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. + """ + min_qty: Float + """The new quantity of the negotiable quote item.""" + quantity: Float! +} + +""" +Defines the shipping address to assign to the negotiable quote template. +""" +input SetNegotiableQuoteTemplateShippingAddressInput { + """A shipping adadress to apply to the negotiable quote template.""" + shipping_address: NegotiableQuoteTemplateShippingAddressInput! + """The unique ID of a `NegotiableQuote` object.""" + template_id: ID! +} + +"""Defines shipping addresses for the negotiable quote template.""" +input NegotiableQuoteTemplateShippingAddressInput { + """A shipping address.""" + address: NegotiableQuoteAddressInput + """ + An ID from the company user's address book that uniquely identifies the address to be used for shipping. + """ + customer_address_uid: ID + """Text provided by the company user.""" + customer_notes: String +} + +"""Specifies the quote template properties to update.""" +input SubmitNegotiableQuoteTemplateForReviewInput { + """A comment for the seller to review.""" + comment: String + """Commitment for maximum orders""" + max_order_commitment: Int + """Commitment for minimum orders""" + min_order_commitment: Int + """The title assigned to the negotiable quote template.""" + name: String + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id to accept quote template.""" +input AcceptNegotiableQuoteTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id to open quote template.""" +input OpenNegotiableQuoteTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the template id, from which to generate quote from.""" +input GenerateNegotiableQuoteFromTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Defines the items to remove from the specified negotiable quote.""" +input RemoveNegotiableQuoteTemplateItemsInput { + """ + An array of IDs indicating which items to remove from the negotiable quote. + """ + item_uids: [ID]! + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id of the quote template to cancel""" +input CancelNegotiableQuoteTemplateInput { + """A comment to provide reason of cancellation.""" + cancellation_comment: String + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Specifies the quote template id of the quote template to delete""" +input DeleteNegotiableQuoteTemplateInput { + """The unique ID of a `NegotiableQuoteTemplate` object.""" + template_id: ID! +} + +"""Sets quote item note.""" +input QuoteTemplateLineItemNoteInput { + """The unique ID of a `CartLineItem` object.""" + item_id: ID! + """The note text to be added.""" + note: String + """The unique ID of a `NegotiableQuoteTemplate` object.""" + templateId: ID! +} + +enum NegotiableQuoteTemplateSortableField { + """Sorts negotiable quote templates by template id.""" + TEMPLATE_ID + """Sorts negotiable quote templates by the date they were last shared.""" + LAST_SHARED_AT +} + +"""Contains details about prior company credit operations.""" +type CompanyCreditHistory { + """An array of company credit operations.""" + items: [CompanyCreditOperation]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo! + """ + The number of the company credit operations matching the specified filter. + """ + total_count: Int +} + +"""Contains details about a single company credit operation.""" +type CompanyCreditOperation { + """The amount of the company credit operation.""" + amount: Money + """The credit balance as a result of the operation.""" + balance: CompanyCredit! + """ + The purchase order number associated with the company credit operation. + """ + custom_reference_number: String + """The date the operation occurred.""" + date: String! + """The type of the company credit operation.""" + type: CompanyCreditOperationType! + """The company user that submitted the company credit operation.""" + updated_by: CompanyCreditOperationUser! +} + +""" +Defines the administrator or company user that submitted a company credit operation. +""" +type CompanyCreditOperationUser { + """The name of the company user submitting the company credit operation.""" + name: String! + """The type of the company user submitting the company credit operation.""" + type: CompanyCreditOperationUserType! +} + +"""Contains company credit balances and limits.""" +type CompanyCredit { + """ + The sum of the credit limit and the outstanding balance. If the company has exceeded the credit limit, the amount is as a negative value. + """ + available_credit: Money! + """The amount of credit extended to the company.""" + credit_limit: Money! + """ + The amount reimbursed, less the total due from all orders placed using the Payment on Account payment method. The amount can be a positive or negative value. + """ + outstanding_balance: Money! +} + +enum CompanyCreditOperationType { + ALLOCATION + UPDATE + PURCHASE + REIMBURSEMENT + REFUND + REVERT +} + +enum CompanyCreditOperationUserType { + CUSTOMER + ADMIN +} + +"""Defines a filter for narrowing the results of a credit history search.""" +input CompanyCreditHistoryFilterInput { + """ + The purchase order number associated with the company credit operation. + """ + custom_reference_number: String + """The type of the company credit operation.""" + operation_type: CompanyCreditOperationType + """The name of the person submitting the company credit operation.""" + updated_by: String +} + +"""Contains the result of the `subscribeEmailToNewsletter` operation.""" +type SubscribeEmailToNewsletterOutput { + """The status of the subscription request.""" + status: SubscriptionStatusesEnum +} + +"""Indicates the status of the request.""" +enum SubscriptionStatusesEnum { + NOT_ACTIVE + SUBSCRIBED + UNSUBSCRIBED + UNCONFIRMED +} + +type CancellationReason { + description: String! +} + +"""Defines the order to cancel.""" +input CancelOrderInput { + """Order ID.""" + order_id: ID! + """Cancellation reason.""" + reason: String! +} + +"""Contains the updated customer order and error message if any.""" +type CancelOrderOutput { + """Error encountered while cancelling the order.""" + error: String + """Updated customer order.""" + order: CustomerOrder +} + +type UiAttributeTypePageBuilder implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Gets the payment SDK URLs and values""" +type GetPaymentSDKOutput { + """The payment SDK parameters""" + sdkParams: [PaymentSDKParamsItem] +} + +type PaymentSDKParamsItem { + """The payment method code used in the order""" + code: String + """The payment SDK parameters""" + params: [SDKParams] +} + +"""Contains the payment order details""" +type PaymentOrderOutput { + """PayPal order ID""" + id: String + """The order ID generated by Payment Services""" + mp_order_id: String + """Details about the card used on the order""" + payment_source_details: PaymentSourceDetails + """The status of the payment order""" + status: String +} + +type PaymentSourceDetails { + """Details about the card used on the order""" + card: Card +} + +type Card { + """Card bin details""" + bin_details: CardBin + """Expiration month of the card""" + card_expiry_month: String + """Expiration year of the card""" + card_expiry_year: String + """Last four digits of the card""" + last_digits: String + """Name on the card""" + name: String +} + +type CardBin { + """Card bin number""" + bin: String +} + +""" +Contains payment order details that are used while processing the payment order +""" +input CreatePaymentOrderInput { + """The customer cart ID""" + cartId: String! + """Defines the origin location for that payment request""" + location: PaymentLocation! + """The code for the payment method used in the order""" + methodCode: String! + """The identifiable payment source for the payment method""" + paymentSource: String! + """Indicates whether the payment information should be vaulted""" + vaultIntent: Boolean +} + +"""Synchronizes the payment order details""" +input SyncPaymentOrderInput { + """The customer cart ID""" + cartId: String! + """PayPal order ID""" + id: String! +} + +""" +Contains payment order details that are used while processing the payment order +""" +type CreatePaymentOrderOutput { + """The amount of the payment order""" + amount: Float + """The currency of the payment order""" + currency_code: String + """PayPal order ID""" + id: String + """The order ID generated by Payment Services""" + mp_order_id: String + """The status of the payment order""" + status: String +} + +"""Defines the origin location for that payment request""" +enum PaymentLocation { + PRODUCT_DETAIL + MINICART + CART + CHECKOUT + ADMIN +} + +"""Retrieves the payment configuration for a given location""" +type PaymentConfigOutput { + """ApplePay payment method configuration""" + apple_pay: ApplePayConfig + """GooglePay payment method configuration""" + google_pay: GooglePayConfig + """Hosted fields payment method configuration""" + hosted_fields: HostedFieldsConfig + """Smart Buttons payment method configuration""" + smart_buttons: SmartButtonsConfig +} + +""" +Contains payment fields that are common to all types of payment methods. +""" +interface PaymentConfigItem { + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type PaymentCommonConfig implements PaymentConfigItem { + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type HostedFieldsConfig implements PaymentConfigItem { + """Vault payment method code""" + cc_vault_code: String + """The payment method code as defined in the payment gateway""" + code: String + """Card vault enabled""" + is_vault_enabled: Boolean + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The payment source for the payment method""" + payment_source: String + """Card and bin details required""" + requires_card_details: Boolean + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """Whether 3DS is activated; true if 3DS mode is not OFF.""" + three_ds: Boolean @deprecated(reason: "Use 'three_ds_mode' instead.") + """3DS mode""" + three_ds_mode: ThreeDSMode + """The name displayed for the payment method""" + title: String +} + +"""3D Secure mode.""" +enum ThreeDSMode { + OFF + SCA_WHEN_REQUIRED + SCA_ALWAYS +} + +type SmartButtonsConfig implements PaymentConfigItem { + """The styles for the PayPal Smart Button configuration""" + button_styles: ButtonStyles + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether to display the PayPal Pay Later message""" + display_message: Boolean + """Indicates whether to display Venmo""" + display_venmo: Boolean + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Contains details about the styles for the PayPal Pay Later message""" + message_styles: MessageStyles + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type ApplePayConfig implements PaymentConfigItem { + """The styles for the ApplePay Smart Button configuration""" + button_styles: ButtonStyles + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The payment source for the payment method""" + payment_source: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """The name displayed for the payment method""" + title: String +} + +type GooglePayConfig implements PaymentConfigItem { + """The styles for the GooglePay Button configuration""" + button_styles: GooglePayButtonStyles + """The payment method code as defined in the payment gateway""" + code: String + """Indicates whether the payment method is displayed""" + is_visible: Boolean + """Defines the payment intent (Authorize or Capture""" + payment_intent: String + """The payment source for the payment method""" + payment_source: String + """The PayPal parameters required to load the JS SDK""" + sdk_params: [SDKParams] + """ + The relative order the payment method is displayed on the checkout page + """ + sort_order: String + """3DS mode""" + three_ds_mode: ThreeDSMode + """The name displayed for the payment method""" + title: String +} + +type ButtonStyles { + """The button color""" + color: String + """The button height in pixels""" + height: Int + """The button label""" + label: String + """The button layout""" + layout: String + """The button shape""" + shape: String + """Indicates whether the tagline is displayed""" + tagline: Boolean + """ + Defines if the button uses default height. If the value is false, the value of height is used + """ + use_default_height: Boolean +} + +type GooglePayButtonStyles { + """The button color""" + color: String + """The button height in pixels""" + height: Int + """The button type""" + type: String +} + +type MessageStyles { + """The message layout""" + layout: String + """The message logo""" + logo: MessageStyleLogo +} + +type MessageStyleLogo { + """The type of logo for the PayPal Pay Later messaging""" + type: String +} + +"""Defines the name and value of a SDK parameter""" +type SDKParams { + """The name of the SDK parameter""" + name: String + """The value of the SDK parameter""" + value: String +} + +"""Vault payment inputs""" +input VaultMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String + """The public hash of the token.""" + public_hash: String +} + +"""Smart button payment inputs""" +input SmartButtonMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Apple Pay inputs""" +input ApplePayMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Google Pay inputs""" +input GooglePayMethodInput { + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Hosted Fields payment inputs""" +input HostedFieldsInput { + """Card bin number""" + cardBin: String + """Expiration month of the card""" + cardExpiryMonth: String + """Expiration year of the card""" + cardExpiryYear: String + """Last four digits of the card""" + cardLast4: String + """Name on the card""" + holderName: String + """ + Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the Payment Services payment integration. + """ + is_active_payment_token_enabler: Boolean + """The payment source for the payment method""" + payment_source: String + """The payment services order ID""" + payments_order_id: String + """PayPal order ID""" + paypal_order_id: String +} + +"""Describe the variables needed to create a vault card setup token""" +input CreateVaultCardSetupTokenInput { + """The setup token information""" + setup_token: VaultSetupTokenInput! + """The 3DS mode""" + three_ds_mode: ThreeDSMode +} + +"""The payment source information""" +input VaultSetupTokenInput { + """The payment source information""" + payment_source: PaymentSourceInput! +} + +"""The payment source information""" +input PaymentSourceInput { + """The card payment source information""" + card: CardPaymentSourceInput! +} + +"""The card payment source information""" +input CardPaymentSourceInput { + """The billing address of the card""" + billing_address: BillingAddressPaymentSourceInput! + """The name on the cardholder""" + name: String +} + +"""The billing address information""" +input BillingAddressPaymentSourceInput { + """The first line of the address""" + address_line_1: String + """The second line of the address""" + address_line_2: String + """The city of the address""" + city: String + """The country of the address""" + country_code: String! + """The postal code of the address""" + postal_code: String + """The region of the address""" + region: String +} + +"""The setup token id information""" +type CreateVaultCardSetupTokenOutput { + """The setup token id""" + setup_token: String! +} + +"""Describe the variables needed to create a vault payment token""" +input CreateVaultCardPaymentTokenInput { + """Description of the vaulted card""" + card_description: String + """The setup token obtained by the createVaultCardSetupToken endpoint""" + setup_token_id: String! +} + +"""The vault token id and information about the payment source""" +type CreateVaultCardPaymentTokenOutput { + """The payment source information""" + payment_source: PaymentSourceOutput! + """The vault payment token information""" + vault_token_id: String! +} + +"""The payment source information""" +type PaymentSourceOutput { + """The card payment source information""" + card: CardPaymentSourceOutput! +} + +"""The card payment source information""" +type CardPaymentSourceOutput { + """The brand of the card""" + brand: String + """The expiry of the card""" + expiry: String + """The last digits of the card""" + last_digits: String +} + +"""Retrieves the vault configuration""" +type VaultConfigOutput { + """Credit card vault method configuration""" + credit_card: VaultCreditCardConfig +} + +type VaultCreditCardConfig { + """Is vault enabled""" + is_vault_enabled: Boolean + """The parameters required to load the Paypal JS SDK""" + sdk_params: [SDKParams] + """3DS mode""" + three_ds_mode: ThreeDSMode +} + +""" +Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods. +""" +input PaypalExpressTokenInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! + """The payment method code.""" + code: String! + """ + Indicates whether the buyer selected the quick checkout button. The default value is false. + """ + express_button: Boolean + """ + A set of relative URLs that PayPal uses in response to various actions during the authorization process. + """ + urls: PaypalExpressUrlsInput! + """ + Indicates whether the buyer clicked the PayPal credit button. The default value is false. + """ + use_paypal_credit: Boolean +} + +"""Deprecated. Use `PaypalExpressTokenOutput` instead.""" +type PaypalExpressToken { + """ + A set of URLs that allow the buyer to authorize payment and adjust checkout details. + """ + paypal_urls: PaypalExpressUrlList @deprecated(reason: "Use `PaypalExpressTokenOutput.paypal_urls` instead.") + """The token returned by PayPal.""" + token: String @deprecated(reason: "Use `PaypalExpressTokenOutput.token` instead.") +} + +""" +Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods. +""" +type PaypalExpressTokenOutput { + """ + A set of URLs that allow the buyer to authorize payment and adjust checkout details. + """ + paypal_urls: PaypalExpressUrlList + """The token returned by PayPal.""" + token: String +} + +""" +Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods. +""" +type PayflowLinkToken { + """The mode for the Payflow transaction.""" + mode: PayflowLinkMode + """The PayPal URL used for requesting a Payflow form.""" + paypal_url: String + """The secure token generated by PayPal.""" + secure_token: String + """The secure token ID generated by PayPal.""" + secure_token_id: String +} + +""" +Contains the secure URL used for the Payments Pro Hosted Solution payment method. +""" +type HostedProUrl { + """The secure URL generated by PayPal.""" + secure_form_url: String +} + +""" +Contains the required input to request the secure URL for Payments Pro Hosted Solution payment. +""" +input HostedProUrlInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! +} + +""" +Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method. +""" +input HostedProInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. For example, if the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the final confirmation page that PayPal redirects to upon payment success. For example, if the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! +} + +""" +Contains required input for Express Checkout and Payments Standard payments. +""" +input PaypalExpressInput { + """The unique ID of the PayPal user.""" + payer_id: String! + """The token returned by the `createPaypalExpressToken` mutation.""" + token: String! +} + +"""Contains required input for Payflow Express Checkout payments.""" +input PayflowExpressInput { + """The unique ID of the PayPal user.""" + payer_id: String! + """The token returned by the createPaypalExpressToken mutation.""" + token: String! +} + +""" +Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods. +""" +input PaypalExpressUrlsInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the page that PayPal redirects to when the payment has been put on hold for additional review. This condition mostly applies to ACH transactions, and is not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success_pending.html, the relative URL is paypal/action/success_pending.html. + """ + pending_url: String + """ + The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! + """ + The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. Not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success.html, the relative URL is paypal/action/success.html. + """ + success_url: String +} + +""" +Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions. +""" +type PaypalExpressUrlList { + """The PayPal URL that allows the buyer to edit their checkout details.""" + edit: String + """The URL to the PayPal login page.""" + start: String +} + +""" +A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods. +""" +input PayflowLinkInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. + """ + error_url: String! + """ + The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! +} + +""" +Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods. +""" +input PayflowLinkTokenInput { + """The unique ID that identifies the customer's cart.""" + cart_id: String! +} + +""" +Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods. +""" +enum PayflowLinkMode { + TEST + LIVE +} + +""" +Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods. +""" +input PayflowProTokenInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! + """A set of relative URLs that PayPal uses for callback.""" + urls: PayflowProUrlInput! +} + +"""Contains input for the Payflow Pro and Payments Pro payment methods.""" +input PayflowProInput { + """Required input for credit card related information.""" + cc_details: CreditCardDetailsInput! + """ + Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the PayPal Payflow Pro payment integration. + """ + is_active_payment_token_enabler: Boolean +} + +"""Required fields for Payflow Pro and Payments Pro credit card payments.""" +input CreditCardDetailsInput { + """The credit card expiration month.""" + cc_exp_month: Int! + """The credit card expiration year.""" + cc_exp_year: Int! + """The last 4 digits of the credit card.""" + cc_last_4: Int! + """The credit card type.""" + cc_type: String! +} + +""" +Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods. +""" +input PayflowProUrlInput { + """ + The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. + """ + cancel_url: String! + """ + The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. + """ + error_url: String! + """ + The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. + """ + return_url: String! +} + +""" +Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. +""" +type PayflowProToken { + """ + The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. + """ + response_message: String! + """A non-zero value if any errors occurred.""" + result: Int! + """ + The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. + """ + result_code: Int! + """A secure token generated by PayPal.""" + secure_token: String! + """A secure token ID generated by PayPal.""" + secure_token_id: String! +} + +""" +Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. +""" +type CreatePayflowProTokenOutput { + """ + The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. + """ + response_message: String! + """A non-zero value if any errors occurred.""" + result: Int! + """ + The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. + """ + result_code: Int! + """A secure token generated by PayPal.""" + secure_token: String! + """A secure token ID generated by PayPal.""" + secure_token_id: String! +} + +""" +Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods. +""" +input PayflowProResponseInput { + """The unique ID that identifies the shopper's cart.""" + cart_id: String! + """The payload returned from PayPal.""" + paypal_payload: String! +} + +type PayflowProResponseOutput { + """The cart with the updated selected payment method.""" + cart: Cart! +} + +"""Contains required input for payment methods with Vault support.""" +input VaultTokenInput { + """The public hash of the payment token.""" + public_hash: String! +} + +"""Contains the comment to be added to a purchase order.""" +input AddPurchaseOrderCommentInput { + """Comment text.""" + comment: String! + """The unique ID of a purchase order.""" + purchase_order_uid: ID! +} + +"""Contains the successfully added comment.""" +type AddPurchaseOrderCommentOutput { + """The purchase order comment.""" + comment: PurchaseOrderComment! +} + +"""Contains details about a purchase order.""" +type PurchaseOrder { + """The approval flows for each applied rules.""" + approval_flow: [PurchaseOrderRuleApprovalFlow]! + """ + Purchase order actions available to the customer. Can be used to display action buttons on the client. + """ + available_actions: [PurchaseOrderAction]! + """The set of comments applied to the purchase order.""" + comments: [PurchaseOrderComment]! + """The date the purchase order was created.""" + created_at: String! + """The company user who created the purchase order.""" + created_by: Customer + """The log of the events related to the purchase order.""" + history_log: [PurchaseOrderHistoryItem]! + """The purchase order number.""" + number: String! + """The reference to the order placed based on the purchase order.""" + order: CustomerOrder + """The quote related to the purchase order.""" + quote: Cart + """The current status of the purchase order.""" + status: PurchaseOrderStatus! + """A unique identifier for the purchase order.""" + uid: ID! + """The date the purchase order was last updated.""" + updated_at: String! +} + +"""Defines which purchase orders to act on.""" +input PurchaseOrdersActionInput { + """An array of purchase order UIDs.""" + purchase_order_uids: [ID]! +} + +"""Returns a list of updated purchase orders and any error messages.""" +type PurchaseOrdersActionOutput { + """An array of error messages encountered while performing the operation.""" + errors: [PurchaseOrderActionError]! + """A list of purchase orders.""" + purchase_orders: [PurchaseOrder]! +} + +"""Contains details about a failed action.""" +type PurchaseOrderActionError { + """The returned error message.""" + message: String! + """The error type.""" + type: PurchaseOrderErrorType! +} + +enum PurchaseOrderErrorType { + NOT_FOUND + OPERATION_NOT_APPLICABLE + COULD_NOT_SAVE + NOT_VALID_DATA + UNDEFINED +} + +enum PurchaseOrderAction { + REJECT + CANCEL + VALIDATE + APPROVE + PLACE_ORDER +} + +enum PurchaseOrderStatus { + PENDING + APPROVAL_REQUIRED + APPROVED + ORDER_IN_PROGRESS + ORDER_PLACED + ORDER_FAILED + REJECTED + CANCELED + APPROVED_PENDING_PAYMENT +} + +"""Contains details about a comment.""" +type PurchaseOrderComment { + """The user who left the comment.""" + author: Customer + """The date and time when the comment was created.""" + created_at: String! + """The text of the comment.""" + text: String! + """A unique identifier of the comment.""" + uid: ID! +} + +"""Contains details about a status change.""" +type PurchaseOrderHistoryItem { + """The activity type of the event.""" + activity: String! + """The date and time when the event happened.""" + created_at: String! + """The message representation of the event.""" + message: String! + """A unique identifier of the purchase order history item.""" + uid: ID! +} + +"""Defines the criteria to use to filter the list of purchase orders.""" +input PurchaseOrdersFilterInput { + """Include only purchase orders made by subordinate company users.""" + company_purchase_orders: Boolean + """Filter by the creation date of the purchase order.""" + created_date: FilterRangeTypeInput + """ + Include only purchase orders that are waiting for the customer’s approval. + """ + require_my_approval: Boolean + """Filter by the status of the purchase order.""" + status: PurchaseOrderStatus +} + +"""Contains a list of purchase orders.""" +type PurchaseOrders { + """Purchase orders matching the search criteria.""" + items: [PurchaseOrder]! + """Page information of search result's current page.""" + page_info: SearchResultPageInfo + """Total number of purchase orders found matching the search criteria.""" + total_count: Int +} + +"""Specifies the quote to be converted to a purchase order.""" +input PlacePurchaseOrderInput { + """The unique ID of a `Cart` object.""" + cart_id: String! +} + +"""Specifies the purchase order to convert to an order.""" +input PlaceOrderForPurchaseOrderInput { + """The unique ID of a purchase order.""" + purchase_order_uid: ID! +} + +"""Contains the results of the request to place a purchase order.""" +type PlacePurchaseOrderOutput { + """Placed purchase order.""" + purchase_order: PurchaseOrder! +} + +"""Contains the results of the request to place an order.""" +type PlaceOrderForPurchaseOrderOutput { + """Placed order.""" + order: CustomerOrder! +} + +"""Defines the purchase order and cart to act on.""" +input AddPurchaseOrderItemsToCartInput { + """The ID to assign to the cart.""" + cart_id: String! + """Purchase order unique ID.""" + purchase_order_uid: ID! + """Replace existing cart or merge items.""" + replace_existing_cart_items: Boolean! +} + +"""Defines the changes to be made to an approval rule.""" +input UpdatePurchaseOrderApprovalRuleInput { + """ + An updated list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. + """ + applies_to: [ID] + """ + An updated list of B2B user roles that can approve this purchase order approval rule. + """ + approvers: [ID] + """The updated condition of the purchase order approval rule.""" + condition: CreatePurchaseOrderApprovalRuleConditionInput + """The updated approval rule description.""" + description: String + """The updated approval rule name.""" + name: String + """The updated status of the purchase order approval rule.""" + status: PurchaseOrderApprovalRuleStatus + """Unique identifier for the purchase order approval rule.""" + uid: ID! +} + +"""Defines a new purchase order approval rule.""" +input PurchaseOrderApprovalRuleInput { + """ + A list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. + """ + applies_to: [ID]! + """ + A list of B2B user roles that can approve this purchase order approval rule. + """ + approvers: [ID]! + """The condition of the purchase order approval rule.""" + condition: CreatePurchaseOrderApprovalRuleConditionInput! + """A summary of the purpose of the purchase order approval rule.""" + description: String + """The purchase order approval rule name.""" + name: String! + """The status of the purchase order approval rule.""" + status: PurchaseOrderApprovalRuleStatus! +} + +"""Defines a set of conditions that apply to a rule.""" +input CreatePurchaseOrderApprovalRuleConditionInput { + """ + The amount to be compared in a purchase order approval rule. This field is mutually exclusive with condition quantity. + """ + amount: CreatePurchaseOrderApprovalRuleConditionAmountInput + """The type of approval rule.""" + attribute: PurchaseOrderApprovalRuleType! + """Defines how to evaluate an amount or quantity in a purchase order.""" + operator: PurchaseOrderApprovalRuleConditionOperator! + """ + The quantity to be compared in a purchase order approval rule. This field is mutually exclusive with condition amount. + """ + quantity: Int +} + +"""Specifies the amount and currency to evaluate.""" +input CreatePurchaseOrderApprovalRuleConditionAmountInput { + """Purchase order approval rule condition amount currency.""" + currency: CurrencyEnum! + """Purchase order approval rule condition amount value.""" + value: Float! +} + +"""Contains metadata that can be used to render rule edit forms.""" +type PurchaseOrderApprovalRuleMetadata { + """A list of B2B user roles that the rule can be applied to.""" + available_applies_to: [CompanyRole]! + """ + A list of currencies that can be used to create approval rules based on amounts, for example shipping cost rules. + """ + available_condition_currencies: [AvailableCurrency]! + """ + A list of B2B user roles that can be specified as approvers for the approval rules. + """ + available_requires_approval_from: [CompanyRole]! +} + +""" +Defines the code and symbol of a currency that can be used for purchase orders. +""" +type AvailableCurrency { + """3-letter currency code, for example USD.""" + code: CurrencyEnum! + """Currency symbol, for example $.""" + symbol: String! +} + +"""Contains the approval rules that the customer can see.""" +type PurchaseOrderApprovalRules { + """A list of purchase order approval rules visible to the customer.""" + items: [PurchaseOrderApprovalRule]! + """Result pagination details.""" + page_info: SearchResultPageInfo + """ + The total number of purchase order approval rules visible to the customer. + """ + total_count: Int +} + +"""Contains details about a purchase order approval rule.""" +type PurchaseOrderApprovalRule { + """ + The name of the user(s) affected by the the purchase order approval rule. + """ + applies_to_roles: [CompanyRole]! + """ + The name of the user who needs to approve purchase orders that trigger the approval rule. + """ + approver_roles: [CompanyRole]! + """Condition which triggers the approval rule.""" + condition: PurchaseOrderApprovalRuleConditionInterface + """The date the purchase order rule was created.""" + created_at: String! + """The name of the user who created the purchase order approval rule.""" + created_by: String! + """Description of the purchase order approval rule.""" + description: String + """The name of the purchase order approval rule.""" + name: String! + """The status of the purchase order approval rule.""" + status: PurchaseOrderApprovalRuleStatus! + """The unique identifier for the purchase order approval rule.""" + uid: ID! + """The date the purchase order rule was last updated.""" + updated_at: String! +} + +"""Purchase order rule condition details.""" +interface PurchaseOrderApprovalRuleConditionInterface { + """The type of purchase order approval rule.""" + attribute: PurchaseOrderApprovalRuleType + """The operator to be used for evaluating the approval rule condition.""" + operator: PurchaseOrderApprovalRuleConditionOperator +} + +""" +Contains approval rule condition details, including the amount to be evaluated. +""" +type PurchaseOrderApprovalRuleConditionAmount implements PurchaseOrderApprovalRuleConditionInterface { + """ + The amount to be be used for evaluation of the approval rule condition. + """ + amount: Money! + """The type of purchase order approval rule.""" + attribute: PurchaseOrderApprovalRuleType + """The operator to be used for evaluating the approval rule condition.""" + operator: PurchaseOrderApprovalRuleConditionOperator +} + +""" +Contains approval rule condition details, including the quantity to be evaluated. +""" +type PurchaseOrderApprovalRuleConditionQuantity implements PurchaseOrderApprovalRuleConditionInterface { + """The type of purchase order approval rule.""" + attribute: PurchaseOrderApprovalRuleType + """The operator to be used for evaluating the approval rule condition.""" + operator: PurchaseOrderApprovalRuleConditionOperator + """The quantity to be used for evaluation of the approval rule condition.""" + quantity: Int +} + +enum PurchaseOrderApprovalRuleConditionOperator { + MORE_THAN + LESS_THAN + MORE_THAN_OR_EQUAL_TO + LESS_THAN_OR_EQUAL_TO +} + +enum PurchaseOrderApprovalRuleStatus { + ENABLED + DISABLED +} + +enum PurchaseOrderApprovalRuleType { + GRAND_TOTAL + SHIPPING_INCL_TAX + NUMBER_OF_SKUS +} + +""" +Contains details about approval roles applied to the purchase order and status changes. +""" +type PurchaseOrderRuleApprovalFlow { + """The approval flow event related to the rule.""" + events: [PurchaseOrderApprovalFlowEvent]! + """The name of the applied rule.""" + rule_name: String! +} + +""" +Contains details about a single event in the approval flow of the purchase order. +""" +type PurchaseOrderApprovalFlowEvent { + """A formatted message.""" + message: String + """The approver name.""" + name: String + """The approver role.""" + role: String + """The status related to the event.""" + status: PurchaseOrderApprovalFlowItemStatus + """The date and time the event was updated.""" + updated_at: String +} + +enum PurchaseOrderApprovalFlowItemStatus { + PENDING + APPROVED + REJECTED +} + +"""Defines the purchase orders to be validated.""" +input ValidatePurchaseOrdersInput { + """An array of the purchase order IDs.""" + purchase_order_uids: [ID]! +} + +"""Contains the results of validation attempts.""" +type ValidatePurchaseOrdersOutput { + """An array of error messages encountered while performing the operation.""" + errors: [ValidatePurchaseOrderError]! + """An array of the purchase orders in the request.""" + purchase_orders: [PurchaseOrder]! +} + +"""Contains details about a failed validation attempt.""" +type ValidatePurchaseOrderError { + """The returned error message.""" + message: String! + """Error type.""" + type: ValidatePurchaseOrderErrorType! +} + +enum ValidatePurchaseOrderErrorType { + NOT_FOUND + OPERATION_NOT_APPLICABLE + COULD_NOT_SAVE + NOT_VALID_DATA + UNDEFINED +} + +"""Specifies the IDs of the approval rules to delete.""" +input DeletePurchaseOrderApprovalRuleInput { + """An array of purchase order approval rule IDs.""" + approval_rule_uids: [ID]! +} + +""" +Contains any errors encountered while attempting to delete approval rules. +""" +type DeletePurchaseOrderApprovalRuleOutput { + """An array of error messages encountered while performing the operation.""" + errors: [DeletePurchaseOrderApprovalRuleError]! +} + +""" +Contains details about an error that occurred when deleting an approval rule . +""" +type DeletePurchaseOrderApprovalRuleError { + """The text of the error message.""" + message: String + """The error type.""" + type: DeletePurchaseOrderApprovalRuleErrorType +} + +enum DeletePurchaseOrderApprovalRuleErrorType { + UNDEFINED + NOT_FOUND +} + +"""Assigns a specific `cart_id` to the empty cart.""" +input ClearCartInput { + """The unique ID of a `Cart` object.""" + uid: ID! +} + +"""Output of the request to clear the customer cart.""" +type ClearCartOutput { + """The cart after clear cart items.""" + cart: Cart + """An array of errors encountered while clearing the cart item""" + errors: [ClearCartError] +} + +"""Contains details about errors encountered when a customer clear cart.""" +type ClearCartError { + """A localized error message""" + message: String! + """A cart-specific error type.""" + type: ClearCartErrorType! +} + +enum ClearCartErrorType { + NOT_FOUND + UNAUTHORISED + INACTIVE + UNDEFINED +} + +enum ReCaptchaFormEnum { + PLACE_ORDER + CONTACT + CUSTOMER_LOGIN + CUSTOMER_FORGOT_PASSWORD + CUSTOMER_CREATE + CUSTOMER_EDIT + NEWSLETTER + PRODUCT_REVIEW + SENDFRIEND + BRAINTREE +} + +"""Contains reCAPTCHA V3-Invisible configuration details.""" +type ReCaptchaConfigurationV3 { + """The position of the invisible reCAPTCHA badge on each page.""" + badge_position: String! + """The message that appears to the user if validation fails.""" + failure_message: String! + """ + A list of forms on the storefront that have been configured to use reCAPTCHA V3. + """ + forms: [ReCaptchaFormEnum]! + """Return whether recaptcha is enabled or not""" + is_enabled: Boolean! + """ + A two-character code that specifies the language that is used for Google reCAPTCHA text and messaging. + """ + language_code: String + """ + The minimum score that identifies a user interaction as a potential risk. + """ + minimum_score: Float! + """ + The website key generated when the Google reCAPTCHA account was registered. + """ + website_key: String! +} + +""" +Contains details about configurable products added to a requisition list. +""" +type ConfigurableRequisitionListItem implements RequisitionListItemInterface { + """Selected configurable options for an item in the requisition list.""" + configurable_options: [SelectedConfigurableOption] + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """Details about a requisition list item.""" + product: ProductInterface! + """The quantity of the product added to the requisition list.""" + quantity: Float! + """The unique ID of an item in a requisition list.""" + uid: ID! +} + +"""Contains an array of product reviews.""" +type ProductReviews { + """An array of product reviews.""" + items: [ProductReview]! + """Metadata for pagination rendering.""" + page_info: SearchResultPageInfo! +} + +"""Contains details of a product review.""" +type ProductReview { + """The average of all ratings for this product.""" + average_rating: Float! + """The date the review was created.""" + created_at: String! + """The customer's nickname. Defaults to the customer name, if logged in.""" + nickname: String! + """The reviewed product.""" + product: ProductInterface! + """ + An array of ratings by rating category, such as quality, price, and value. + """ + ratings_breakdown: [ProductReviewRating]! + """The summary (title) of the review.""" + summary: String! + """The review text.""" + text: String! +} + +"""Contains data about a single aspect of a product review.""" +type ProductReviewRating { + """ + The label assigned to an aspect of a product that is being rated, such as quality or price. + """ + name: String! + """ + The rating value given by customer. By default, possible values range from 1 to 5. + """ + value: String! +} + +"""Contains an array of metadata about each aspect of a product review.""" +type ProductReviewRatingsMetadata { + """An array of product reviews sorted by position.""" + items: [ProductReviewRatingMetadata]! +} + +"""Contains details about a single aspect of a product review.""" +type ProductReviewRatingMetadata { + """An encoded rating ID.""" + id: String! + """ + The label assigned to an aspect of a product that is being rated, such as quality or price. + """ + name: String! + """List of product review ratings sorted by position.""" + values: [ProductReviewRatingValueMetadata]! +} + +"""Contains details about a single value in a product review.""" +type ProductReviewRatingValueMetadata { + """A ratings scale, such as the number of stars awarded.""" + value: String! + """An encoded rating value ID.""" + value_id: String! +} + +"""Contains the completed product review.""" +type CreateProductReviewOutput { + """Product review details.""" + review: ProductReview! +} + +"""Defines a new product review.""" +input CreateProductReviewInput { + """The customer's nickname. Defaults to the customer name, if logged in.""" + nickname: String! + """ + The ratings details by category. For example, Price: 5 stars, Quality: 4 stars, etc. + """ + ratings: [ProductReviewRatingInput]! + """The SKU of the reviewed product.""" + sku: String! + """The summary (title) of the review.""" + summary: String! + """The review text.""" + text: String! +} + +"""Contains the reviewer's rating for a single aspect of a review.""" +input ProductReviewRatingInput { + """An encoded rating ID.""" + id: String! + """An encoded rating value ID.""" + value_id: String! +} + +"""Contains details about a customer's reward points.""" +type RewardPoints { + """The current balance of reward points.""" + balance: RewardPointsAmount + """ + The balance history of reward points. If the ability for customers to view the balance history has been disabled in the Admin, this field will be set to null. + """ + balance_history: [RewardPointsBalanceHistoryItem] + """The current exchange rates for reward points.""" + exchange_rates: RewardPointsExchangeRates + """The subscription status of emails related to reward points.""" + subscription_status: RewardPointsSubscriptionStatus +} + +type RewardPointsAmount { + """The reward points amount in store currency.""" + money: Money! + """The reward points amount in points.""" + points: Float! +} + +""" +Lists the reward points exchange rates. The values depend on the customer group. +""" +type RewardPointsExchangeRates { + """How many points are earned for a given amount spent.""" + earning: RewardPointsRate + """ + How many points must be redeemed to get a given amount of currency discount at the checkout. + """ + redemption: RewardPointsRate +} + +"""Contains details about customer's reward points rate.""" +type RewardPointsRate { + """ + The money value for the exchange rate. For earnings, this is the amount spent to earn the specified points. For redemption, this is the amount of money the number of points represents. + """ + currency_amount: Float! + """ + The number of points for an exchange rate. For earnings, this is the number of points earned. For redemption, this is the number of points needed for redemption. + """ + points: Float! +} + +"""Indicates whether the customer subscribes to reward points emails.""" +type RewardPointsSubscriptionStatus { + """ + Indicates whether the customer subscribes to 'Reward points balance updates' emails. + """ + balance_updates: RewardPointsSubscriptionStatusesEnum! + """ + Indicates whether the customer subscribes to 'Reward points expiration notifications' emails. + """ + points_expiration_notifications: RewardPointsSubscriptionStatusesEnum! +} + +enum RewardPointsSubscriptionStatusesEnum { + SUBSCRIBED + NOT_SUBSCRIBED +} + +"""Contain details about the reward points transaction.""" +type RewardPointsBalanceHistoryItem { + """The award points balance after the completion of the transaction.""" + balance: RewardPointsAmount + """The reason the balance changed.""" + change_reason: String! + """The date of the transaction.""" + date: String! + """The number of points added or deducted in the transaction.""" + points_change: Float! +} + +"""Contains the customer cart.""" +type ApplyRewardPointsToCartOutput { + """The customer cart after reward points are applied.""" + cart: Cart! +} + +"""Contains the customer cart.""" +type RemoveRewardPointsFromCartOutput { + """The customer cart after reward points are removed.""" + cart: Cart! +} + +"""Contains information needed to start a return request.""" +input RequestReturnInput { + """ + Text the buyer entered that describes the reason for the refund request. + """ + comment_text: String + """ + The email address the buyer enters to receive notifications about the status of the return. + """ + contact_email: String + """An array of items to be returned.""" + items: [RequestReturnItemInput]! + """The unique ID for a `Order` object.""" + order_uid: ID! +} + +"""Contains details about an item to be returned.""" +input RequestReturnItemInput { + """Details about a custom attribute that was entered.""" + entered_custom_attributes: [EnteredCustomAttributeInput] + """The unique ID for a `OrderItemInterface` object.""" + order_item_uid: ID! + """The quantity of the item to be returned.""" + quantity_to_return: Float! + """ + An array of selected custom option IDs associated with the item to be returned. For example, the IDs for the selected color and size of a configurable product. + """ + selected_custom_attributes: [SelectedCustomAttributeInput] +} + +"""Contains details about a custom text attribute that the buyer entered.""" +input EnteredCustomAttributeInput { + """A string that identifies the entered custom attribute.""" + attribute_code: String! + """The text or other entered value.""" + value: String! +} + +"""Contains details about an attribute the buyer selected.""" +input SelectedCustomAttributeInput { + """A string that identifies the selected attribute.""" + attribute_code: String! + """ + The unique ID for a `CustomAttribute` object of a selected custom attribute. + """ + value: ID! +} + +"""Contains the response to a return request.""" +type RequestReturnOutput { + """Details about a single return request.""" + return: Return + """An array of return requests.""" + returns( + """ + Specifies the maximum number of results to return at once. The default is 20. + """ + pageSize: Int = 20 + """Specifies which page of results to return. The default is 1.""" + currentPage: Int = 1 + ): Returns +} + +"""Defines a return comment.""" +input AddReturnCommentInput { + """The text added to the return request.""" + comment_text: String! + """The unique ID for a `Return` object.""" + return_uid: ID! +} + +"""Contains details about the return request.""" +type AddReturnCommentOutput { + """The modified return.""" + return: Return +} + +"""Defines tracking information to be added to the return.""" +input AddReturnTrackingInput { + """The unique ID for a `ReturnShippingCarrier` object.""" + carrier_uid: ID! + """The unique ID for a `Returns` object.""" + return_uid: ID! + """The shipping tracking number for this return request.""" + tracking_number: String! +} + +"""Contains the response after adding tracking information.""" +type AddReturnTrackingOutput { + """Details about the modified return.""" + return: Return + """Details about shipping for a return.""" + return_shipping_tracking: ReturnShippingTracking +} + +"""Defines the tracking information to delete.""" +input RemoveReturnTrackingInput { + """The unique ID for a `ReturnShippingTracking` object.""" + return_shipping_tracking_uid: ID! +} + +"""Contains the response after deleting tracking information.""" +type RemoveReturnTrackingOutput { + """Contains details about the modified return.""" + return: Return +} + +"""Contains a list of customer return requests.""" +type Returns { + """A list of return requests.""" + items: [Return] + """Pagination metadata.""" + page_info: SearchResultPageInfo + """The total number of return requests.""" + total_count: Int +} + +"""Contains details about a return.""" +type Return { + """A list of shipping carriers available for returns.""" + available_shipping_carriers: [ReturnShippingCarrier] + """A list of comments posted for the return request.""" + comments: [ReturnComment] + """The date the return was requested.""" + created_at: String! + """Data from the customer who created the return request.""" + customer: ReturnCustomer! + """A list of items being returned.""" + items: [ReturnItem] + """A human-readable return number.""" + number: String! + """The order associated with the return.""" + order: CustomerOrder + """Shipping information for the return.""" + shipping: ReturnShipping + """The status of the return request.""" + status: ReturnStatus + """The unique ID for a `Return` object.""" + uid: ID! +} + +"""The customer information for the return.""" +type ReturnCustomer { + """The email address of the customer.""" + email: String! + """The first name of the customer.""" + firstname: String + """The last name of the customer.""" + lastname: String +} + +"""Contains details about a product being returned.""" +type ReturnItem { + """Return item custom attributes that are visible on the storefront.""" + custom_attributes: [ReturnCustomAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") + """Custom attributes that are visible on the storefront.""" + custom_attributesV2: [AttributeValueInterface] + """ + Provides access to the product being returned, including information about selected and entered options. + """ + order_item: OrderItemInterface! + """The quantity of the item the merchant authorized to be returned.""" + quantity: Float! + """The quantity of the item requested to be returned.""" + request_quantity: Float! + """The return status of the item.""" + status: ReturnItemStatus! + """The unique ID for a `ReturnItem` object.""" + uid: ID! +} + +"""Return Item attribute metadata.""" +type ReturnItemAttributeMetadata implements CustomAttributeMetadataInterface { + """ + The unique identifier for an attribute code. This value should be in lowercase letters without spaces. + """ + code: ID! + """Default attribute value.""" + default_value: String + """The type of entity that defines the attribute.""" + entity_type: AttributeEntityTypeEnum! + """The frontend class of the attribute.""" + frontend_class: String + """The frontend input type of the attribute.""" + frontend_input: AttributeFrontendInputEnum + """The template used for the input of the attribute (e.g., 'date').""" + input_filter: InputFilterEnum + """Whether the attribute value is required.""" + is_required: Boolean! + """Whether the attribute value must be unique.""" + is_unique: Boolean! + """The label assigned to the attribute.""" + label: String + """The number of lines of the attribute value.""" + multiline_count: Int + """Attribute options.""" + options: [CustomAttributeOptionInterface]! + """The position of the attribute in the form.""" + sort_order: Int + """The validation rules of the attribute value.""" + validate_rules: [ValidationRule] +} + +"""Contains details about a `ReturnCustomerAttribute` object.""" +type ReturnCustomAttribute { + """A description of the attribute.""" + label: String! + """The unique ID for a `ReturnCustomAttribute` object.""" + uid: ID! + """A JSON-encoded value of the attribute.""" + value: String! +} + +"""Contains details about a return comment.""" +type ReturnComment { + """The name or author who posted the comment.""" + author_name: String! + """The date and time the comment was posted.""" + created_at: String! + """The contents of the comment.""" + text: String! + """The unique ID for a `ReturnComment` object.""" + uid: ID! +} + +"""Contains details about the return shipping address.""" +type ReturnShipping { + """The merchant-defined return shipping address.""" + address: ReturnShippingAddress + """ + The unique ID for a `ReturnShippingTracking` object. If a single UID is specified, the array contains a single tracking record. Otherwise, array contains all tracking information. + """ + tracking(uid: ID): [ReturnShippingTracking] +} + +"""Contains details about the carrier on a return.""" +type ReturnShippingCarrier { + """A description of the shipping carrier.""" + label: String! + """ + The unique ID for a `ReturnShippingCarrier` object assigned to the shipping carrier. + """ + uid: ID! +} + +"""Contains shipping and tracking details.""" +type ReturnShippingTracking { + """Contains details of a shipping carrier.""" + carrier: ReturnShippingCarrier! + """Details about the status of a shipment.""" + status: ReturnShippingTrackingStatus + """A tracking number assigned by the carrier.""" + tracking_number: String! + """ + The unique ID for a `ReturnShippingTracking` object assigned to the tracking item. + """ + uid: ID! +} + +"""Contains the status of a shipment.""" +type ReturnShippingTrackingStatus { + """Text that describes the status.""" + text: String! + """Indicates whether the status type is informational or an error.""" + type: ReturnShippingTrackingStatusType! +} + +enum ReturnShippingTrackingStatusType { + INFORMATION + ERROR +} + +""" +Contains details about the shipping address used for receiving returned items. +""" +type ReturnShippingAddress { + """The city for product returns.""" + city: String! + """The merchant's contact person.""" + contact_name: String + """An object that defines the country for product returns.""" + country: Country! + """The postal code for product returns.""" + postcode: String! + """An object that defines the state or province for product returns.""" + region: Region! + """The street address for product returns.""" + street: [String]! + """The telephone number for product returns.""" + telephone: String +} + +enum ReturnStatus { + PENDING + AUTHORIZED + PARTIALLY_AUTHORIZED + RECEIVED + PARTIALLY_RECEIVED + APPROVED + PARTIALLY_APPROVED + REJECTED + PARTIALLY_REJECTED + DENIED + PROCESSED_AND_CLOSED + CLOSED +} + +enum ReturnItemStatus { + PENDING + AUTHORIZED + RECEIVED + APPROVED + REJECTED + DENIED +} + +"""Defines the wish list visibility types.""" +enum WishlistVisibilityEnum { + PUBLIC + PRIVATE +} + +"""Contains the wish list.""" +type CreateWishlistOutput { + """The newly-created wish list""" + wishlist: Wishlist! +} + +""" +Contains the status of the request to delete a wish list and an array of the customer's remaining wish lists. +""" +type DeleteWishlistOutput { + """Indicates whether the wish list was deleted.""" + status: Boolean! + """A list of undeleted wish lists.""" + wishlists: [Wishlist]! +} + +"""Contains the source and target wish lists after copying products.""" +type CopyProductsBetweenWishlistsOutput { + """The destination wish list containing the copied products.""" + destination_wishlist: Wishlist! + """The wish list that the products were copied from.""" + source_wishlist: Wishlist! + """An array of errors encountered while copying products in a wish list.""" + user_errors: [WishListUserInputError]! +} + +"""Specifies the IDs of items to copy and their quantities.""" +input WishlistItemCopyInput { + """ + The quantity of this item to copy to the destination wish list. This value can't be greater than the quantity in the source wish list. + """ + quantity: Float + """The unique ID of the `WishlistItemInterface` object to be copied.""" + wishlist_item_id: ID! +} + +"""Specifies the IDs of the items to move and their quantities.""" +input WishlistItemMoveInput { + """ + The quantity of this item to move to the destination wish list. This value can't be greater than the quantity in the source wish list. + """ + quantity: Float + """The unique ID of the `WishlistItemInterface` object to be moved.""" + wishlist_item_id: ID! +} + +"""Defines the name and visibility of a new wish list.""" +input CreateWishlistInput { + """The name of the new wish list.""" + name: String! + """Indicates whether the wish list is public or private.""" + visibility: WishlistVisibilityEnum! +} + +"""Contains the name and visibility of an updated wish list.""" +type UpdateWishlistOutput { + """The wish list name.""" + name: String! + """The unique ID of a `Wishlist` object.""" + uid: ID! + """Indicates whether the wish list is public or private.""" + visibility: WishlistVisibilityEnum! +} + +"""Contains the source and target wish lists after moving products.""" +type MoveProductsBetweenWishlistsOutput { + """ + The destination wish list after receiving products moved from the source wish list. + """ + destination_wishlist: Wishlist! + """The source wish list after moving products from it.""" + source_wishlist: Wishlist! + """An array of errors encountered while moving products to a wish list.""" + user_errors: [WishListUserInputError]! +} + +type SearchTerm { + """Containes the popularity of the selected Search Term""" + popularity: Int + """Containes the query_text of the selected Search Term""" + query_text: String + """Containes the Url of the selected Search Term""" + redirect: String +} + +"""Defines the referenced product and the email sender and recipients.""" +input SendEmailToFriendInput { + """The ID of the product that the sender is referencing.""" + product_id: Int! + """An array containing information about each recipient.""" + recipients: [SendEmailToFriendRecipientInput]! + """Information about the customer and the content of the message.""" + sender: SendEmailToFriendSenderInput! +} + +"""Contains details about the sender.""" +input SendEmailToFriendSenderInput { + """The email address of the sender.""" + email: String! + """The text of the message to be sent.""" + message: String! + """The name of the sender.""" + name: String! +} + +"""Contains details about a recipient.""" +input SendEmailToFriendRecipientInput { + """The email address of the recipient.""" + email: String! + """The name of the recipient.""" + name: String! +} + +"""Contains information about the sender and recipients.""" +type SendEmailToFriendOutput { + """An array containing information about each recipient.""" + recipients: [SendEmailToFriendRecipient] + """Information about the customer and the content of the message.""" + sender: SendEmailToFriendSender +} + +"""An output object that contains information about the sender.""" +type SendEmailToFriendSender { + """The email address of the sender.""" + email: String! + """The text of the message to be sent.""" + message: String! + """The name of the sender.""" + name: String! +} + +"""An output object that contains information about the recipient.""" +type SendEmailToFriendRecipient { + """The email address of the recipient.""" + email: String! + """The name of the recipient.""" + name: String! +} + +""" +Contains details about the configuration of the Email to a Friend feature. +""" +type SendFriendConfiguration { + """Indicates whether the Email to a Friend feature is enabled.""" + enabled_for_customers: Boolean! + """Indicates whether the Email to a Friend feature is enabled for guests.""" + enabled_for_guests: Boolean! +} + +""" +Deprecated. Use `TierPrice` instead. Defines a tier price, which is a quantity discount offered to a specific customer group. +""" +type ProductTierPrices { + """The ID of the customer group.""" + customer_group_id: String @deprecated(reason: "Not relevant for the storefront.") + """The percentage discount of the item.""" + percentage_value: Float @deprecated(reason: "Use `TierPrice.discount` instead.") + """ + The number of items that must be purchased to qualify for tier pricing. + """ + qty: Float @deprecated(reason: "Use `TierPrice.quantity` instead.") + """The price of the fixed price item.""" + value: Float @deprecated(reason: "Use `TierPrice.final_price` instead.") + """The ID assigned to the website.""" + website_id: Float @deprecated(reason: "Not relevant for the storefront.") +} + +"""Defines a price based on the quantity purchased.""" +type TierPrice { + """The price discount that this tier represents.""" + discount: ProductDiscount + """The price of the product at this tier.""" + final_price: Money + """ + The minimum number of items that must be purchased to qualify for this price tier. + """ + quantity: Float +} + +interface SwatchLayerFilterItemInterface { + """Data required to render a swatch filter item.""" + swatch_data: SwatchData +} + +type SwatchLayerFilterItem implements LayerFilterItemInterface & SwatchLayerFilterItemInterface { + """The count of items per filter.""" + items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") + """The label for a filter.""" + label: String @deprecated(reason: "Use `AggregationOption.label` instead.") + """Data required to render a swatch filter item.""" + swatch_data: SwatchData + """The value of a filter request variable to be used in query.""" + value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") +} + +"""Describes the swatch type and a value.""" +type SwatchData { + """The type of swatch filter item: 1 - text; 2 - image.""" + type: String + """The value for the swatch item. It could be text or an image link.""" + value: String +} + +interface SwatchDataInterface { + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +type ImageSwatchData implements SwatchDataInterface { + """The URL assigned to the thumbnail of the swatch image.""" + thumbnail: String + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +type TextSwatchData implements SwatchDataInterface { + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +type ColorSwatchData implements SwatchDataInterface { + """The value can be represented as color (HEX code), image link, or text.""" + value: String +} + +"""Swatch attribute metadata input types.""" +enum SwatchInputTypeEnum { + BOOLEAN + DATE + DATETIME + DROPDOWN + FILE + GALLERY + HIDDEN + IMAGE + MEDIA_IMAGE + MULTILINE + MULTISELECT + PRICE + SELECT + TEXT + TEXTAREA + UNDEFINED + VISUAL + WEIGHT +} + +enum TaxWrappingEnum { + DISPLAY_EXCLUDING_TAX + DISPLAY_INCLUDING_TAX + DISPLAY_TYPE_BOTH +} + +""" +Indicates whether the request succeeded and returns the remaining customer payment tokens. +""" +type DeletePaymentTokenOutput { + """A container for the customer's remaining payment tokens.""" + customerPaymentTokens: CustomerPaymentTokens + """Indicates whether the request succeeded.""" + result: Boolean! +} + +"""Contains payment tokens stored in the customer's vault.""" +type CustomerPaymentTokens { + """An array of payment tokens.""" + items: [PaymentToken]! +} + +"""The stored payment method available to the customer.""" +type PaymentToken { + """A description of the stored account details.""" + details: String + """The payment method code associated with the token.""" + payment_method_code: String! + """The public hash of the token.""" + public_hash: String! + """Specifies the payment token type.""" + type: PaymentTokenTypeEnum! +} + +"""The list of available payment token types.""" +enum PaymentTokenTypeEnum { + """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" + card + """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" + account +} + +"""A single FPT that can be applied to a product price.""" +type FixedProductTax { + """The amount of the Fixed Product Tax.""" + amount: Money + """The display label assigned to the Fixed Product Tax.""" + label: String +} + +"""Lists display settings for the Fixed Product Tax.""" +enum FixedProductTaxDisplaySettings { + """ + The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to 'Including FPT only'. + """ + INCLUDE_FPT_WITHOUT_DETAILS + """ + The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to 'Including FPT and FPT description'. + """ + INCLUDE_FPT_WITH_DETAILS + """ + The displayed price does not include the FPT amount. The values of `ProductPrice.fixed_product_taxes` and the price including the FPT are displayed separately. This value corresponds to 'Excluding FPT, Including FPT description and final price.' + """ + EXCLUDE_FPT_AND_INCLUDE_WITH_DETAILS + """ + The displayed price does not include the FPT amount. The values from `ProductPrice.fixed_product_taxes` are not displayed. This value corresponds to 'Excluding FPT'. + """ + EXCLUDE_FPT_WITHOUT_DETAILS + """ + The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query. + """ + FPT_DISABLED +} + +type UiAttributeTypeFixedProductTax implements UiInputTypeInterface { + """Indicates whether the attribute value allowed to have html content.""" + is_html_allowed: Boolean + """The frontend input type of the attribute.""" + ui_input_type: UiInputTypeEnum +} + +"""Contains details about gift cards added to a requisition list.""" +type GiftCardRequisitionListItem implements RequisitionListItemInterface { + """Selected custom options for an item in the requisition list.""" + customizable_options: [SelectedCustomizableOption]! + """An array that defines gift card properties.""" + gift_card_options: GiftCardOptions! + """Details about a requisition list item.""" + product: ProductInterface! + """The amount added.""" + quantity: Float! + """The unique ID for the requisition list item.""" + uid: ID! +} + +input BraintreeInput { + """ + Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway. + """ + device_data: String + """ + States whether the payment details (Credit/Debit Card, PayPal Account) entered by a customer should be tokenized for later usage. Required only if Vault is enabled for the relevant Braintree payment integration. + """ + is_active_payment_token_enabler: Boolean! + """ + The one-time payment token generated by Braintree payment gateway based on payment details (Card, PayPal). Required field to make sale transaction. + """ + payment_method_nonce: String! +} + +input BraintreeCcVaultInput { + device_data: String + public_hash: String! +} + +input BraintreeVaultInput { + device_data: String + public_hash: String! +} \ No newline at end of file diff --git a/.mesh/sources/AdobeCommerceAPI/types.js b/.mesh/sources/AdobeCommerceAPI/types.js new file mode 100644 index 00000000..d7cea79c --- /dev/null +++ b/.mesh/sources/AdobeCommerceAPI/types.js @@ -0,0 +1,3 @@ +"use strict"; +// @ts-nocheck +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js index 78d237cd..e7c46865 100644 --- a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -24,7 +24,7 @@ jest.mock('../../../helpers', () => ({ initSdk: jest.fn().mockResolvedValue({}), initRequestId: jest.fn().mockResolvedValue({}), promptConfirm: jest.fn().mockResolvedValue(true), - promptSelect: jest.fn().mockResolvedValue('newrelic'), + promptSelect: jest.fn().mockResolvedValue('New Relic'), promptInput: jest.fn().mockResolvedValue('https://log-api.newrelic.com/log/v1'), promptInputSecret: jest.fn().mockResolvedValue('abcdef0123456789abcdef0123456789abcdef01'), })); @@ -68,13 +68,15 @@ describe('SetLogForwardingCommand', () => { jest.clearAllMocks(); }); - describe('Test newrelic destination', () => { + describe('Test New Relic destination', () => { /** Success Scenario */ test('sets log forwarding with valid parameters', async () => { const command = new SetLogForwardingCommand([], {}); await command.run(); - expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); + expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', [ + 'New Relic', + ]); expect(promptInput).toHaveBeenCalledWith('Enter base URI:'); expect(promptInputSecret).toHaveBeenCalledWith('Enter license key:'); expect(setLogForwarding).toHaveBeenCalledWith( @@ -90,7 +92,7 @@ describe('SetLogForwardingCommand', () => { }, }, ); - expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); + expect(logSpy).toHaveBeenCalledWith('Log forwarding set successfully for meshId'); }); /** Error Scenarios */ @@ -136,7 +138,9 @@ describe('SetLogForwardingCommand', () => { const command = new SetLogForwardingCommand([], {}); await command.run(); - expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', ['newrelic']); + expect(promptSelect).toHaveBeenCalledWith('Select log forwarding destination:', [ + 'New Relic', + ]); }); test('throws an error if destination selection is cancelled', async () => { @@ -225,7 +229,7 @@ describe('SetLogForwardingCommand', () => { }, }, ); - expect(logSpy).toHaveBeenCalledWith('Log forwarding successfully.'); + expect(logSpy).toHaveBeenCalledWith('Log forwarding set successfully for meshId'); }); test('logs error message when setLogForwarding fails', async () => { diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index 3a403a7f..39c58ae8 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -88,7 +88,7 @@ class SetLogForwardingCommand extends Command { destinationConfig, ); if (response && response.result) { - this.log('Log forwarding successfully.'); + this.log(`Log forwarding set successfully for ${meshId}`); return { destinationConfig, imsOrgCode, projectId, workspaceId, workspaceName }; } else { this.error( @@ -145,7 +145,7 @@ class SetLogForwardingCommand extends Command { SetLogForwardingCommand.description = `Sets the log forwarding destination for API mesh. - Select a log forwarding destination: Choose from available options ( example : newrelic). -- Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : \`https://www.adobe.com\`). -- Enter the license key: Provide the license key for authentication with the log forwarding service. The key must be 40 characters long.`; +- Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : If the hosted region of New Relic account is U.S, the base URI can be 'https://log-api.newrelic.com/log/v1'). +- Enter the license key: Provide the INGEST-LICENSE API key type.`; module.exports = SetLogForwardingCommand; diff --git a/src/utils.js b/src/utils.js index e4e18bb9..d989dff0 100644 --- a/src/utils.js +++ b/src/utils.js @@ -104,10 +104,10 @@ const logFilenameFlag = Flags.string({ // Each destination can have different key/value pairs of configuration credentials. // and applies the validation logic accordingly. const destinations = { - // Configuration for the 'newrelic' destination - newrelic: { - name: 'newrelic', - // Required inputs for the 'newrelic' destination + // Configuration for the 'New Relic' destination + 'New Relic': { + name: 'newrelic', // internal value that will be used + // Required inputs for the 'New Relic' destination inputs: [ { name: 'baseUri', From f39d3936d5bea1a86cfa53e15e26a7addc9e0cd3 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 26 Mar 2025 16:46:58 +0530 Subject: [PATCH 10/57] chore: removed local files --- .mesh/.meshrc.json | 1 - .mesh/index.js | 213 - .mesh/package.json | 1 - .mesh/schema.graphql | 14556 -- .../AdobeCommerceAPI/introspectionSchema.js | 126338 --------------- .mesh/sources/AdobeCommerceAPI/schema.graphql | 14556 -- .mesh/sources/AdobeCommerceAPI/types.js | 3 - 7 files changed, 155668 deletions(-) delete mode 100755 .mesh/.meshrc.json delete mode 100644 .mesh/index.js delete mode 100644 .mesh/package.json delete mode 100644 .mesh/schema.graphql delete mode 100644 .mesh/sources/AdobeCommerceAPI/introspectionSchema.js delete mode 100644 .mesh/sources/AdobeCommerceAPI/schema.graphql delete mode 100644 .mesh/sources/AdobeCommerceAPI/types.js diff --git a/.mesh/.meshrc.json b/.mesh/.meshrc.json deleted file mode 100755 index f3b17a04..00000000 --- a/.mesh/.meshrc.json +++ /dev/null @@ -1 +0,0 @@ -{"sources":[{"name":"AdobeCommerceAPI","handler":{"graphql":{"endpoint":"https://venia.magento.com/graphql"}}}],"plugins":[{"httpDetailsExtensions":{}}],"additionalResolvers":[]} \ No newline at end of file diff --git a/.mesh/index.js b/.mesh/index.js deleted file mode 100644 index 7396b5f6..00000000 --- a/.mesh/index.js +++ /dev/null @@ -1,213 +0,0 @@ -"use strict"; -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (g && (g = 0, op[0] && (_ = 0)), _) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.subscribe = exports.execute = exports.getBuiltMesh = exports.createBuiltMeshHTTPHandler = exports.getMeshOptions = exports.rawServeConfig = void 0; -var utils_1 = require("@graphql-mesh/utils"); -var utils_2 = require("@graphql-mesh/utils"); -var cache_localforage_1 = __importDefault(require("@graphql-mesh/cache-localforage")); -var fetch_1 = require("@whatwg-node/fetch"); -var graphql_1 = __importDefault(require("@graphql-mesh/graphql")); -var plugin_http_details_extensions_1 = __importDefault(require("../src/plugins/httpDetailsExtensions")); -var merger_bare_1 = __importDefault(require("@graphql-mesh/merger-bare")); -var http_1 = require("@graphql-mesh/http"); -var runtime_1 = require("@graphql-mesh/runtime"); -var store_1 = require("@graphql-mesh/store"); -var cross_helpers_1 = require("@graphql-mesh/cross-helpers"); -var importedModule$0 = __importStar(require("./sources/AdobeCommerceAPI/introspectionSchema")); -var baseDir = cross_helpers_1.path.join(typeof __dirname === 'string' ? __dirname : '/', '..'); -var importFn = function (moduleId) { - var relativeModuleId = (cross_helpers_1.path.isAbsolute(moduleId) ? cross_helpers_1.path.relative(baseDir, moduleId) : moduleId).split('\\').join('/').replace(baseDir + '/', ''); - switch (relativeModuleId) { - case ".mesh/sources/AdobeCommerceAPI/introspectionSchema": - return Promise.resolve(importedModule$0); - default: - return Promise.reject(new Error("Cannot find module '".concat(relativeModuleId, "'."))); - } -}; -var rootStore = new store_1.MeshStore('.mesh', new store_1.FsStoreStorageAdapter({ - cwd: baseDir, - importFn: importFn, - fileType: "ts", -}), { - readonly: true, - validate: false -}); -exports.rawServeConfig = undefined; -function getMeshOptions() { - return __awaiter(this, void 0, Promise, function () { - var pubsub, sourcesStore, logger, cache, sources, transforms, additionalEnvelopPlugins, adobeCommerceApiTransforms, additionalTypeDefs, adobeCommerceApiHandler, _a, _b, additionalResolvers, merger; - return __generator(this, function (_c) { - switch (_c.label) { - case 0: - pubsub = new utils_1.PubSub(); - sourcesStore = rootStore.child('sources'); - logger = new utils_2.DefaultLogger("🕸️ Mesh"); - cache = new cache_localforage_1.default(__assign(__assign({}, {}), { importFn: importFn, store: rootStore.child('cache'), pubsub: pubsub, logger: logger })); - sources = []; - transforms = []; - additionalEnvelopPlugins = []; - adobeCommerceApiTransforms = []; - additionalTypeDefs = []; - adobeCommerceApiHandler = new graphql_1.default({ - name: "AdobeCommerceAPI", - config: { "endpoint": "https://venia.magento.com/graphql" }, - baseDir: baseDir, - cache: cache, - pubsub: pubsub, - store: sourcesStore.child("AdobeCommerceAPI"), - logger: logger.child("AdobeCommerceAPI"), - importFn: importFn, - }); - sources[0] = { - name: 'AdobeCommerceAPI', - handler: adobeCommerceApiHandler, - transforms: adobeCommerceApiTransforms - }; - _a = additionalEnvelopPlugins; - _b = 0; - return [4 /*yield*/, (0, plugin_http_details_extensions_1.default)(__assign(__assign({}, ({})), { logger: logger.child("httpDetailsExtensions"), cache: cache, pubsub: pubsub, baseDir: baseDir, importFn: importFn }))]; - case 1: - _a[_b] = _c.sent(); - additionalResolvers = []; - merger = new merger_bare_1.default({ - cache: cache, - pubsub: pubsub, - logger: logger.child('bareMerger'), - store: rootStore.child('bareMerger') - }); - return [2 /*return*/, { - sources: sources, - transforms: transforms, - additionalTypeDefs: additionalTypeDefs, - additionalResolvers: additionalResolvers, - cache: cache, - pubsub: pubsub, - merger: merger, - logger: logger, - additionalEnvelopPlugins: additionalEnvelopPlugins, - get documents() { - return []; - }, - fetchFn: fetch_1.fetch, - }]; - } - }); - }); -} -exports.getMeshOptions = getMeshOptions; -function createBuiltMeshHTTPHandler() { - return (0, http_1.createMeshHTTPHandler)({ - baseDir: baseDir, - getBuiltMesh: getBuiltMesh, - rawServeConfig: undefined, - }); -} -exports.createBuiltMeshHTTPHandler = createBuiltMeshHTTPHandler; -var meshInstance$; -function getBuiltMesh() { - if (meshInstance$ == null) { - meshInstance$ = getMeshOptions().then(function (meshOptions) { return (0, runtime_1.getMesh)(meshOptions); }).then(function (mesh) { - var id = mesh.pubsub.subscribe('destroy', function () { - meshInstance$ = undefined; - mesh.pubsub.unsubscribe(id); - }); - return mesh; - }); - } - return meshInstance$; -} -exports.getBuiltMesh = getBuiltMesh; -var execute = function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return getBuiltMesh().then(function (_a) { - var execute = _a.execute; - return execute.apply(void 0, args); - }); -}; -exports.execute = execute; -var subscribe = function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return getBuiltMesh().then(function (_a) { - var subscribe = _a.subscribe; - return subscribe.apply(void 0, args); - }); -}; -exports.subscribe = subscribe; diff --git a/.mesh/package.json b/.mesh/package.json deleted file mode 100644 index c759ce69..00000000 --- a/.mesh/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"mesh-artifacts","private":true,"type":"commonjs","main":"index.js","module":"index.mjs","sideEffects":false,"typings":"index.d.ts","typescript":{"definition":"index.d.ts"},"exports":{".":{"require":"./index.js","import":"./index.mjs"},"./*":{"require":"./*.js","import":"./*.mjs"}}} \ No newline at end of file diff --git a/.mesh/schema.graphql b/.mesh/schema.graphql deleted file mode 100644 index 30ced4f2..00000000 --- a/.mesh/schema.graphql +++ /dev/null @@ -1,14556 +0,0 @@ -schema { - query: Query - mutation: Mutation -} - -type Query { - """ - Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options. - """ - attributesForm( - """Form code.""" - formCode: String! - ): AttributesFormOutput! - """Returns a list of attributes metadata for a given entity type.""" - attributesList( - """Entity type.""" - entityType: AttributeEntityTypeEnum! - """Identifies which filter inputs to search for and return.""" - filters: AttributeFilterInput - ): AttributesMetadataOutput - """ - Return details about custom EAV attributes, and optionally, system attributes. - """ - attributesMetadata( - """The type of entity to search.""" - entityType: AttributeEntityTypeEnum! - """An array of attribute IDs to search.""" - attributeUids: [ID!] - """Indicates whether to return matching system attributes as well.""" - showSystemAttributes: Boolean - ): AttributesMetadata @deprecated(reason: "Use Adobe Commerce `customAttributeMetadataV2` query instead") - """Get a list of available store views and their config information.""" - availableStores( - """Filter store views by the current store group.""" - useCurrentGroup: Boolean - ): [StoreConfig] - """Return information about the specified shopping cart.""" - cart( - """The unique ID of the cart to query.""" - cart_id: String! - ): Cart - """Return a list of categories that match the specified filter.""" - categories( - """Identifies which Category filter inputs to search for and return.""" - filters: CategoryFilterInput - """ - Specifies the maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): CategoryResult - """ - Search for categories that match the criteria specified in the `search` and `filter` attributes. - """ - category( - """The category ID to use as the root of the search.""" - id: Int - ): CategoryTree @deprecated(reason: "Use `categories` instead.") - """Return an array of categories based on the specified filters.""" - categoryList( - """Identifies which Category filter inputs to search for and return.""" - filters: CategoryFilterInput - """ - Specifies the maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): [CategoryTree] @deprecated(reason: "Use `categories` instead.") - """Return Terms and Conditions configuration information.""" - checkoutAgreements: [CheckoutAgreement] - """Return information about CMS blocks.""" - cmsBlocks( - """An array of CMS block IDs.""" - identifiers: [String] - ): CmsBlocks - """Return details about a CMS page.""" - cmsPage( - """The ID of the CMS page.""" - id: Int - """The identifier of the CMS page.""" - identifier: String - ): CmsPage - """ - Return detailed information about the customer's company within the current company context. - """ - company: Company - """Return products that have been added to the specified compare list.""" - compareList( - """The unique ID of the compare list to be queried.""" - uid: ID! - ): CompareList - """The countries query provides information for all countries.""" - countries: [Country] - """The countries query provides information for a single country.""" - country(id: String): Country - """Return information about the store's currency.""" - currency: Currency - """Return the attribute type, given an attribute code and entity type.""" - customAttributeMetadata( - """ - An input object that specifies the attribute code and entity type to search. - """ - attributes: [AttributeInput!]! - ): CustomAttributeMetadata @deprecated(reason: "Use `customAttributeMetadataV2` query instead.") - """Retrieve EAV attributes metadata.""" - customAttributeMetadataV2(attributes: [AttributeInput!]): AttributesMetadataOutput! - """Return detailed information about a customer account.""" - customer: Customer - """Return information about the customer's shopping cart.""" - customerCart: Cart! - """Return a list of downloadable products the customer has purchased.""" - customerDownloadableProducts: CustomerDownloadableProducts - customerOrders: CustomerOrders @deprecated(reason: "Use the `customer` query instead.") - """Return a list of customer payment tokens stored in the vault.""" - customerPaymentTokens: CustomerPaymentTokens - """Return a list of dynamic blocks filtered by type, location, or UIDs.""" - dynamicBlocks( - """Defines the filter for returning matching dynamic blocks.""" - input: DynamicBlocksFilterInput - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): DynamicBlocks! - """ - Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction. - """ - getHostedProUrl( - """An input object that specifies the cart ID.""" - input: HostedProUrlInput! - ): HostedProUrl - """ - Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods. - """ - getPayflowLinkToken( - """ - An input object that defines the requirements to receive a payment token. - """ - input: PayflowLinkTokenInput! - ): PayflowLinkToken - """Retrieves the payment configuration for a given location""" - getPaymentConfig( - """Defines the origin location for that payment request""" - location: PaymentLocation! - ): PaymentConfigOutput - """Retrieves the payment details for the order""" - getPaymentOrder( - """The customer cart ID""" - cartId: String! - """PayPal order ID""" - id: String! - ): PaymentOrderOutput - """Gets the payment SDK urls and values""" - getPaymentSDK( - """Defines the origin location for that payment request""" - location: PaymentLocation! - ): GetPaymentSDKOutput - """Retrieves the vault configuration""" - getVaultConfig: VaultConfigOutput - """Return details about a specific gift card.""" - giftCardAccount( - """An input object that specifies the gift card code.""" - input: GiftCardAccountInput! - ): GiftCardAccount - """ - Return the specified gift registry. Some details will not be available to guests. - """ - giftRegistry( - """The unique ID of the registry to search for.""" - giftRegistryUid: ID! - ): GiftRegistry - """Search for gift registries by specifying a registrant email address.""" - giftRegistryEmailSearch( - """The registrant's email.""" - email: String! - ): [GiftRegistrySearchResult] - """Search for gift registries by specifying a registry URL key.""" - giftRegistryIdSearch( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - ): [GiftRegistrySearchResult] - """ - Search for gift registries by specifying the registrant name and registry type ID. - """ - giftRegistryTypeSearch( - """The first name of the registrant.""" - firstName: String! - """The last name of the registrant.""" - lastName: String! - """The type UID of the registry.""" - giftRegistryTypeUid: ID - ): [GiftRegistrySearchResult] - """Get a list of available gift registry types.""" - giftRegistryTypes: [GiftRegistryType] - """Retrieve guest order details based on number, email and postcode.""" - guestOrder(input: OrderInformationInput!): CustomerOrder! - """Retrieve guest order details based on token.""" - guestOrderByToken(input: OrderTokenInput!): CustomerOrder! - """ - Check whether the specified email can be used to register a company admin. - """ - isCompanyAdminEmailAvailable(email: String!): IsCompanyAdminEmailAvailableOutput - """ - Check whether the specified email can be used to register a new company. - """ - isCompanyEmailAvailable(email: String!): IsCompanyEmailAvailableOutput - """Check whether the specified role name is valid for the company.""" - isCompanyRoleNameAvailable(name: String!): IsCompanyRoleNameAvailableOutput - """ - Check whether the specified email can be used to register a company user. - """ - isCompanyUserEmailAvailable(email: String!): IsCompanyUserEmailAvailableOutput - """ - Check whether the specified email has already been used to create a customer account. - """ - isEmailAvailable( - """The email address to check.""" - email: String! - ): IsEmailAvailableOutput - """Retrieve the specified negotiable quote.""" - negotiableQuote(uid: ID!): NegotiableQuote - """Retrieve the specified negotiable quote template.""" - negotiableQuoteTemplate(templateId: ID!): NegotiableQuoteTemplate - """ - Return a list of negotiable quote templates that can be viewed by the logged-in customer. - """ - negotiableQuoteTemplates( - """ - The filter to use to determine which negotiable quote templates to return. - """ - filter: NegotiableQuoteTemplateFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteTemplateSortInput - ): NegotiableQuoteTemplatesOutput - """ - Return a list of negotiable quotes that can be viewed by the logged-in customer. - """ - negotiableQuotes( - """The filter to use to determine which negotiable quotes to return.""" - filter: NegotiableQuoteFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteSortInput - ): NegotiableQuotesOutput - """ - The pickup locations query searches for locations that match the search request requirements. - """ - pickupLocations( - """Perform search by location using radius and search term.""" - area: AreaInput - """Apply filters by attributes.""" - filters: PickupLocationFilterInput - """ - Specifies which attribute to sort on, and whether to return the results in ascending or descending order. - """ - sort: PickupLocationSortInput - """ - The maximum number of pickup locations to return at once. The attribute is optional. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - """Information about products which should be delivered.""" - productsInfo: [ProductInfoInput] - ): PickupLocations - """ - Return the active ratings attributes and the values each rating can have. - """ - productReviewRatingsMetadata: ProductReviewRatingsMetadata! - """ - Search for products that match the criteria specified in the `search` and `filter` attributes. - """ - products( - """One or more keywords to use in a full-text search.""" - search: String - """The product attributes to search for and return.""" - filter: ProductAttributeFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - Specifies which attributes to sort on, and whether to return the results in ascending or descending order. - """ - sort: ProductAttributeSortInput - ): Products - """Returns details about Google reCAPTCHA V3-Invisible configuration.""" - recaptchaV3Config: ReCaptchaConfigurationV3 - """ - Return the full details for a specified product, category, or CMS page. - """ - route( - """A `url_key` appended by the `url_suffix, if one exists.""" - url: String! - ): RoutableInterface - searchTerm( - """An input of Search Term""" - Search: String - ): SearchTerm - """Return details about the store's configuration.""" - storeConfig: StoreConfig - """Return the relative URL for a specified product, category or CMS page.""" - urlResolver( - """A `url_key` appended by the `url_suffix, if one exists.""" - url: String! - ): EntityUrl @deprecated(reason: "Use the `route` query instead.") - """Return the contents of a customer's wish list.""" - wishlist: WishlistOutput @deprecated(reason: "Moved under `Customer.wishlist`.") -} - -type Mutation { - """Accept invitation to the company.""" - acceptCompanyInvitation(input: CompanyInvitationInput!): CompanyInvitationOutput - """Update an existing negotiable quote template.""" - acceptNegotiableQuoteTemplate( - """ - An input object that contains the data to update a negotiable quote template. - """ - input: AcceptNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """ - Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addBundleProductsToCart( - """An input object that defines which bundle products to add to the cart.""" - input: AddBundleProductsToCartInput - ): AddBundleProductsToCartOutput - """ - Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addConfigurableProductsToCart( - """ - An input object that defines which configurable products to add to the cart. - """ - input: AddConfigurableProductsToCartInput - ): AddConfigurableProductsToCartOutput - """ - Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addDownloadableProductsToCart( - """ - An input object that defines which downloadable products to add to the cart. - """ - input: AddDownloadableProductsToCartInput - ): AddDownloadableProductsToCartOutput - """Add registrants to the specified gift registry.""" - addGiftRegistryRegistrants( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array registrants to add.""" - registrants: [AddGiftRegistryRegistrantInput!]! - ): AddGiftRegistryRegistrantsOutput - """Add any type of product to the cart.""" - addProductsToCart( - """The cart ID of the shopper.""" - cartId: String! - """An array that defines the products to add to the cart.""" - cartItems: [CartItemInput!]! - ): AddProductsToCartOutput - """Add products to the specified compare list.""" - addProductsToCompareList( - """ - An input object that defines which products to add to an existing compare list. - """ - input: AddProductsToCompareListInput - ): CompareList - """Add items to the specified requisition list.""" - addProductsToRequisitionList( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """An array of products to be added to the requisition list.""" - requisitionListItems: [RequisitionListItemsInput!]! - ): AddProductsToRequisitionListOutput - """ - Add one or more products to the specified wish list. This mutation supports all product types. - """ - addProductsToWishlist( - """The ID of a wish list.""" - wishlistId: ID! - """An array of products to add to the wish list.""" - wishlistItems: [WishlistItemInput!]! - ): AddProductsToWishlistOutput - """Add a comment to an existing purchase order.""" - addPurchaseOrderComment(input: AddPurchaseOrderCommentInput!): AddPurchaseOrderCommentOutput - """Add purchase order items to the shopping cart.""" - addPurchaseOrderItemsToCart(input: AddPurchaseOrderItemsToCartInput!): AddProductsToCartOutput - """Add items in the requisition list to the customer's cart.""" - addRequisitionListItemsToCart( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """ - An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the requisition list will be added to the cart. - """ - requisitionListItemUids: [ID!] - ): AddRequisitionListItemsToCartOutput - """Add a comment to an existing return.""" - addReturnComment( - """An input object that defines a return comment.""" - input: AddReturnCommentInput! - ): AddReturnCommentOutput - """Add tracking information to the return.""" - addReturnTracking( - """An input object that defines tracking information.""" - input: AddReturnTrackingInput! - ): AddReturnTrackingOutput - """ - Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addSimpleProductsToCart( - """An input object that defines which simple products to add to the cart.""" - input: AddSimpleProductsToCartInput - ): AddSimpleProductsToCartOutput - """ - Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addVirtualProductsToCart( - """ - An input object that defines which virtual products to add to the cart. - """ - input: AddVirtualProductsToCartInput - ): AddVirtualProductsToCartOutput - """Add items in the specified wishlist to the customer's cart.""" - addWishlistItemsToCart( - """The unique ID of the wish list""" - wishlistId: ID! - """ - An array of IDs representing products to be added to the cart. If no IDs are specified, all items in the wishlist will be added to the cart - """ - wishlistItemIds: [ID!] - ): AddWishlistItemsToCartOutput - """Apply a pre-defined coupon code to the specified cart.""" - applyCouponToCart( - """An input object that defines the coupon code to apply to the cart.""" - input: ApplyCouponToCartInput - ): ApplyCouponToCartOutput - """Apply a pre-defined coupon code to the specified cart.""" - applyCouponsToCart( - """An input object that defines the coupon code to apply to the cart.""" - input: ApplyCouponsToCartInput - ): ApplyCouponToCartOutput - """Apply a pre-defined gift card code to the specified cart.""" - applyGiftCardToCart( - """An input object that specifies the gift card code and cart.""" - input: ApplyGiftCardToCartInput - ): ApplyGiftCardToCartOutput - """ - Apply all available points, up to the cart total. Partial redemption is not available. - """ - applyRewardPointsToCart(cartId: ID!): ApplyRewardPointsToCartOutput - """Apply store credit to the specified cart.""" - applyStoreCreditToCart( - """An input object that specifies the cart ID.""" - input: ApplyStoreCreditToCartInput! - ): ApplyStoreCreditToCartOutput - """Approve purchase orders.""" - approvePurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput - """Assign the specified compare list to the logged in customer.""" - assignCompareListToCustomer( - """The unique ID of the compare list to be assigned.""" - uid: ID! - ): AssignCompareListToCustomerOutput - """Assign a logged-in customer to the specified guest shopping cart.""" - assignCustomerToGuestCart(cart_id: String!): Cart! - """Cancel a negotiable quote template""" - cancelNegotiableQuoteTemplate( - """An input object that cancels a negotiable quote template.""" - input: CancelNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """Cancel the specified customer order.""" - cancelOrder(input: CancelOrderInput!): CancelOrderOutput - """Cancel purchase orders.""" - cancelPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput - """Change the password for the logged-in customer.""" - changeCustomerPassword( - """The customer's original password.""" - currentPassword: String! - """The customer's updated password.""" - newPassword: String! - ): Customer - """Remove all items from the specified cart.""" - clearCart( - """An input object that defines cart ID of the shopper.""" - input: ClearCartInput! - ): ClearCartOutput! - """Remove all items from the specified cart.""" - clearCustomerCart( - """The masked ID of the cart.""" - cartUid: String! - ): ClearCustomerCartOutput - """ - Mark a negotiable quote as closed. The negotiable quote is still visible on the storefront. - """ - closeNegotiableQuotes( - """An input object that closes a negotiable quote.""" - input: CloseNegotiableQuotesInput! - ): CloseNegotiableQuotesOutput - """Confirms the email address for a customer.""" - confirmEmail( - """An input object to identify the customer to confirm the email.""" - input: ConfirmEmailInput! - ): CustomerOutput - """Send a 'Contact Us' email to the merchant.""" - contactUs( - """An input object that defines shopper information.""" - input: ContactUsInput! - ): ContactUsOutput - """Copy items from one requisition list to another.""" - copyItemsBetweenRequisitionLists( - """The unique ID of the source requisition list.""" - sourceRequisitionListUid: ID! - """ - The unique ID of the destination requisition list. If null, a new requisition list will be created. - """ - destinationRequisitionListUid: ID - """The list of products to copy.""" - requisitionListItem: CopyItemsBetweenRequisitionListsInput - ): CopyItemsFromRequisitionListsOutput - """ - Copy products from one wish list to another. The original wish list is unchanged. - """ - copyProductsBetweenWishlists( - """The ID of the original wish list.""" - sourceWishlistUid: ID! - """The ID of the target wish list.""" - destinationWishlistUid: ID! - """An array of items to copy.""" - wishlistItems: [WishlistItemCopyInput!]! - ): CopyProductsBetweenWishlistsOutput - """Creates Client Token for Braintree Javascript SDK initialization.""" - createBraintreeClientToken: String! - """ - Creates Client Token for Braintree PayPal Javascript SDK initialization. - """ - createBraintreePayPalClientToken: String! - """ - Creates Client Token for Braintree PayPal Vault Javascript SDK initialization. - """ - createBraintreePayPalVaultClientToken(input: BraintreeVaultInput): String! - """Create a company at the request of either a customer or a guest.""" - createCompany(input: CompanyCreateInput!): CreateCompanyOutput - """Create a new company role.""" - createCompanyRole(input: CompanyRoleCreateInput!): CreateCompanyRoleOutput - """ - Create a new team for the customer's company within the current company context. - """ - createCompanyTeam(input: CompanyTeamCreateInput!): CreateCompanyTeamOutput - """Create a new company user at the request of an existing customer.""" - createCompanyUser(input: CompanyUserCreateInput!): CreateCompanyUserOutput - """ - Create a new compare list. The compare list is saved for logged in customers. - """ - createCompareList(input: CreateCompareListInput): CompareList - """Use `createCustomerV2` instead.""" - createCustomer( - """An input object that defines the customer to be created.""" - input: CustomerInput! - ): CustomerOutput - """Create a billing or shipping address for a customer or guest.""" - createCustomerAddress(input: CustomerAddressInput!): CustomerAddress - """Create a customer account.""" - createCustomerV2( - """An input object that defines the customer to be created.""" - input: CustomerCreateInput! - ): CustomerOutput - """Create an empty shopping cart for a guest or logged in user""" - createEmptyCart( - """An optional input object that assigns the specified ID to the cart.""" - input: createEmptyCartInput - ): String @deprecated(reason: "Use `Mutation.createGuestCart` or `Query.customerCart` for logged in customer") - """Create a gift registry on behalf of the customer.""" - createGiftRegistry( - """An input object that defines a new gift registry.""" - giftRegistry: CreateGiftRegistryInput! - ): CreateGiftRegistryOutput - """Create a new shopping cart""" - createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput - """ - Initiate a transaction and receive a token. Use this mutation for Payflow Pro and Payments Pro payment methods - """ - createPayflowProToken( - """ - An input object that defines the requirements to fetch payment token information. - """ - input: PayflowProTokenInput! - ): CreatePayflowProTokenOutput - """Creates a payment order for further payment processing""" - createPaymentOrder( - """ - Contains payment order details that are used while processing the payment order - """ - input: CreatePaymentOrderInput! - ): CreatePaymentOrderOutput - """ - Initiate an Express Checkout transaction and receive a token. Use this mutation for Express Checkout and Payments Standard payment methods. - """ - createPaypalExpressToken( - """ - An input object that defines the requirements to receive a payment token. - """ - input: PaypalExpressTokenInput! - ): PaypalExpressTokenOutput - """Create a product review for the specified product.""" - createProductReview( - """ - An input object that contains the details necessary to create a product review. - """ - input: CreateProductReviewInput! - ): CreateProductReviewOutput! - """Create a purchase order approval rule.""" - createPurchaseOrderApprovalRule(input: PurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule - """Create an empty requisition list.""" - createRequisitionList(input: CreateRequisitionListInput): CreateRequisitionListOutput - """Creates a vault payment token""" - createVaultCardPaymentToken( - """Describe the variables needed to create a vault card payment token""" - input: CreateVaultCardPaymentTokenInput! - ): CreateVaultCardPaymentTokenOutput - """Creates a vault card setup token""" - createVaultCardSetupToken( - """Describe the variables needed to create a vault card setup token""" - input: CreateVaultCardSetupTokenInput! - ): CreateVaultCardSetupTokenOutput - """Create a new wish list.""" - createWishlist( - """An input object that defines a new wish list.""" - input: CreateWishlistInput! - ): CreateWishlistOutput - """Delete the specified company role.""" - deleteCompanyRole(id: ID!): DeleteCompanyRoleOutput - """Delete the specified company team.""" - deleteCompanyTeam(id: ID!): DeleteCompanyTeamOutput - """Delete the specified company user.""" - deleteCompanyUser(id: ID!): DeleteCompanyUserOutput @deprecated(reason: "Use deleteCompanyUserV2 instead. The current method only deactivates the user account associated with the company.") - """Delete the specified company user.""" - deleteCompanyUserV2(id: ID!): DeleteCompanyUserOutput - """Delete the specified compare list.""" - deleteCompareList( - """The unique ID of the compare list to be deleted.""" - uid: ID! - ): DeleteCompareListOutput - """Delete customer account""" - deleteCustomer: Boolean - """Delete the billing or shipping address of a customer.""" - deleteCustomerAddress( - """The ID of the customer address to be deleted.""" - id: Int! - ): Boolean - """Delete a negotiable quote template""" - deleteNegotiableQuoteTemplate( - """An input object that cancels a negotiable quote template.""" - input: DeleteNegotiableQuoteTemplateInput! - ): Boolean! - """ - Delete a negotiable quote. The negotiable quote will not be displayed on the storefront. - """ - deleteNegotiableQuotes( - """An input object that deletes a negotiable quote.""" - input: DeleteNegotiableQuotesInput! - ): DeleteNegotiableQuotesOutput - """Delete a customer's payment token.""" - deletePaymentToken( - """The reusable payment token securely stored in the vault.""" - public_hash: String! - ): DeletePaymentTokenOutput - """Delete existing purchase order approval rules.""" - deletePurchaseOrderApprovalRule(input: DeletePurchaseOrderApprovalRuleInput!): DeletePurchaseOrderApprovalRuleOutput - """Delete a requisition list.""" - deleteRequisitionList( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - ): DeleteRequisitionListOutput - """Delete items from a requisition list.""" - deleteRequisitionListItems( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """ - An array of UIDs representing products to be removed from the requisition list. - """ - requisitionListItemUids: [ID!]! - ): DeleteRequisitionListItemsOutput - """ - Delete the specified wish list. You cannot delete the customer's default (first) wish list. - """ - deleteWishlist( - """The ID of the wish list to delete.""" - wishlistId: ID! - ): DeleteWishlistOutput - """Negotiable Quote resulting from duplication operation.""" - duplicateNegotiableQuote( - """An input object that defines ID of the quote to be duplicated.""" - input: DuplicateNegotiableQuoteInput! - ): DuplicateNegotiableQuoteOutput - """Estimate shipping method(s) for cart based on address""" - estimateShippingMethods( - """ - An input object that specifies details for estimation of available shipping methods - """ - input: EstimateTotalsInput! - ): [AvailableShippingMethod] - """Estimate totals for cart based on the address""" - estimateTotals( - """An input object that specifies details for cart totals estimation""" - input: EstimateTotalsInput! - ): EstimateTotalsOutput! - """Generate a token for specified customer.""" - generateCustomerToken( - """The customer's email address.""" - email: String! - """The customer's password.""" - password: String! - ): CustomerToken - """ - Request a customer token so that an administrator can perform remote shopping assistance. - """ - generateCustomerTokenAsAdmin( - """An input object that defines the customer email address.""" - input: GenerateCustomerTokenAsAdminInput! - ): GenerateCustomerTokenAsAdminOutput - """Generate a negotiable quote from an accept quote template.""" - generateNegotiableQuoteFromTemplate( - """ - An input object that contains the data to generate a negotiable quote from quote template. - """ - input: GenerateNegotiableQuoteFromTemplateInput! - ): GenerateNegotiableQuoteFromTemplateOutput - """ - Handle a payment response and save the payment in Quote. Use this mutation for Payflow Pro and Payments Pro payment methods. - """ - handlePayflowProResponse( - """ - An input object that includes the payload returned by PayPal and the cart ID. - """ - input: PayflowProResponseInput! - ): PayflowProResponseOutput - """ - Transfer the contents of a guest cart into the cart of a logged-in customer. - """ - mergeCarts( - """The guest's cart ID before they login.""" - source_cart_id: String! - """The cart ID after the guest logs in.""" - destination_cart_id: String - ): Cart! - """Move all items from the cart to a gift registry.""" - moveCartItemsToGiftRegistry( - """ - The unique ID of the cart containing items to be moved to a gift registry. - """ - cartUid: ID! - """The unique ID of the target gift registry.""" - giftRegistryUid: ID! - ): MoveCartItemsToGiftRegistryOutput - """Move Items from one requisition list to another.""" - moveItemsBetweenRequisitionLists( - """The unique ID of the source requisition list.""" - sourceRequisitionListUid: ID! - """ - The unique ID of the destination requisition list. If null, a new requisition list will be created. - """ - destinationRequisitionListUid: ID - """The list of products to move.""" - requisitionListItem: MoveItemsBetweenRequisitionListsInput - ): MoveItemsBetweenRequisitionListsOutput - """Move negotiable quote item to requisition list.""" - moveLineItemToRequisitionList( - """ - An input object that defines the quote item and requisition list moved to. - """ - input: MoveLineItemToRequisitionListInput! - ): MoveLineItemToRequisitionListOutput - """Move products from one wish list to another.""" - moveProductsBetweenWishlists( - """The ID of the original wish list.""" - sourceWishlistUid: ID! - """The ID of the target wish list.""" - destinationWishlistUid: ID! - """An array of items to move.""" - wishlistItems: [WishlistItemMoveInput!]! - ): MoveProductsBetweenWishlistsOutput - """Open an existing negotiable quote template.""" - openNegotiableQuoteTemplate( - """ - An input object that contains the data to open a negotiable quote template. - """ - input: OpenNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """Convert a negotiable quote into an order.""" - placeNegotiableQuoteOrder( - """An input object that specifies the negotiable quote.""" - input: PlaceNegotiableQuoteOrderInput! - ): PlaceNegotiableQuoteOrderOutput - """Convert the quote into an order.""" - placeOrder( - """An input object that defines the shopper's cart ID.""" - input: PlaceOrderInput - ): PlaceOrderOutput - """Convert the purchase order into an order.""" - placeOrderForPurchaseOrder(input: PlaceOrderForPurchaseOrderInput!): PlaceOrderForPurchaseOrderOutput - """Place a purchase order.""" - placePurchaseOrder(input: PlacePurchaseOrderInput!): PlacePurchaseOrderOutput - """Redeem a gift card for store credit.""" - redeemGiftCardBalanceAsStoreCredit( - """An input object that specifies the gift card code to redeem.""" - input: GiftCardAccountInput! - ): GiftCardAccount - """Reject purchase orders.""" - rejectPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput - """ - Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. - """ - removeCouponFromCart( - """ - An input object that defines which coupon code to remove from the cart. - """ - input: RemoveCouponFromCartInput - ): RemoveCouponFromCartOutput - """ - Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. - """ - removeCouponsFromCart( - """ - An input object that defines which coupon code to remove from the cart. - """ - input: RemoveCouponsFromCartInput - ): RemoveCouponFromCartOutput - """Removes a gift card from the cart.""" - removeGiftCardFromCart( - """ - An input object that specifies which gift card code to remove from the cart. - """ - input: RemoveGiftCardFromCartInput - ): RemoveGiftCardFromCartOutput - """Delete the specified gift registry.""" - removeGiftRegistry( - """The unique ID of the gift registry to delete.""" - giftRegistryUid: ID! - ): RemoveGiftRegistryOutput - """Delete the specified items from a gift registry.""" - removeGiftRegistryItems( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of item IDs to remove from the gift registry.""" - itemsUid: [ID!]! - ): RemoveGiftRegistryItemsOutput - """Removes registrants from a gift registry.""" - removeGiftRegistryRegistrants( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of registrant IDs to remove.""" - registrantsUid: [ID!]! - ): RemoveGiftRegistryRegistrantsOutput - """ - Delete the entire quantity of a specified item from the cart. If you remove all items from the cart, the cart continues to exist. - """ - removeItemFromCart( - """An input object that defines which products to remove from the cart.""" - input: RemoveItemFromCartInput - ): RemoveItemFromCartOutput - """Remove one or more products from a negotiable quote.""" - removeNegotiableQuoteItems( - """ - An input object that removes one or more items from a negotiable quote. - """ - input: RemoveNegotiableQuoteItemsInput! - ): RemoveNegotiableQuoteItemsOutput - """Remove one or more products from a negotiable quote template.""" - removeNegotiableQuoteTemplateItems( - """ - An input object that removes one or more items from a negotiable quote template. - """ - input: RemoveNegotiableQuoteTemplateItemsInput! - ): NegotiableQuoteTemplate - """Remove products from the specified compare list.""" - removeProductsFromCompareList( - """ - An input object that defines which products to remove from a compare list. - """ - input: RemoveProductsFromCompareListInput - ): CompareList - """Remove one or more products from the specified wish list.""" - removeProductsFromWishlist( - """The ID of a wish list.""" - wishlistId: ID! - """An array of item IDs representing products to be removed.""" - wishlistItemsIds: [ID!]! - ): RemoveProductsFromWishlistOutput - """Remove a tracked shipment from a return.""" - removeReturnTracking( - """An input object that removes tracking information.""" - input: RemoveReturnTrackingInput! - ): RemoveReturnTrackingOutput - """Cancel the application of reward points to the cart.""" - removeRewardPointsFromCart(cartId: ID!): RemoveRewardPointsFromCartOutput - """Remove store credit that has been applied to the specified cart.""" - removeStoreCreditFromCart( - """An input object that specifies the cart ID.""" - input: RemoveStoreCreditFromCartInput! - ): RemoveStoreCreditFromCartOutput - """Rename negotiable quote.""" - renameNegotiableQuote( - """An input object that defines the quote item name and comment.""" - input: RenameNegotiableQuoteInput! - ): RenameNegotiableQuoteOutput - """Add all products from a customer's previous order to the cart.""" - reorderItems(orderNumber: String!): ReorderItemsOutput - """Request a new negotiable quote on behalf of the buyer.""" - requestNegotiableQuote( - """ - An input object that contains a request to initiate a negotiable quote. - """ - input: RequestNegotiableQuoteInput! - ): RequestNegotiableQuoteOutput - """Request a new negotiable quote on behalf of the buyer.""" - requestNegotiableQuoteTemplateFromQuote( - """ - An input object that contains a request to initiate a negotiable quote template. - """ - input: RequestNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """ - Request an email with a reset password token for the registered customer identified by the specified email. - """ - requestPasswordResetEmail( - """The customer's email address.""" - email: String! - ): Boolean - """Initiates a buyer's request to return items for replacement or refund.""" - requestReturn( - """ - An input object that contains the fields needed to start a return request. - """ - input: RequestReturnInput! - ): RequestReturnOutput - """ - Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`. - """ - resetPassword( - """The customer's email address.""" - email: String! - """A runtime token generated by the `requestPasswordResetEmail` mutation.""" - resetPasswordToken: String! - """The customer's new password.""" - newPassword: String! - ): Boolean - """Revoke the customer token.""" - revokeCustomerToken: RevokeCustomerTokenOutput - """ - Send a message on behalf of a customer to the specified email addresses. - """ - sendEmailToFriend( - """An input object that defines sender, recipients, and product.""" - input: SendEmailToFriendInput - ): SendEmailToFriendOutput - """Send the negotiable quote to the seller for review.""" - sendNegotiableQuoteForReview( - """ - An input object that sends a request for the merchant to review a negotiable quote. - """ - input: SendNegotiableQuoteForReviewInput! - ): SendNegotiableQuoteForReviewOutput - """Set the billing address on a specific cart.""" - setBillingAddressOnCart( - """ - An input object that defines the billing address to be assigned to the cart. - """ - input: SetBillingAddressOnCartInput - ): SetBillingAddressOnCartOutput - """ - Set gift options, including gift messages, gift wrapping, gift receipts, and printed cards. - """ - setGiftOptionsOnCart( - """An input object that defines the selected gift options.""" - input: SetGiftOptionsOnCartInput - ): SetGiftOptionsOnCartOutput - """Assign the email address of a guest to the cart.""" - setGuestEmailOnCart( - """An input object that defines a guest email address.""" - input: SetGuestEmailOnCartInput - ): SetGuestEmailOnCartOutput - """Add buyer's note to a negotiable quote item.""" - setLineItemNote( - """An input object that defines the quote item note.""" - input: LineItemNoteInput! - ): SetLineItemNoteOutput - """Assign a billing address to a negotiable quote.""" - setNegotiableQuoteBillingAddress( - """ - An input object that defines the billing address to be assigned to a negotiable quote. - """ - input: SetNegotiableQuoteBillingAddressInput! - ): SetNegotiableQuoteBillingAddressOutput - """Set the payment method on a negotiable quote.""" - setNegotiableQuotePaymentMethod( - """ - An input object that defines the payment method for the specified negotiable quote. - """ - input: SetNegotiableQuotePaymentMethodInput! - ): SetNegotiableQuotePaymentMethodOutput - """ - Assign a previously-defined address as the shipping address for a negotiable quote. - """ - setNegotiableQuoteShippingAddress( - """ - An input object that defines the shipping address to be assigned to a negotiable quote. - """ - input: SetNegotiableQuoteShippingAddressInput! - ): SetNegotiableQuoteShippingAddressOutput - """Assign the shipping methods on the negotiable quote.""" - setNegotiableQuoteShippingMethods( - """ - An input object that defines the shipping methods to be assigned to a negotiable quote. - """ - input: SetNegotiableQuoteShippingMethodsInput! - ): SetNegotiableQuoteShippingMethodsOutput - """ - Assign a previously-defined address as the shipping address for a negotiable quote template. - """ - setNegotiableQuoteTemplateShippingAddress( - """ - An input object that defines the shipping address to be assigned to a negotiable quote template. - """ - input: SetNegotiableQuoteTemplateShippingAddressInput! - ): NegotiableQuoteTemplate - """Set the cart payment method and convert the cart into an order.""" - setPaymentMethodAndPlaceOrder(input: SetPaymentMethodAndPlaceOrderInput): PlaceOrderOutput @deprecated(reason: "Should use setPaymentMethodOnCart and placeOrder mutations in single request.") - """Apply a payment method to the cart.""" - setPaymentMethodOnCart( - """ - An input object that defines which payment method to apply to the cart. - """ - input: SetPaymentMethodOnCartInput - ): SetPaymentMethodOnCartOutput - """Add buyer's note to a negotiable quote template item.""" - setQuoteTemplateLineItemNote( - """An input object that defines the quote template item note.""" - input: QuoteTemplateLineItemNoteInput! - ): NegotiableQuoteTemplate - """Set one or more shipping addresses on a specific cart.""" - setShippingAddressesOnCart( - """ - An input object that defines one or more shipping addresses to be assigned to the cart. - """ - input: SetShippingAddressesOnCartInput - ): SetShippingAddressesOnCartOutput - """Set one or more delivery methods on a cart.""" - setShippingMethodsOnCart( - """An input object that applies one or more shipping methods to the cart.""" - input: SetShippingMethodsOnCartInput - ): SetShippingMethodsOnCartOutput - """Send an email about the gift registry to a list of invitees.""" - shareGiftRegistry( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """The sender's email address and gift message.""" - sender: ShareGiftRegistrySenderInput! - """An array containing invitee names and email addresses.""" - invitees: [ShareGiftRegistryInviteeInput!]! - ): ShareGiftRegistryOutput - """Accept an existing negotiable quote template.""" - submitNegotiableQuoteTemplateForReview( - """ - An input object that contains the data to update a negotiable quote template. - """ - input: SubmitNegotiableQuoteTemplateForReviewInput! - ): NegotiableQuoteTemplate - """Subscribe the specified email to the store's newsletter.""" - subscribeEmailToNewsletter( - """The email address that will receive the store's newsletter.""" - email: String! - ): SubscribeEmailToNewsletterOutput - """Synchronizes the payment order details for further payment processing""" - syncPaymentOrder( - """ - Describes the variables needed to synchronize the payment order details - """ - input: SyncPaymentOrderInput - ): Boolean - """Modify items in the cart.""" - updateCartItems( - """An input object that defines products to be updated.""" - input: UpdateCartItemsInput - ): UpdateCartItemsOutput - """Update company information.""" - updateCompany(input: CompanyUpdateInput!): UpdateCompanyOutput - """Update company role information.""" - updateCompanyRole(input: CompanyRoleUpdateInput!): UpdateCompanyRoleOutput - """ - Change the parent node of a company team within the current company context. - """ - updateCompanyStructure(input: CompanyStructureUpdateInput!): UpdateCompanyStructureOutput - """Update company team data.""" - updateCompanyTeam(input: CompanyTeamUpdateInput!): UpdateCompanyTeamOutput - """Update an existing company user.""" - updateCompanyUser(input: CompanyUserUpdateInput!): UpdateCompanyUserOutput - """Use `updateCustomerV2` instead.""" - updateCustomer( - """An input object that defines the customer characteristics to update.""" - input: CustomerInput! - ): CustomerOutput - """Update the billing or shipping address of a customer or guest.""" - updateCustomerAddress( - """The ID assigned to the customer address.""" - id: Int! - """An input object that contains changes to the customer address.""" - input: CustomerAddressInput - ): CustomerAddress - """Change the email address for the logged-in customer.""" - updateCustomerEmail( - """The customer's email address.""" - email: String! - """The customer's password.""" - password: String! - ): CustomerOutput - """Update the customer's personal information.""" - updateCustomerV2( - """An input object that defines the customer characteristics to update.""" - input: CustomerUpdateInput! - ): CustomerOutput - """Update the specified gift registry.""" - updateGiftRegistry( - """The unique ID of an existing gift registry.""" - giftRegistryUid: ID! - """An input object that defines which fields to update.""" - giftRegistry: UpdateGiftRegistryInput! - ): UpdateGiftRegistryOutput - """Update the specified items in the gift registry.""" - updateGiftRegistryItems( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of items to be updated.""" - items: [UpdateGiftRegistryItemInput!]! - ): UpdateGiftRegistryItemsOutput - """Modify the properties of one or more gift registry registrants.""" - updateGiftRegistryRegistrants( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of registrants to update.""" - registrants: [UpdateGiftRegistryRegistrantInput!]! - ): UpdateGiftRegistryRegistrantsOutput - """ - Change the quantity of one or more items in an existing negotiable quote. - """ - updateNegotiableQuoteQuantities( - """ - An input object that changes the quantity of one or more items in a negotiable quote. - """ - input: UpdateNegotiableQuoteQuantitiesInput! - ): UpdateNegotiableQuoteItemsQuantityOutput - """ - Change the quantity of one or more items in an existing negotiable quote template. - """ - updateNegotiableQuoteTemplateQuantities( - """ - An input object that changes the quantity of one or more items in a negotiable quote template. - """ - input: UpdateNegotiableQuoteTemplateQuantitiesInput! - ): UpdateNegotiableQuoteTemplateItemsQuantityOutput - """Update one or more products in the specified wish list.""" - updateProductsInWishlist( - """The ID of a wish list.""" - wishlistId: ID! - """An array of items to be updated.""" - wishlistItems: [WishlistItemUpdateInput!]! - ): UpdateProductsInWishlistOutput - """Update existing purchase order approval rules.""" - updatePurchaseOrderApprovalRule(input: UpdatePurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule - """Rename a requisition list and change its description.""" - updateRequisitionList( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - input: UpdateRequisitionListInput - ): UpdateRequisitionListOutput - """Update items in a requisition list.""" - updateRequisitionListItems( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """Items to be updated in the requisition list.""" - requisitionListItems: [UpdateRequisitionListItemsInput!]! - ): UpdateRequisitionListItemsOutput - """Change the name and visibility of the specified wish list.""" - updateWishlist( - """The ID of the wish list to update.""" - wishlistId: ID! - """The name assigned to the wish list.""" - name: String - """Indicates the visibility of the wish list.""" - visibility: WishlistVisibilityEnum - ): UpdateWishlistOutput - """Validate purchase orders.""" - validatePurchaseOrders(input: ValidatePurchaseOrdersInput!): ValidatePurchaseOrdersOutput -} - -"""Defines the comparison operators that can be used in a filter.""" -input FilterTypeInput { - """Equals.""" - eq: String - finset: [String] - """From. Must be used with the `to` field.""" - from: String - """Greater than.""" - gt: String - """Greater than or equal to.""" - gteq: String - """In. The value can contain a set of comma-separated values.""" - in: [String] - """ - Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters. - """ - like: String - """Less than.""" - lt: String - """Less than or equal to.""" - lteq: String - """More than or equal to.""" - moreq: String - """Not equal to.""" - neq: String - """Not in. The value can contain a set of comma-separated values.""" - nin: [String] - """Not null.""" - notnull: String - """Is null.""" - null: String - """To. Must be used with the `from` field.""" - to: String -} - -"""Defines a filter that matches the input exactly.""" -input FilterEqualTypeInput { - """ - Use this attribute to exactly match the specified string. For example, to filter on a specific category ID, specify a value such as `5`. - """ - eq: String - """ - Use this attribute to filter on an array of values. For example, to filter on category IDs 4, 5, and 6, specify a value of `["4", "5", "6"]`. - """ - in: [String] -} - -""" -Defines a filter that matches a range of values, such as prices or dates. -""" -input FilterRangeTypeInput { - """Use this attribute to specify the lowest possible value in the range.""" - from: String - """Use this attribute to specify the highest possible value in the range.""" - to: String -} - -"""Defines a filter that performs a fuzzy search.""" -input FilterMatchTypeInput { - """ - Use this attribute to fuzzy match the specified string. For example, to filter on a specific SKU, specify a value such as `24-MB01`. - """ - match: String - """ - Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match. - """ - match_type: FilterMatchTypeEnum -} - -enum FilterMatchTypeEnum { - FULL - PARTIAL -} - -"""Defines a filter for an input string.""" -input FilterStringTypeInput { - """Filters items that are exactly the same as the specified string.""" - eq: String - """ - Filters items that are exactly the same as entries specified in an array of strings. - """ - in: [String] - """ - Defines a filter that performs a fuzzy search using the specified string. - """ - match: String -} - -"""Provides navigation for the query response.""" -type SearchResultPageInfo { - """The specific page to return.""" - current_page: Int - """The maximum number of items to return per page of results.""" - page_size: Int - """The total number of pages in the response.""" - total_pages: Int -} - -"""Indicates whether to return results in ascending or descending order.""" -enum SortEnum { - ASC - DESC -} - -type ComplexTextValue { - """Text that can contain HTML tags.""" - html: String! -} - -""" -Defines a monetary value, including a numeric value and a currency code. -""" -type Money { - """A three-letter currency code, such as USD or EUR.""" - currency: CurrencyEnum - """A number expressing a monetary value.""" - value: Float -} - -"""The list of available currency codes.""" -enum CurrencyEnum { - AFN - ALL - AZN - DZD - AOA - ARS - AMD - AWG - AUD - BSD - BHD - BDT - BBD - BYN - BZD - BMD - BTN - BOB - BAM - BWP - BRL - GBP - BND - BGN - BUK - BIF - KHR - CAD - CVE - CZK - KYD - GQE - CLP - CNY - COP - KMF - CDF - CRC - HRK - CUP - DKK - DJF - DOP - XCD - EGP - SVC - ERN - EEK - ETB - EUR - FKP - FJD - GMD - GEK - GEL - GHS - GIP - GTQ - GNF - GYD - HTG - HNL - HKD - HUF - ISK - INR - IDR - IRR - IQD - ILS - JMD - JPY - JOD - KZT - KES - KWD - KGS - LAK - LVL - LBP - LSL - LRD - LYD - LTL - MOP - MKD - MGA - MWK - MYR - MVR - LSM - MRO - MUR - MXN - MDL - MNT - MAD - MZN - MMK - NAD - NPR - ANG - YTL - NZD - NIC - NGN - KPW - NOK - OMR - PKR - PAB - PGK - PYG - PEN - PHP - PLN - QAR - RHD - RON - RUB - RWF - SHP - STD - SAR - RSD - SCR - SLL - SGD - SKK - SBD - SOS - ZAR - KRW - LKR - SDG - SRD - SZL - SEK - CHF - SYP - TWD - TJS - TZS - THB - TOP - TTD - TND - TMM - USD - UGX - UAH - AED - UYU - UZS - VUV - VEB - VEF - VND - CHE - CHW - XOF - WST - YER - ZMK - ZWD - TRY - AZM - ROL - TRL - XPF -} - -"""Defines a customer-entered option.""" -input EnteredOptionInput { - """ - The unique ID for a `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. - """ - uid: ID! - """Text the customer entered.""" - value: String! -} - -enum BatchMutationStatus { - SUCCESS - FAILURE - MIXED_RESULTS -} - -interface ErrorInterface { - """The returned error message.""" - message: String! -} - -"""Contains an error message when an invalid UID was specified.""" -type NoSuchEntityUidError implements ErrorInterface { - """The returned error message.""" - message: String! - """The specified invalid unique ID of an object.""" - uid: ID! -} - -"""Contains an error message when an internal error occurred.""" -type InternalError implements ErrorInterface { - """The returned error message.""" - message: String! -} - -"""Defines an array of custom attributes.""" -type CustomAttributeMetadata { - """An array of attributes.""" - items: [Attribute] -} - -"""Contains details about the attribute, including the code and type.""" -type Attribute { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - attribute_code: String - """Attribute options list.""" - attribute_options: [AttributeOption] - """The data type of the attribute.""" - attribute_type: String - """The type of entity that defines the attribute.""" - entity_type: String - """The frontend input type of the attribute.""" - input_type: String - """Details about the storefront properties configured for the attribute.""" - storefront_properties: StorefrontProperties -} - -"""Indicates where an attribute can be displayed.""" -type StorefrontProperties { - """ - The relative position of the attribute in the layered navigation block. - """ - position: Int - """ - Indicates whether the attribute is filterable with results, without results, or not at all. - """ - use_in_layered_navigation: UseInLayeredNavigationOptions - """Indicates whether the attribute is displayed in product listings.""" - use_in_product_listing: Boolean - """ - Indicates whether the attribute can be used in layered navigation on search results pages. - """ - use_in_search_results_layered_navigation: Boolean - """Indicates whether the attribute is displayed on product pages.""" - visible_on_catalog_pages: Boolean -} - -"""Defines whether the attribute is filterable in layered navigation.""" -enum UseInLayeredNavigationOptions { - NO - FILTERABLE_WITH_RESULTS - FILTERABLE_NO_RESULT -} - -"""Defines an attribute option.""" -type AttributeOption implements AttributeOptionInterface { - """Indicates if option is set to be used as default value.""" - is_default: Boolean - """The label assigned to the attribute option.""" - label: String - """The unique ID of an attribute option.""" - uid: ID! - """The attribute option value.""" - value: String -} - -""" -Defines the attribute characteristics to search for the `attribute_code` and `entity_type` to search. -""" -input AttributeInput { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - attribute_code: String - """The type of entity that defines the attribute.""" - entity_type: String -} - -"""Metadata of EAV attributes.""" -type AttributesMetadataOutput { - """Errors of retrieving certain attributes metadata.""" - errors: [AttributeMetadataError]! - """Requested attributes metadata.""" - items: [CustomAttributeMetadataInterface]! -} - -"""Attribute metadata retrieval error.""" -type AttributeMetadataError { - """Attribute metadata retrieval error message.""" - message: String! - """Attribute metadata retrieval error type.""" - type: AttributeMetadataErrorType! -} - -"""Attribute metadata retrieval error types.""" -enum AttributeMetadataErrorType { - """The requested entity was not found.""" - ENTITY_NOT_FOUND - """The requested attribute was not found.""" - ATTRIBUTE_NOT_FOUND - """The filter cannot be applied as it does not belong to the entity""" - FILTER_NOT_FOUND - """Not categorized error, see the error message.""" - UNDEFINED -} - -"""An interface containing fields that define the EAV attribute.""" -interface CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """Attribute options.""" - options: [CustomAttributeOptionInterface]! -} - -interface CustomAttributeOptionInterface { - """Is the option value default.""" - is_default: Boolean! - """The label assigned to the attribute option.""" - label: String! - """The attribute option value.""" - value: String! -} - -"""Base EAV implementation of CustomAttributeOptionInterface.""" -type AttributeOptionMetadata implements CustomAttributeOptionInterface { - """Is the option value default.""" - is_default: Boolean! - """The label assigned to the attribute option.""" - label: String! - """The attribute option value.""" - value: String! -} - -"""Base EAV implementation of CustomAttributeMetadataInterface.""" -type AttributeMetadata implements CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """Attribute options.""" - options: [CustomAttributeOptionInterface]! -} - -""" -List of all entity types. Populated by the modules introducing EAV entities. -""" -enum AttributeEntityTypeEnum { - CATALOG_PRODUCT - CATALOG_CATEGORY - CUSTOMER - CUSTOMER_ADDRESS - PRODUCT - RMA_ITEM -} - -"""EAV attribute frontend input types.""" -enum AttributeFrontendInputEnum { - BOOLEAN - DATE - DATETIME - FILE - GALLERY - HIDDEN - IMAGE - MEDIA_IMAGE - MULTILINE - MULTISELECT - PRICE - SELECT - TEXT - TEXTAREA - WEIGHT - UNDEFINED -} - -"""Metadata of EAV attributes associated to form""" -type AttributesFormOutput { - """Errors of retrieving certain attributes metadata.""" - errors: [AttributeMetadataError]! - """Requested attributes metadata.""" - items: [CustomAttributeMetadataInterface]! -} - -interface AttributeValueInterface { - """The attribute code.""" - code: ID! -} - -type AttributeValue implements AttributeValueInterface { - """The attribute code.""" - code: ID! - """The attribute value.""" - value: String! -} - -type AttributeSelectedOptions implements AttributeValueInterface { - """The attribute code.""" - code: ID! - selected_options: [AttributeSelectedOptionInterface]! -} - -interface AttributeSelectedOptionInterface { - """The attribute selected option label.""" - label: String! - """The attribute selected option value.""" - value: String! -} - -type AttributeSelectedOption implements AttributeSelectedOptionInterface { - """The attribute selected option label.""" - label: String! - """The attribute selected option value.""" - value: String! -} - -"""Specifies the value for attribute.""" -input AttributeValueInput { - """The code of the attribute.""" - attribute_code: String! - """ - An array containing selected options for a select or multiselect attribute. - """ - selected_options: [AttributeInputSelectedOption] - """The value assigned to the attribute.""" - value: String -} - -"""Specifies selected option for a select or multiselect attribute value.""" -input AttributeInputSelectedOption { - """The attribute option value.""" - value: String! -} - -"""An input object that specifies the filters used for attributes.""" -input AttributeFilterInput { - """ - Whether a product or category attribute can be compared against another or not. - """ - is_comparable: Boolean - """Whether a product or category attribute can be filtered or not.""" - is_filterable: Boolean - """ - Whether a product or category attribute can be filtered in search or not. - """ - is_filterable_in_search: Boolean - """Whether a product or category attribute can use HTML on front or not.""" - is_html_allowed_on_front: Boolean - """Whether a product or category attribute can be searched or not.""" - is_searchable: Boolean - """ - Whether a customer or customer address attribute is used for customer segment or not. - """ - is_used_for_customer_segment: Boolean - """ - Whether a product or category attribute can be used for price rules or not. - """ - is_used_for_price_rules: Boolean - """ - Whether a product or category attribute is used for promo rules or not. - """ - is_used_for_promo_rules: Boolean - """ - Whether a product or category attribute is visible in advanced search or not. - """ - is_visible_in_advanced_search: Boolean - """Whether a product or category attribute is visible on front or not.""" - is_visible_on_front: Boolean - """Whether a product or category attribute has WYSIWYG enabled or not.""" - is_wysiwyg_enabled: Boolean - """ - Whether a product or category attribute is used in product listing or not. - """ - used_in_product_listing: Boolean -} - -"""Contains information about a store's configuration.""" -type StoreConfig { - """ - Contains scripts that must be included in the HTML before the closing `` tag. - """ - absolute_footer: String - """ - Indicates if the gift sender has the option to send a gift receipt. Possible values: 1 (Yes) and 0 (No). - """ - allow_gift_receipt: String - """ - Indicates whether gift wrapping can be added for the entire order. Possible values: 1 (Yes) and 0 (No). - """ - allow_gift_wrapping_on_order: String - """ - Indicates whether gift wrapping can be added for individual order items. Possible values: 1 (Yes) and 0 (No). - """ - allow_gift_wrapping_on_order_items: String - """ - Indicates whether guest users can write product reviews. Possible values: 1 (Yes) and 0 (No). - """ - allow_guests_to_write_product_reviews: String - """The value of the Allow Gift Messages for Order Items option""" - allow_items: String - """The value of the Allow Gift Messages on Order Level option""" - allow_order: String - """ - Indicates if a printed card can accompany an order. Possible values: 1 (Yes) and 0 (No). - """ - allow_printed_card: String - """ - Indicates whether to enable autocomplete on login and forgot password forms. - """ - autocomplete_on_storefront: Boolean - """The base currency code.""" - base_currency_code: String - """ - A fully-qualified URL that is used to create relative links to the `base_url`. - """ - base_link_url: String - """The fully-qualified URL that specifies the location of media files.""" - base_media_url: String - """ - The fully-qualified URL that specifies the location of static view files. - """ - base_static_url: String - """The store’s fully-qualified base URL.""" - base_url: String - """Braintree 3D Secure, should 3D Secure be used for specific countries.""" - braintree_3dsecure_allowspecific: Boolean - """Braintree 3D Secure, always request 3D Secure flag.""" - braintree_3dsecure_always_request_3ds: Boolean - """ - Braintree 3D Secure, the specific countries to use 3D Secure in, to be used if allow specific is status is enabled. - """ - braintree_3dsecure_specificcountry: String - """ - Braintree 3D Secure, threshold above which 3D Secure should be requested. - """ - braintree_3dsecure_threshold_amount: String - """Braintree 3D Secure enabled/active status.""" - braintree_3dsecure_verify_3dsecure: Boolean - """Braintree ACH vault status.""" - braintree_ach_direct_debit_vault_active: Boolean - """Braintree Apple Pay merchant name.""" - braintree_applepay_merchant_name: String - """Braintree Apple Pay vault status.""" - braintree_applepay_vault_active: Boolean - """Braintree cc vault status.""" - braintree_cc_vault_active: String - """Braintree cc vault CVV re-verification enabled status.""" - braintree_cc_vault_cvv: Boolean - """Braintree environment.""" - braintree_environment: String - """Braintree Google Pay button color.""" - braintree_googlepay_btn_color: String - """Braintree Google Pay Card types supported.""" - braintree_googlepay_cctypes: String - """Braintree Google Pay merchant ID.""" - braintree_googlepay_merchant_id: String - """Braintree Google Pay vault status.""" - braintree_googlepay_vault_active: Boolean - """Braintree Local Payment Methods allowed payment methods.""" - braintree_local_payment_allowed_methods: String - """Braintree Local Payment Methods fallback button text.""" - braintree_local_payment_fallback_button_text: String - """Braintree Local Payment Methods redirect URL on failed payment.""" - braintree_local_payment_redirect_on_fail: String - """Braintree Merchant Account ID.""" - braintree_merchant_account_id: String - """Braintree PayPal Credit mini-cart & cart button style color.""" - braintree_paypal_button_location_cart_type_credit_color: String - """Braintree PayPal Credit mini-cart & cart button style label.""" - braintree_paypal_button_location_cart_type_credit_label: String - """Braintree PayPal Credit mini-cart & cart button style shape.""" - braintree_paypal_button_location_cart_type_credit_shape: String - """Braintree PayPal Credit mini-cart & cart button show status.""" - braintree_paypal_button_location_cart_type_credit_show: Boolean - """Braintree PayPal Pay Later messaging mini-cart & cart style layout.""" - braintree_paypal_button_location_cart_type_messaging_layout: String - """Braintree PayPal Pay Later messaging mini-cart & cart style logo.""" - braintree_paypal_button_location_cart_type_messaging_logo: String - """ - Braintree PayPal Pay Later messaging mini-cart & cart style logo position. - """ - braintree_paypal_button_location_cart_type_messaging_logo_position: String - """Braintree PayPal Pay Later messaging mini-cart & cart show status.""" - braintree_paypal_button_location_cart_type_messaging_show: Boolean - """Braintree PayPal Pay Later messaging checkout style text color.""" - braintree_paypal_button_location_cart_type_messaging_text_color: String - """Braintree PayPal Pay Later mini-cart & cart button style color.""" - braintree_paypal_button_location_cart_type_paylater_color: String - """Braintree PayPal Pay Later mini-cart & cart button style label.""" - braintree_paypal_button_location_cart_type_paylater_label: String - """Braintree PayPal Pay Later mini-cart & cart button style shape.""" - braintree_paypal_button_location_cart_type_paylater_shape: String - """Braintree PayPal Pay Later mini-cart & cart button show status.""" - braintree_paypal_button_location_cart_type_paylater_show: Boolean - """Braintree PayPal mini-cart & cart button style color.""" - braintree_paypal_button_location_cart_type_paypal_color: String - """Braintree PayPal mini-cart & cart button style label.""" - braintree_paypal_button_location_cart_type_paypal_label: String - """Braintree PayPal mini-cart & cart button style shape.""" - braintree_paypal_button_location_cart_type_paypal_shape: String - """Braintree PayPal mini-cart & cart button show.""" - braintree_paypal_button_location_cart_type_paypal_show: Boolean - """Braintree PayPal Credit checkout button style color.""" - braintree_paypal_button_location_checkout_type_credit_color: String - """Braintree PayPal Credit checkout button style label.""" - braintree_paypal_button_location_checkout_type_credit_label: String - """Braintree PayPal Credit checkout button style shape.""" - braintree_paypal_button_location_checkout_type_credit_shape: String - """Braintree PayPal Credit checkout button show status.""" - braintree_paypal_button_location_checkout_type_credit_show: Boolean - """Braintree PayPal Pay Later messaging checkout style layout.""" - braintree_paypal_button_location_checkout_type_messaging_layout: String - """Braintree PayPal Pay Later messaging checkout style logo.""" - braintree_paypal_button_location_checkout_type_messaging_logo: String - """Braintree PayPal Pay Later messaging checkout style logo position.""" - braintree_paypal_button_location_checkout_type_messaging_logo_position: String - """Braintree PayPal Pay Later messaging checkout show status.""" - braintree_paypal_button_location_checkout_type_messaging_show: Boolean - """Braintree PayPal Pay Later messaging checkout style text color.""" - braintree_paypal_button_location_checkout_type_messaging_text_color: String - """Braintree PayPal Pay Later checkout button style color.""" - braintree_paypal_button_location_checkout_type_paylater_color: String - """Braintree PayPal Pay Later checkout button style label.""" - braintree_paypal_button_location_checkout_type_paylater_label: String - """Braintree PayPal Pay Later checkout button style shape.""" - braintree_paypal_button_location_checkout_type_paylater_shape: String - """Braintree PayPal Pay Later checkout button show status.""" - braintree_paypal_button_location_checkout_type_paylater_show: Boolean - """Braintree PayPal checkout button style color.""" - braintree_paypal_button_location_checkout_type_paypal_color: String - """Braintree PayPal checkout button style label.""" - braintree_paypal_button_location_checkout_type_paypal_label: String - """Braintree PayPal checkout button style shape.""" - braintree_paypal_button_location_checkout_type_paypal_shape: String - """Braintree PayPal checkout button show.""" - braintree_paypal_button_location_checkout_type_paypal_show: Boolean - """Braintree PayPal Credit PDP button style color.""" - braintree_paypal_button_location_productpage_type_credit_color: String - """Braintree PayPal Credit PDP button style label.""" - braintree_paypal_button_location_productpage_type_credit_label: String - """Braintree PayPal Credit PDP button style shape.""" - braintree_paypal_button_location_productpage_type_credit_shape: String - """Braintree PayPal Credit PDP button show status.""" - braintree_paypal_button_location_productpage_type_credit_show: Boolean - """Braintree PayPal Pay Later messaging PDP style layout.""" - braintree_paypal_button_location_productpage_type_messaging_layout: String - """Braintree PayPal Pay Later messaging PDP style logo.""" - braintree_paypal_button_location_productpage_type_messaging_logo: String - """Braintree PayPal Pay Later messaging PDP style logo position.""" - braintree_paypal_button_location_productpage_type_messaging_logo_position: String - """Braintree PayPal Pay Later messaging PDP show status.""" - braintree_paypal_button_location_productpage_type_messaging_show: Boolean - """Braintree PayPal Pay Later messaging PDP style text color.""" - braintree_paypal_button_location_productpage_type_messaging_text_color: String - """Braintree PayPal Pay Later PDP button style color.""" - braintree_paypal_button_location_productpage_type_paylater_color: String - """Braintree PayPal Pay Later PDP button style label.""" - braintree_paypal_button_location_productpage_type_paylater_label: String - """Braintree PayPal Pay Later PDP button style shape.""" - braintree_paypal_button_location_productpage_type_paylater_shape: String - """Braintree PayPal Pay Later PDP button show status.""" - braintree_paypal_button_location_productpage_type_paylater_show: Boolean - """Braintree PayPal PDP button style color.""" - braintree_paypal_button_location_productpage_type_paypal_color: String - """Braintree PayPal PDP button style label.""" - braintree_paypal_button_location_productpage_type_paypal_label: String - """Braintree PayPal PDP button style shape.""" - braintree_paypal_button_location_productpage_type_paypal_shape: String - """Braintree PayPal PDP button show.""" - braintree_paypal_button_location_productpage_type_paypal_show: Boolean - """Braintree PayPal Credit Merchant Name on the FCA Register.""" - braintree_paypal_credit_uk_merchant_name: String - """Should display Braintree PayPal in mini-cart & cart?""" - braintree_paypal_display_on_shopping_cart: Boolean - """Braintree PayPal merchant's country.""" - braintree_paypal_merchant_country: String - """Braintree PayPal override for Merchant Name.""" - braintree_paypal_merchant_name_override: String - """Does Braintree PayPal require the customer's billing address?""" - braintree_paypal_require_billing_address: Boolean - """Does Braintree PayPal require the order line items?""" - braintree_paypal_send_cart_line_items: Boolean - """Braintree PayPal vault status.""" - braintree_paypal_vault_active: Boolean - """Extended Config Data - checkout/cart/delete_quote_after""" - cart_expires_in_days: Int - """ - Indicates if gift wrapping prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). - """ - cart_gift_wrapping: String - """ - Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). - """ - cart_printed_card: String - """Extended Config Data - checkout/cart_link/use_qty""" - cart_summary_display_quantity: Int - """The default sort order of the search results list.""" - catalog_default_sort_by: String - """ - Corresponds to the 'Display Prices In Product Lists' field in the Admin. It indicates how FPT information is displayed on category pages. - """ - category_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings - """The suffix applied to category pages, such as `.htm` or `.html`.""" - category_url_suffix: String - """Indicates whether only specific countries can use this payment method.""" - check_money_order_enable_for_specific_countries: Boolean - """Indicates whether the Check/Money Order payment method is enabled.""" - check_money_order_enabled: Boolean - """The name of the party to whom the check must be payable.""" - check_money_order_make_check_payable_to: String - """ - The maximum order amount required to qualify for the Check/Money Order payment method. - """ - check_money_order_max_order_total: String - """ - The minimum order amount required to qualify for the Check/Money Order payment method. - """ - check_money_order_min_order_total: String - """ - The status of new orders placed using the Check/Money Order payment method. - """ - check_money_order_new_order_status: String - """ - A comma-separated list of specific countries allowed to use the Check/Money Order payment method. - """ - check_money_order_payment_from_specific_countries: String - """The full street address or PO Box where the checks are mailed.""" - check_money_order_send_check_to: String - """ - A number indicating the position of the Check/Money Order payment method in the list of available payment methods during checkout. - """ - check_money_order_sort_order: Int - """ - The title of the Check/Money Order payment method displayed on the storefront. - """ - check_money_order_title: String - """The name of the CMS page that identifies the home page for the store.""" - cms_home_page: String - """ - A specific CMS page that displays when cookies are not enabled for the browser. - """ - cms_no_cookies: String - """ - A specific CMS page that displays when a 404 'Page Not Found' error occurs. - """ - cms_no_route: String - """A code assigned to the store to identify it.""" - code: String @deprecated(reason: "Use `store_code` instead.") - """ - Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products. - """ - configurable_thumbnail_source: String - """Indicates whether the Contact Us form in enabled.""" - contact_enabled: Boolean! - """The copyright statement that appears at the bottom of each page.""" - copyright: String - """Extended Config Data - general/region/state_required""" - countries_with_required_region: String - """Indicates if the new accounts need confirmation.""" - create_account_confirmation: Boolean - """Customer access token lifetime.""" - customer_access_token_lifetime: Float - """Extended Config Data - general/country/default""" - default_country: String - """ - The description that provides a summary of your site for search engine listings. It should not be more than 160 characters in length. - """ - default_description: String - """The default display currency code.""" - default_display_currency_code: String - """ - A series of keywords that describe your store, each separated by a comma. - """ - default_keywords: String - """ - The title that appears at the title bar of each page when viewed in a browser. - """ - default_title: String - """ - Controls the display of the demo store notice at the top of the page. Options: 0 (No) or 1 (Yes). - """ - demonotice: Int - """Extended Config Data - general/region/display_all""" - display_state_if_optional: Boolean - """ - Indicates whether customers can have multiple wish lists. Possible values: 1 (Yes) and 0 (No). - """ - enable_multiple_wishlists: String - """The landing page that is associated with the base URL.""" - front: String - """The default number of products per page in Grid View.""" - grid_per_page: Int - """ - A list of numbers that define how many products can be displayed in Grid View. - """ - grid_per_page_values: String - """ - Scripts that must be included in the HTML before the closing `` tag. - """ - head_includes: String - """ - The small graphic image (favicon) that appears in the address bar and tab of the browser. - """ - head_shortcut_icon: String - """The path to the logo that appears in the header.""" - header_logo_src: String - """The ID number assigned to the store.""" - id: Int @deprecated(reason: "Use `store_code` instead.") - """ - Indicates whether the store view has been designated as the default within the store group. - """ - is_default_store: Boolean - """ - Indicates whether the store group has been designated as the default within the website. - """ - is_default_store_group: Boolean - """Extended Config Data - checkout/options/guest_checkout""" - is_guest_checkout_enabled: Boolean - """Indicates whether negotiable quote functionality is enabled.""" - is_negotiable_quote_active: Boolean - """Extended Config Data - checkout/options/onepage_checkout_enabled""" - is_one_page_checkout_enabled: Boolean - """ - Indicates whether requisition lists are enabled. Possible values: 1 (Yes) and 0 (No). - """ - is_requisition_list_active: String - """The format of the search results list.""" - list_mode: String - """The default number of products per page in List View.""" - list_per_page: Int - """ - A list of numbers that define how many products can be displayed in List View. - """ - list_per_page_values: String - """The store locale.""" - locale: String - """The Alt text that is associated with the logo.""" - logo_alt: String - """The height of the logo image, in pixels.""" - logo_height: Int - """The width of the logo image, in pixels.""" - logo_width: Int - """ - Indicates whether reward points functionality is enabled. Possible values: 1 (Enabled) and 0 (Disabled). - """ - magento_reward_general_is_enabled: String - """ - Indicates whether reward points functionality is enabled on the storefront. Possible values: 1 (Enabled) and 0 (Disabled). - """ - magento_reward_general_is_enabled_on_front: String - """ - The minimum point balance customers must have before they can redeem them. A null value indicates no minimum. - """ - magento_reward_general_min_points_balance: String - """ - When enabled, customers can see a detailed history of their reward points. Possible values: 1 (Enabled) and 0 (Disabled). - """ - magento_reward_general_publish_history: String - """ - The number of points for a referral when an invitee registers on the site. - """ - magento_reward_points_invitation_customer: String - """ - The maximum number of registration referrals that will qualify for rewards. A null value indicates no limit. - """ - magento_reward_points_invitation_customer_limit: String - """ - The number of points for a referral, when an invitee places their first order on the site. - """ - magento_reward_points_invitation_order: String - """ - The number of order conversions that can earn points for the customer who sends the invitation. A null value indicates no limit. - """ - magento_reward_points_invitation_order_limit: String - """ - The number of points earned by registered customers who subscribe to a newsletter. - """ - magento_reward_points_newsletter: String - """ - Indicates customers earn points for shopping according to the reward point exchange rate. In Luma, this also controls whether to show a message in the shopping cart about the rewards points earned for the purchase, as well as the customer’s current reward point balance. - """ - magento_reward_points_order: String - """The number of points customer gets for registering.""" - magento_reward_points_register: String - """The number of points for writing a review.""" - magento_reward_points_review: String - """ - The maximum number of reviews that will qualify for the rewards. A null value indicates no limit. - """ - magento_reward_points_review_limit: String - """Indicates whether wishlists are enabled (1) or disabled (0).""" - magento_wishlist_general_is_enabled: String - """Extended Config Data - checkout/options/max_items_display_count""" - max_items_in_order_summary: Int - """ - If multiple wish lists are enabled, the maximum number of wish lists the customer can have. - """ - maximum_number_of_wishlists: String - """Extended Config Data - checkout/sidebar/display""" - minicart_display: Boolean - """Extended Config Data - checkout/sidebar/count""" - minicart_max_items: Int - """The minimum number of characters required for a valid password.""" - minimum_password_length: String - """Indicates whether newsletters are enabled.""" - newsletter_enabled: Boolean! - """ - The default page that displays when a 404 'Page not Found' error occurs. - """ - no_route: String - """Extended Config Data - general/country/optional_zip_countries""" - optional_zip_countries: String - """Indicates whether orders can be cancelled by customers or not.""" - order_cancellation_enabled: Boolean! - """An array containing available cancellation reasons.""" - order_cancellation_reasons: [CancellationReason]! - """Payflow Pro vault status.""" - payment_payflowpro_cc_vault_active: String - """The default price of a printed card that accompanies an order.""" - printed_card_price: String - """ - Corresponds to the 'Display Prices On Product View Page' field in the Admin. It indicates how FPT information is displayed on product pages. - """ - product_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings - """ - Indicates whether product reviews are enabled. Possible values: 1 (Yes) and 0 (No). - """ - product_reviews_enabled: String - """The suffix applied to product pages, such as `.htm` or `.html`.""" - product_url_suffix: String - """Indicates whether quick order functionality is enabled.""" - quickorder_active: Boolean! - """ - The number of different character classes (lowercase, uppercase, digits, special characters) required in a password. - """ - required_character_classes_number: String - """ - Indicates whether RMA is enabled on the storefront. Possible values: enabled/disabled. - """ - returns_enabled: String! - """The ID of the root category.""" - root_category_id: Int @deprecated(reason: "Use `root_category_uid` instead.") - """The unique ID for a `CategoryInterface` object.""" - root_category_uid: ID - """ - Corresponds to the 'Display Prices In Sales Modules' field in the Admin. It indicates how FPT information is displayed on cart, checkout, and order pages. - """ - sales_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings - """ - Indicates if gift wrapping prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). - """ - sales_gift_wrapping: String - """ - Indicates if printed card prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). - """ - sales_printed_card: String - """ - A secure fully-qualified URL that is used to create relative links to the `base_url`. - """ - secure_base_link_url: String - """ - The secure fully-qualified URL that specifies the location of media files. - """ - secure_base_media_url: String - """ - The secure fully-qualified URL that specifies the location of static view files. - """ - secure_base_static_url: String - """The store’s fully-qualified secure base URL.""" - secure_base_url: String - """Email to a Friend configuration.""" - send_friend: SendFriendConfiguration - """Extended Config Data - tax/cart_display/full_summary""" - shopping_cart_display_full_summary: Boolean - """Extended Config Data - tax/cart_display/grandtotal""" - shopping_cart_display_grand_total: Boolean - """Extended Config Data - tax/cart_display/price""" - shopping_cart_display_price: Int - """Extended Config Data - tax/cart_display/shipping""" - shopping_cart_display_shipping: Int - """Extended Config Data - tax/cart_display/subtotal""" - shopping_cart_display_subtotal: Int - """Extended Config Data - tax/cart_display/gift_wrapping""" - shopping_cart_display_tax_gift_wrapping: TaxWrappingEnum - """Extended Config Data - tax/cart_display/zero_tax""" - shopping_cart_display_zero_tax: Boolean - """ - Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes). - """ - show_cms_breadcrumbs: Int - """ - The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope. - """ - store_code: ID - """ - The unique ID assigned to the store group. In the Admin, this is called the Store Name. - """ - store_group_code: ID - """The label assigned to the store group.""" - store_group_name: String - """The label assigned to the store view.""" - store_name: String - """The store view sort order.""" - store_sort_order: Int - """The time zone of the store.""" - timezone: String - """ - A prefix that appears before the title to create a two- or three-part title. - """ - title_prefix: String - """ - The character that separates the category name and subcategory in the browser title bar. - """ - title_separator: String - """ - A suffix that appears after the title to create a two- or three-part title. - """ - title_suffix: String - """Indicates whether the store code should be used in the URL.""" - use_store_in_url: Boolean - """The unique ID for the website.""" - website_code: ID - """The ID number assigned to the website store.""" - website_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """The label assigned to the website.""" - website_name: String - """The unit of weight.""" - weight_unit: String - """ - Text that appears in the header of the page and includes the name of the logged in customer. - """ - welcome: String - """Indicates whether only specific countries can use this payment method.""" - zero_subtotal_enable_for_specific_countries: Boolean - """Indicates whether the Zero Subtotal payment method is enabled.""" - zero_subtotal_enabled: Boolean - """ - The status of new orders placed using the Zero Subtotal payment method. - """ - zero_subtotal_new_order_status: String - """ - When the new order status is 'Processing', this can be set to `authorize_capture` to automatically invoice all items that have a zero balance. - """ - zero_subtotal_payment_action: String - """ - A comma-separated list of specific countries allowed to use the Zero Subtotal payment method. - """ - zero_subtotal_payment_from_specific_countries: String - """ - A number indicating the position of the Zero Subtotal payment method in the list of available payment methods during checkout. - """ - zero_subtotal_sort_order: Int - """ - The title of the Zero Subtotal payment method displayed on the storefront. - """ - zero_subtotal_title: String -} - -"""Contains details about a CMS page.""" -type CmsPage implements RoutableInterface { - """The content of the CMS page in raw HTML.""" - content: String - """The heading that displays at the top of the CMS page.""" - content_heading: String - """The ID of a CMS page.""" - identifier: String - """A brief description of the page for search results listings.""" - meta_description: String - """A brief description of the page for search results listings.""" - meta_keywords: String - """ - A page title that is indexed by search engines and appears in search results listings. - """ - meta_title: String - """ - The design layout of the page, indicating the number of columns and navigation features used on the page. - """ - page_layout: String - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """ - The name that appears in the breadcrumb trail navigation and in the browser title bar and tab. - """ - title: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - The URL key of the CMS page, which is often based on the `content_heading`. - """ - url_key: String -} - -"""Contains an array CMS block items.""" -type CmsBlocks { - """An array of CMS blocks.""" - items: [CmsBlock] -} - -"""Contains details about a specific CMS block.""" -type CmsBlock { - """The content of the CMS block in raw HTML.""" - content: String - """The CMS block identifier.""" - identifier: String - """The title assigned to the CMS block.""" - title: String -} - -""" -Deprecated. It should not be used on the storefront. Contains information about a website. -""" -type Website { - """A code assigned to the website to identify it.""" - code: String @deprecated(reason: "The field should not be used on the storefront.") - """The default group ID of the website.""" - default_group_id: String @deprecated(reason: "The field should not be used on the storefront.") - """The ID number assigned to the website.""" - id: Int @deprecated(reason: "The field should not be used on the storefront.") - """Indicates whether this is the default website.""" - is_default: Boolean @deprecated(reason: "The field should not be used on the storefront.") - """The website name. Websites use this name to identify it easier.""" - name: String @deprecated(reason: "The field should not be used on the storefront.") - """The attribute to use for sorting websites.""" - sort_order: Int @deprecated(reason: "The field should not be used on the storefront.") -} - -"""Contains an array of custom and system attributes.""" -type AttributesMetadata { - """An array of attributes.""" - items: [AttributeMetadataInterface] -} - -"""An interface containing fields that define attributes.""" -interface AttributeMetadataInterface { - """An array of attribute labels defined for the current store.""" - attribute_labels: [StoreLabels] - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: String - """The data type of the attribute.""" - data_type: ObjectDataTypeEnum - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum - """Indicates whether the attribute is a system attribute.""" - is_system: Boolean - """The label assigned to the attribute.""" - label: String - """The relative position of the attribute.""" - sort_order: Int - """Frontend UI properties of the attribute.""" - ui_input: UiInputTypeInterface - """The unique ID of an attribute.""" - uid: ID -} - -"""Defines frontend UI properties of an attribute.""" -interface UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Defines attribute options.""" -interface AttributeOptionsInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] -} - -"""Defines selectable input types of the attribute.""" -interface SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] -} - -"""Defines attribute options.""" -interface AttributeOptionInterface { - """Indicates if option is set to be used as default value.""" - is_default: Boolean - """The label assigned to the attribute option.""" - label: String - """The unique ID of an attribute option.""" - uid: ID! -} - -type AttributeOptions implements AttributeOptionsInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] -} - -type UiAttributeTypeSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeMultiSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeBoolean implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeAny implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeTextarea implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeTextEditor implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Contains the store code and label of an attribute.""" -type StoreLabels { - """The label assigned to the attribute.""" - label: String - """The assigned store code.""" - store_code: String -} - -enum ObjectDataTypeEnum { - STRING - FLOAT - INT - BOOLEAN - COMPLEX -} - -enum UiInputTypeEnum { - BOOLEAN - DATE - DATETIME - GALLERY - IMAGE - MEDIA_IMAGE - MULTISELECT - PRICE - SELECT - TEXT - TEXTAREA - TEXTEDITOR - WEIGHT - PAGEBUILDER - FIXED_PRODUCT_TAX -} - -"""Contains custom attribute value and metadata details.""" -type CustomAttribute { - """Attribute metadata details.""" - attribute_metadata: AttributeMetadataInterface - """ - Attribute value represented as entered data using input type like text field. - """ - entered_attribute_value: EnteredAttributeValue - """ - Attribute value represented as selected options using input type like select. - """ - selected_attribute_options: SelectedAttributeOption -} - -type SelectedAttributeOption { - """Selected attribute option details.""" - attribute_option: [AttributeOptionInterface] -} - -type EnteredAttributeValue { - """Attribute value.""" - value: String -} - -"""Contains fields that are common to all types of products.""" -interface ProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """An array of related products.""" - related_products: [ProductInterface] - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") -} - -""" -This enumeration states whether a product stock status is in stock or out of stock -""" -enum ProductStockStatus { - IN_STOCK - OUT_OF_STOCK -} - -""" -Deprecated. Use `ProductPrice` instead. Defines the price of a product as well as any tax-related adjustments. -""" -type Price { - """ - An array that provides information about tax, weee, or weee_tax adjustments. - """ - adjustments: [PriceAdjustment] @deprecated(reason: "Use `ProductPrice` instead.") - """The price of a product plus a three-letter currency code.""" - amount: Money @deprecated(reason: "Use `ProductPrice` instead.") -} - -""" -Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment. -""" -type PriceAdjustment { - """The amount of the price adjustment and its currency code.""" - amount: Money - """Indicates whether the adjustment involves tax, weee, or weee_tax.""" - code: PriceAdjustmentCodesEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") - """ - Indicates whether the entity described by the code attribute is included or excluded from the adjustment. - """ - description: PriceAdjustmentDescriptionEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") -} - -"""`PriceAdjustment.code` is deprecated.""" -enum PriceAdjustmentCodesEnum { - TAX @deprecated(reason: "`PriceAdjustmentCodesEnum` is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog.") - WEEE @deprecated(reason: "WEEE code is deprecated. Use `fixed_product_taxes.label` instead.") - WEEE_TAX @deprecated(reason: "Use `fixed_product_taxes` instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog.") -} - -""" -`PriceAdjustmentDescriptionEnum` is deprecated. States whether a price adjustment is included or excluded. -""" -enum PriceAdjustmentDescriptionEnum { - INCLUDED - EXCLUDED -} - -"""Defines the price type.""" -enum PriceTypeEnum { - FIXED - PERCENT - DYNAMIC -} - -"""Defines the customizable date type.""" -enum CustomizableDateTypeEnum { - DATE - DATE_TIME - TIME -} - -""" -Deprecated. Use `PriceRange` instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price. -""" -type ProductPrices { - """ - The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `to` value. - """ - maximalPrice: Price @deprecated(reason: "Use `PriceRange.maximum_price` instead.") - """ - The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `from` value. - """ - minimalPrice: Price @deprecated(reason: "Use `PriceRange.minimum_price` instead.") - """The base price of a product.""" - regularPrice: Price @deprecated(reason: "Use `regular_price` from `PriceRange.minimum_price` or `PriceRange.maximum_price` instead.") -} - -""" -Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same. -""" -type PriceRange { - """The highest possible price for the product.""" - maximum_price: ProductPrice - """The lowest possible price for the product.""" - minimum_price: ProductPrice! -} - -"""Represents a product price.""" -type ProductPrice { - """ - The price discount. Represents the difference between the regular and final price. - """ - discount: ProductDiscount - """The final price of the product after applying discounts.""" - final_price: Money! - """ - An array of the multiple Fixed Product Taxes that can be applied to a product price. - """ - fixed_product_taxes: [FixedProductTax] - """The regular price of the product.""" - regular_price: Money! -} - -"""Contains the discount applied to a product price.""" -type ProductDiscount { - """The actual value of the discount.""" - amount_off: Float - """The discount expressed a percentage.""" - percent_off: Float -} - -"""An implementation of `ProductLinksInterface`.""" -type ProductLinks implements ProductLinksInterface { - """One of related, associated, upsell, or crosssell.""" - link_type: String - """The SKU of the linked product.""" - linked_product_sku: String - """ - The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). - """ - linked_product_type: String - """The position within the list of product links.""" - position: Int - """The identifier of the linked product.""" - sku: String -} - -""" -Contains information about linked products, including the link type and product type of each item. -""" -interface ProductLinksInterface { - """One of related, associated, upsell, or crosssell.""" - link_type: String - """The SKU of the linked product.""" - linked_product_sku: String - """ - The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). - """ - linked_product_type: String - """The position within the list of product links.""" - position: Int - """The identifier of the linked product.""" - sku: String -} - -"""Contains attributes specific to tangible products.""" -interface PhysicalProductInterface { - """The weight of the item, in units defined by the store.""" - weight: Float -} - -""" -Contains information about a text area that is defined as part of a customizable option. -""" -type CustomizableAreaOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a text area.""" - value: CustomizableAreaValue -} - -""" -Defines the price and sku of a product whose page contains a customized text area. -""" -type CustomizableAreaValue { - """ - The maximum number of characters that can be entered for this customizable option. - """ - max_characters: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The unique ID for a `CustomizableAreaValue` object.""" - uid: ID! -} - -"""Contains the hierarchy of categories.""" -type CategoryTree implements CategoryInterface & RoutableInterface { - automatic_sorting: String - available_sort_by: [String] - """An array of breadcrumb items.""" - breadcrumbs: [Breadcrumb] - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. - """ - canonical_url: String - """A tree of child categories.""" - children: [CategoryTree] - children_count: String - """Contains a category CMS block.""" - cms_block: CmsBlock - """The timestamp indicating when the category was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - custom_layout_update_file: String - """The attribute to use for sorting.""" - default_sort_by: String - """An optional description of the category.""" - description: String - display_mode: String - filter_price_range: Float - """An ID that uniquely identifies the category.""" - id: Int @deprecated(reason: "Use `uid` instead.") - image: String - include_in_menu: Int - is_anchor: Int - landing_page: Int - """The depth of the category within the tree.""" - level: Int - meta_description: String - meta_keywords: String - meta_title: String - """The display name of the category.""" - name: String - """The full category path.""" - path: String - """The category path within the store.""" - path_in_store: String - """ - The position of the category relative to other categories at the same level in tree. - """ - position: Int - """ - The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - product_count: Int - """The list of products assigned to the category.""" - products( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - The attributes to sort on, and whether to return the results in ascending or descending order. - """ - sort: ProductAttributeSortInput - ): CategoryProducts - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """Indicates whether the category is staged for a future campaign.""" - staged: Boolean! - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """The unique ID for a `CategoryInterface` object.""" - uid: ID! - """The timestamp indicating when the category was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """The URL key assigned to the category.""" - url_key: String - """The URL path assigned to the category.""" - url_path: String - """The part of the category URL that is appended after the url key""" - url_suffix: String -} - -""" -Contains a collection of `CategoryTree` objects and pagination information. -""" -type CategoryResult { - """A list of categories that match the filter criteria.""" - items: [CategoryTree] - """ - An object that includes the `page_info` and `currentPage` values specified in the query. - """ - page_info: SearchResultPageInfo - """The total number of categories that match the criteria.""" - total_count: Int -} - -""" -Contains information about a date picker that is defined as part of a customizable option. -""" -type CustomizableDateOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a date field in a customizable option.""" - value: CustomizableDateValue -} - -""" -Defines the price and sku of a product whose page contains a customized date picker. -""" -type CustomizableDateValue { - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """DATE, DATE_TIME or TIME""" - type: CustomizableDateTypeEnum - """The unique ID for a `CustomizableDateValue` object.""" - uid: ID! -} - -""" -Contains information about a drop down menu that is defined as part of a customizable option. -""" -type CustomizableDropDownOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines the set of options for a drop down menu.""" - value: [CustomizableDropDownValue] -} - -""" -Defines the price and sku of a product whose page contains a customized drop down menu. -""" -type CustomizableDropDownValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableDropDownValue` object.""" - uid: ID! -} - -""" -Contains information about a multiselect that is defined as part of a customizable option. -""" -type CustomizableMultipleOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines the set of options for a multiselect.""" - value: [CustomizableMultipleValue] -} - -""" -Defines the price and sku of a product whose page contains a customized multiselect. -""" -type CustomizableMultipleValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableMultipleValue` object.""" - uid: ID! -} - -""" -Contains information about a text field that is defined as part of a customizable option. -""" -type CustomizableFieldOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a text field.""" - value: CustomizableFieldValue -} - -""" -Defines the price and sku of a product whose page contains a customized text field. -""" -type CustomizableFieldValue { - """ - The maximum number of characters that can be entered for this customizable option. - """ - max_characters: Int - """The price of the custom value.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The unique ID for a `CustomizableFieldValue` object.""" - uid: ID! -} - -""" -Contains information about a file picker that is defined as part of a customizable option. -""" -type CustomizableFileOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a file value.""" - value: CustomizableFileValue -} - -""" -Defines the price and sku of a product whose page contains a customized file picker. -""" -type CustomizableFileValue { - """The file extension to accept.""" - file_extension: String - """The maximum width of an image.""" - image_size_x: Int - """The maximum height of an image.""" - image_size_y: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The unique ID for a `CustomizableFileValue` object.""" - uid: ID! -} - -"""Contains basic information about a product image or video.""" -interface MediaGalleryInterface { - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The label of the product image or video.""" - label: String - """The media item's position after it has been sorted.""" - position: Int - """The URL of the product image or video.""" - url: String -} - -"""Contains product image information, including the image URL and label.""" -type ProductImage implements MediaGalleryInterface { - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The label of the product image or video.""" - label: String - """The media item's position after it has been sorted.""" - position: Int - """The URL of the product image or video.""" - url: String -} - -"""Contains information about a product video.""" -type ProductVideo implements MediaGalleryInterface { - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The label of the product image or video.""" - label: String - """The media item's position after it has been sorted.""" - position: Int - """The URL of the product image or video.""" - url: String - """Contains a `ProductMediaGalleryEntriesVideoContent` object.""" - video_content: ProductMediaGalleryEntriesVideoContent -} - -""" -Contains basic information about a customizable option. It can be implemented by several types of configurable options. -""" -interface CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! -} - -"""Contains information about customizable product options.""" -interface CustomizableProductInterface { - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] -} - -""" -Contains the full set of attributes that can be returned in a category search. -""" -interface CategoryInterface { - automatic_sorting: String - available_sort_by: [String] - """An array of breadcrumb items.""" - breadcrumbs: [Breadcrumb] - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. - """ - canonical_url: String - children_count: String - """Contains a category CMS block.""" - cms_block: CmsBlock - """The timestamp indicating when the category was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - custom_layout_update_file: String - """The attribute to use for sorting.""" - default_sort_by: String - """An optional description of the category.""" - description: String - display_mode: String - filter_price_range: Float - """An ID that uniquely identifies the category.""" - id: Int @deprecated(reason: "Use `uid` instead.") - image: String - include_in_menu: Int - is_anchor: Int - landing_page: Int - """The depth of the category within the tree.""" - level: Int - meta_description: String - meta_keywords: String - meta_title: String - """The display name of the category.""" - name: String - """The full category path.""" - path: String - """The category path within the store.""" - path_in_store: String - """ - The position of the category relative to other categories at the same level in tree. - """ - position: Int - """ - The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - product_count: Int - """The list of products assigned to the category.""" - products( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - The attributes to sort on, and whether to return the results in ascending or descending order. - """ - sort: ProductAttributeSortInput - ): CategoryProducts - """Indicates whether the category is staged for a future campaign.""" - staged: Boolean! - """The unique ID for a `CategoryInterface` object.""" - uid: ID! - """The timestamp indicating when the category was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """The URL key assigned to the category.""" - url_key: String - """The URL path assigned to the category.""" - url_path: String - """The part of the category URL that is appended after the url key""" - url_suffix: String -} - -""" -Contains details about an individual category that comprises a breadcrumb. -""" -type Breadcrumb { - """The ID of the category.""" - category_id: Int @deprecated(reason: "Use `category_uid` instead.") - """The category level.""" - category_level: Int - """The display name of the category.""" - category_name: String - """The unique ID for a `Breadcrumb` object.""" - category_uid: ID! - """The URL key of the category.""" - category_url_key: String - """The URL path of the category.""" - category_url_path: String -} - -""" -Contains information about a set of radio buttons that are defined as part of a customizable option. -""" -type CustomizableRadioOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines a set of radio buttons.""" - value: [CustomizableRadioValue] -} - -""" -Defines the price and sku of a product whose page contains a customized set of radio buttons. -""" -type CustomizableRadioValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the radio button is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableRadioValue` object.""" - uid: ID! -} - -""" -Contains information about a set of checkbox values that are defined as part of a customizable option. -""" -type CustomizableCheckboxOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines a set of checkbox values.""" - value: [CustomizableCheckboxValue] -} - -""" -Defines the price and sku of a product whose page contains a customized set of checkbox values. -""" -type CustomizableCheckboxValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the checkbox value is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableCheckboxValue` object.""" - uid: ID! -} - -""" -Defines a virtual product, which is a non-tangible product that does not require shipping and is not kept in inventory. -""" -type VirtualProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") -} - -""" -Defines a simple product, which is tangible and is usually sold in single units or in fixed quantities. -""" -type SimpleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -"""Contains the results of a `products` query.""" -type Products { - """ - A bucket that contains the attribute code and label for each filterable option. - """ - aggregations(filter: AggregationsFilterInput): [Aggregation] - """Layered navigation filters array.""" - filters: [LayerFilter] @deprecated(reason: "Use `aggregations` instead.") - """An array of products that match the specified search criteria.""" - items: [ProductInterface] - """ - An object that includes the page_info and currentPage values specified in the query. - """ - page_info: SearchResultPageInfo - """ - An object that includes the default sort field and all available sort fields. - """ - sort_fields: SortFields - """ - An array of search suggestions for case when search query have no results. - """ - suggestions: [SearchSuggestion] - """ - The number of products that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - total_count: Int -} - -""" -An input object that specifies the filters used in product aggregations. -""" -input AggregationsFilterInput { - """Filter category aggregations in layered navigation.""" - category: AggregationsCategoryFilterInput -} - -"""Filter category aggregations in layered navigation.""" -input AggregationsCategoryFilterInput { - """ - Indicates whether to include only direct subcategories or all children categories at all levels. - """ - includeDirectChildrenOnly: Boolean -} - -"""Contains details about the products assigned to a category.""" -type CategoryProducts { - """An array of products that are assigned to the category.""" - items: [ProductInterface] - """Pagination metadata.""" - page_info: SearchResultPageInfo - """ - The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - total_count: Int -} - -""" -Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. -""" -input ProductAttributeFilterInput { - """Attribute label: Brand""" - accessory_brand: FilterEqualTypeInput - """Attribute label: Gemstone Addon""" - accessory_gemstone_addon: FilterEqualTypeInput - """Attribute label: Recyclable Material""" - accessory_recyclable_material: FilterEqualTypeInput - """Deprecated: use `category_uid` to filter product by category ID.""" - category_id: FilterEqualTypeInput - """Filter product by the unique ID for a `CategoryInterface` object.""" - category_uid: FilterEqualTypeInput - """Filter product by category URL path.""" - category_url_path: FilterEqualTypeInput - """Attribute label: Color""" - color: FilterEqualTypeInput - """Attribute label: Description""" - description: FilterMatchTypeInput - """Attribute label: Color""" - fashion_color: FilterEqualTypeInput - """Attribute label: Material""" - fashion_material: FilterEqualTypeInput - """Attribute label: Style""" - fashion_style: FilterEqualTypeInput - """Attribute label: Format""" - format: FilterEqualTypeInput - """Attribute label: Has Video""" - has_video: FilterEqualTypeInput - """Attribute label: Product Name""" - name: FilterMatchTypeInput - """Attribute label: Price""" - price: FilterRangeTypeInput - """Attribute label: Short Description""" - short_description: FilterMatchTypeInput - """Attribute label: SKU""" - sku: FilterEqualTypeInput - """The part of the URL that identifies the product""" - url_key: FilterEqualTypeInput -} - -""" -Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. -""" -input CategoryFilterInput { - """Filter by the unique category ID for a `CategoryInterface` object.""" - category_uid: FilterEqualTypeInput - """ - Deprecated: use 'category_uid' to filter uniquely identifiers of categories. - """ - ids: FilterEqualTypeInput - """Filter by the display name of the category.""" - name: FilterMatchTypeInput - """ - Filter by the unique parent category ID for a `CategoryInterface` object. - """ - parent_category_uid: FilterEqualTypeInput - """ - Filter by the unique parent category ID for a `CategoryInterface` object. - """ - parent_id: FilterEqualTypeInput - """Filter by the part of the URL that identifies the category.""" - url_key: FilterEqualTypeInput - """Filter by the URL path for the category.""" - url_path: FilterEqualTypeInput -} - -""" -ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. -""" -input ProductFilterInput { - """The category ID the product belongs to.""" - category_id: FilterTypeInput - """The product's country of origin.""" - country_of_manufacture: FilterTypeInput - """The timestamp indicating when the product was created.""" - created_at: FilterTypeInput - """The name of a custom layout.""" - custom_layout: FilterTypeInput - """XML code that is applied as a layout update to the product page.""" - custom_layout_update: FilterTypeInput - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: FilterTypeInput - """Indicates whether a gift message is available.""" - gift_message_available: FilterTypeInput - """ - Indicates whether additional attributes have been created for the product. - """ - has_options: FilterTypeInput - """The relative path to the main image on the product page.""" - image: FilterTypeInput - """The label assigned to a product image.""" - image_label: FilterTypeInput - """Indicates whether the product can be returned.""" - is_returnable: FilterTypeInput - """A number representing the product's manufacturer.""" - manufacturer: FilterTypeInput - """ - The numeric maximal price of the product. Do not include the currency code. - """ - max_price: FilterTypeInput - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: FilterTypeInput - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: FilterTypeInput - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: FilterTypeInput - """ - The numeric minimal price of the product. Do not include the currency code. - """ - min_price: FilterTypeInput - """The product name. Customers use this name to identify the product.""" - name: FilterTypeInput - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - news_from_date: FilterTypeInput - """The end date for new product listings.""" - news_to_date: FilterTypeInput - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: FilterTypeInput - """The keyword required to perform a logical OR comparison.""" - or: ProductFilterInput - """The price of an item.""" - price: FilterTypeInput - """Indicates whether the product has required options.""" - required_options: FilterTypeInput - """A short description of the product. Its use depends on the theme.""" - short_description: FilterTypeInput - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: FilterTypeInput - """The relative path to the small image, which is used on catalog pages.""" - small_image: FilterTypeInput - """The label assigned to a product's small image.""" - small_image_label: FilterTypeInput - """The beginning date that a product has a special price.""" - special_from_date: FilterTypeInput - """The discounted price of the product. Do not include the currency code.""" - special_price: FilterTypeInput - """The end date that a product has a special price.""" - special_to_date: FilterTypeInput - """The file name of a swatch image.""" - swatch_image: FilterTypeInput - """The relative path to the product's thumbnail image.""" - thumbnail: FilterTypeInput - """The label assigned to a product's thumbnail image.""" - thumbnail_label: FilterTypeInput - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: FilterTypeInput - """The timestamp indicating when the product was updated.""" - updated_at: FilterTypeInput - """The part of the URL that identifies the product""" - url_key: FilterTypeInput - url_path: FilterTypeInput - """The weight of the item, in units defined by the store.""" - weight: FilterTypeInput -} - -""" -Contains an image in base64 format and basic information about the image. -""" -type ProductMediaGalleryEntriesContent { - """The image in base64 format.""" - base64_encoded_data: String - """The file name of the image.""" - name: String - """The MIME type of the file, such as image/png.""" - type: String -} - -"""Contains a link to a video file and basic information about the video.""" -type ProductMediaGalleryEntriesVideoContent { - """Must be external-video.""" - media_type: String - """A description of the video.""" - video_description: String - """Optional data about the video.""" - video_metadata: String - """Describes the video source.""" - video_provider: String - """The title of the video.""" - video_title: String - """The URL to the video.""" - video_url: String -} - -""" -Deprecated. Use `ProductAttributeSortInput` instead. Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. -""" -input ProductSortInput { - """The product's country of origin.""" - country_of_manufacture: SortEnum - """The timestamp indicating when the product was created.""" - created_at: SortEnum - """The name of a custom layout.""" - custom_layout: SortEnum - """XML code that is applied as a layout update to the product page.""" - custom_layout_update: SortEnum - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: SortEnum - """Indicates whether a gift message is available.""" - gift_message_available: SortEnum - """ - Indicates whether additional attributes have been created for the product. - """ - has_options: SortEnum - """The relative path to the main image on the product page.""" - image: SortEnum - """The label assigned to a product image.""" - image_label: SortEnum - """Indicates whether the product can be returned.""" - is_returnable: SortEnum - """A number representing the product's manufacturer.""" - manufacturer: SortEnum - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: SortEnum - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: SortEnum - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: SortEnum - """The product name. Customers use this name to identify the product.""" - name: SortEnum - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - news_from_date: SortEnum - """The end date for new product listings.""" - news_to_date: SortEnum - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: SortEnum - """The price of the item.""" - price: SortEnum - """Indicates whether the product has required options.""" - required_options: SortEnum - """A short description of the product. Its use depends on the theme.""" - short_description: SortEnum - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: SortEnum - """The relative path to the small image, which is used on catalog pages.""" - small_image: SortEnum - """The label assigned to a product's small image.""" - small_image_label: SortEnum - """The beginning date that a product has a special price.""" - special_from_date: SortEnum - """The discounted price of the product.""" - special_price: SortEnum - """The end date that a product has a special price.""" - special_to_date: SortEnum - """Indicates the criteria to sort swatches.""" - swatch_image: SortEnum - """The relative path to the product's thumbnail image.""" - thumbnail: SortEnum - """The label assigned to a product's thumbnail image.""" - thumbnail_label: SortEnum - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: SortEnum - """The timestamp indicating when the product was updated.""" - updated_at: SortEnum - """The part of the URL that identifies the product""" - url_key: SortEnum - url_path: SortEnum - """The weight of the item, in units defined by the store.""" - weight: SortEnum -} - -""" -Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option -""" -input ProductAttributeSortInput { - """Attribute label: Brand""" - accessory_brand: SortEnum - """Attribute label: Product Name""" - name: SortEnum - """Sort by the position assigned to each product.""" - position: SortEnum - """Attribute label: Price""" - price: SortEnum - """Sort by the search relevance score (default).""" - relevance: SortEnum -} - -""" -Defines characteristics about images and videos associated with a specific product. -""" -type MediaGalleryEntry { - """Details about the content of the media gallery item.""" - content: ProductMediaGalleryEntriesContent - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The path of the image on the server.""" - file: String - """The identifier assigned to the object.""" - id: Int @deprecated(reason: "Use `uid` instead.") - """ - The alt text displayed on the storefront when the user points to the image. - """ - label: String - """Either `image` or `video`.""" - media_type: String - """The media item's position after it has been sorted.""" - position: Int - """ - Array of image types. It can have the following values: image, small_image, thumbnail. - """ - types: [String] - """The unique ID for a `MediaGalleryEntry` object.""" - uid: ID! - """Details about the content of a video item.""" - video_content: ProductMediaGalleryEntriesVideoContent -} - -"""Contains information for rendering layered navigation.""" -type LayerFilter { - """An array of filter items.""" - filter_items: [LayerFilterItemInterface] @deprecated(reason: "Use `Aggregation.options` instead.") - """The count of filter items in filter group.""" - filter_items_count: Int @deprecated(reason: "Use `Aggregation.count` instead.") - """The name of a layered navigation filter.""" - name: String @deprecated(reason: "Use `Aggregation.label` instead.") - """The request variable name for a filter query.""" - request_var: String @deprecated(reason: "Use `Aggregation.attribute_code` instead.") -} - -interface LayerFilterItemInterface { - """The count of items per filter.""" - items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") - """The label for a filter.""" - label: String @deprecated(reason: "Use `AggregationOption.label` instead.") - """The value of a filter request variable to be used in query.""" - value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") -} - -type LayerFilterItem implements LayerFilterItemInterface { - """The count of items per filter.""" - items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") - """The label for a filter.""" - label: String @deprecated(reason: "Use `AggregationOption.label` instead.") - """The value of a filter request variable to be used in query.""" - value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") -} - -""" -Contains information for each filterable option (such as price, category `UID`, and custom attributes). -""" -type Aggregation { - """Attribute code of the aggregation group.""" - attribute_code: String! - """The number of options in the aggregation group.""" - count: Int - """The aggregation display name.""" - label: String - """Array of options for the aggregation.""" - options: [AggregationOption] - """The relative position of the attribute in a layered navigation block.""" - position: Int -} - -"""A string that contains search suggestion""" -type SearchSuggestion { - """The search suggestion of existing product.""" - search: String! -} - -"""Defines aggregation option fields.""" -interface AggregationOptionInterface { - """The number of items that match the aggregation option.""" - count: Int - """The display label for an aggregation option.""" - label: String - """The internal ID that represents the value of the option.""" - value: String! -} - -"""An implementation of `AggregationOptionInterface`.""" -type AggregationOption implements AggregationOptionInterface { - """The number of items that match the aggregation option.""" - count: Int - """The display label for an aggregation option.""" - label: String - """The internal ID that represents the value of the option.""" - value: String! -} - -"""Defines a possible sort field.""" -type SortField { - """The label of the sort field.""" - label: String - """The attribute code of the sort field.""" - value: String -} - -""" -Contains a default value for sort fields and all available sort fields. -""" -type SortFields { - """The default sort field value.""" - default: String - """An array of possible sort fields.""" - options: [SortField] -} - -"""Contains a simple product wish list item.""" -type SimpleWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Contains a virtual product wish list item.""" -type VirtualWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Swatch attribute metadata.""" -type CatalogAttributeMetadata implements CustomAttributeMetadataInterface { - """To which catalog types an attribute can be applied.""" - apply_to: [CatalogAttributeApplyToEnum] - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """ - Whether a product or category attribute can be compared against another or not. - """ - is_comparable: Boolean - """Whether a product or category attribute can be filtered or not.""" - is_filterable: Boolean - """ - Whether a product or category attribute can be filtered in search or not. - """ - is_filterable_in_search: Boolean - """Whether a product or category attribute can use HTML on front or not.""" - is_html_allowed_on_front: Boolean - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether a product or category attribute can be searched or not.""" - is_searchable: Boolean - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """ - Whether a product or category attribute can be used for price rules or not. - """ - is_used_for_price_rules: Boolean - """ - Whether a product or category attribute is used for promo rules or not. - """ - is_used_for_promo_rules: Boolean - """ - Whether a product or category attribute is visible in advanced search or not. - """ - is_visible_in_advanced_search: Boolean - """Whether a product or category attribute is visible on front or not.""" - is_visible_on_front: Boolean - """Whether a product or category attribute has WYSIWYG enabled or not.""" - is_wysiwyg_enabled: Boolean - """The label assigned to the attribute.""" - label: String - """Attribute options.""" - options: [CustomAttributeOptionInterface]! - """Input type of the swatch attribute option.""" - swatch_input_type: SwatchInputTypeEnum - """Whether update product preview image or not.""" - update_product_preview_image: Boolean - """Whether use product image for swatch or not.""" - use_product_image_for_swatch: Boolean - """ - Whether a product or category attribute is used in product listing or not. - """ - used_in_product_listing: Boolean -} - -enum CatalogAttributeApplyToEnum { - SIMPLE - VIRTUAL - BUNDLE - DOWNLOADABLE - CONFIGURABLE - GROUPED - CATEGORY -} - -"""Product custom attributes""" -type ProductCustomAttributes { - """Errors when retrieving custom attributes metadata.""" - errors: [AttributeMetadataError]! - """Requested custom attributes""" - items: [AttributeValueInterface]! -} - -"""Contains the `uid`, `relative_url`, and `type` attributes.""" -type EntityUrl { - canonical_url: String @deprecated(reason: "Use `relative_url` instead.") - """ - The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID. - """ - entity_uid: ID - """ - The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID. - """ - id: Int @deprecated(reason: "Use `entity_uid` instead.") - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirectCode: Int - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum -} - -"""This enumeration defines the entity type.""" -enum UrlRewriteEntityTypeEnum { - CMS_PAGE - PRODUCT - CATEGORY - PWA_404 -} - -"""Contains URL rewrite details.""" -type UrlRewrite { - """An array of request parameters.""" - parameters: [HttpQueryParameter] - """The request URL.""" - url: String -} - -"""Contains target path parameters.""" -type HttpQueryParameter { - """A parameter name.""" - name: String - """A parameter value.""" - value: String -} - -""" -Default implementation of RoutableInterface. This type is returned when the URL is not linked to an entity. -""" -type RoutableUrl implements RoutableInterface { - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum -} - -"""Routable entities serve as the model for a rendered page.""" -interface RoutableInterface { - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum -} - -input CreateGuestCartInput { - """Optional client-generated ID""" - cart_uid: ID -} - -"""Assigns a specific `cart_id` to the empty cart.""" -input createEmptyCartInput { - """The ID to assign to the cart.""" - cart_id: String -} - -"""Defines the simple and group products to add to the cart.""" -input AddSimpleProductsToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of simple and group items to add.""" - cart_items: [SimpleProductCartItemInput]! -} - -"""Defines a single product to add to the cart.""" -input SimpleProductCartItemInput { - """An array that defines customizable options for the product.""" - customizable_options: [CustomizableOptionInput] - """ - An object containing the `sku`, `quantity`, and other relevant information about the product. - """ - data: CartItemInput! -} - -"""Defines the virtual products to add to the cart.""" -input AddVirtualProductsToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of virtual products to add.""" - cart_items: [VirtualProductCartItemInput]! -} - -"""Defines a single product to add to the cart.""" -input VirtualProductCartItemInput { - """An array that defines customizable options for the product.""" - customizable_options: [CustomizableOptionInput] - """ - An object containing the `sku`, `quantity`, and other relevant information about the product. - """ - data: CartItemInput! -} - -"""Defines an item to be added to the cart.""" -input CartItemInput { - """ - An array of entered options for the base product, such as personalization text. - """ - entered_options: [EnteredOptionInput] - """For a child product, the SKU of its parent product.""" - parent_sku: String - """The amount or number of an item to add.""" - quantity: Float! - """ - The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`. - """ - selected_options: [ID] - """The SKU of the product.""" - sku: String! -} - -"""Specifies the field to use for sorting quote items""" -enum SortQuoteItemsEnum { - ITEM_ID - CREATED_AT - UPDATED_AT - PRODUCT_ID - SKU - NAME - DESCRIPTION - WEIGHT - QTY - PRICE - BASE_PRICE - CUSTOM_PRICE - DISCOUNT_PERCENT - DISCOUNT_AMOUNT - BASE_DISCOUNT_AMOUNT - TAX_PERCENT - TAX_AMOUNT - BASE_TAX_AMOUNT - ROW_TOTAL - BASE_ROW_TOTAL - ROW_TOTAL_WITH_DISCOUNT - ROW_WEIGHT - PRODUCT_TYPE - BASE_TAX_BEFORE_DISCOUNT - TAX_BEFORE_DISCOUNT - ORIGINAL_CUSTOM_PRICE - PRICE_INC_TAX - BASE_PRICE_INC_TAX - ROW_TOTAL_INC_TAX - BASE_ROW_TOTAL_INC_TAX - DISCOUNT_TAX_COMPENSATION_AMOUNT - BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT - FREE_SHIPPING -} - -"""Specifies the field to use for sorting quote items""" -input QuoteItemsSortInput { - """Specifies the quote items field to sort by""" - field: SortQuoteItemsEnum! - """Specifies the order of quote items' sorting""" - order: SortEnum! -} - -"""Defines a customizable option.""" -input CustomizableOptionInput { - """The customizable option ID of the product.""" - id: Int - """The unique ID for a `CartItemInterface` object.""" - uid: ID - """The string value of the option.""" - value_string: String! -} - -"""Specifies the coupon code to apply to the cart.""" -input ApplyCouponToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """A valid coupon code.""" - coupon_code: String! -} - -"""Modifies the specified items in the cart.""" -input UpdateCartItemsInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of items to be updated.""" - cart_items: [CartItemUpdateInput]! -} - -"""A single item to be updated.""" -input CartItemUpdateInput { - """Deprecated. Use `cart_item_uid` instead.""" - cart_item_id: Int - """The unique ID for a `CartItemInterface` object.""" - cart_item_uid: ID - """An array that defines customizable options for the product.""" - customizable_options: [CustomizableOptionInput] - """Gift message details for the cart item""" - gift_message: GiftMessageInput - """ - The unique ID for a `GiftWrapping` object to be used for the cart item. - """ - gift_wrapping_id: ID - """The new quantity of the item.""" - quantity: Float -} - -"""Specifies which items to remove from the cart.""" -input RemoveItemFromCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """Deprecated. Use `cart_item_uid` instead.""" - cart_item_id: Int - """Required field. The unique ID for a `CartItemInterface` object.""" - cart_item_uid: ID -} - -"""Specifies an array of addresses to use for shipping.""" -input SetShippingAddressesOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of shipping addresses.""" - shipping_addresses: [ShippingAddressInput]! -} - -"""Defines a single shipping address.""" -input ShippingAddressInput { - """Defines a shipping address.""" - address: CartAddressInput - """ - An ID from the customer's address book that uniquely identifies the address to be used for shipping. - """ - customer_address_id: Int - """Text provided by the shopper.""" - customer_notes: String - """The code of Pickup Location which will be used for In-Store Pickup.""" - pickup_location_code: String -} - -"""Sets the billing address.""" -input SetBillingAddressOnCartInput { - """The billing address.""" - billing_address: BillingAddressInput! - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Defines the billing address.""" -input BillingAddressInput { - """Defines a billing address.""" - address: CartAddressInput - """ - An ID from the customer's address book that uniquely identifies the address to be used for billing. - """ - customer_address_id: Int - """ - Indicates whether to set the billing address to be the same as the existing shipping address on the cart. - """ - same_as_shipping: Boolean - """ - Indicates whether to set the shipping address to be the same as this billing address. - """ - use_for_shipping: Boolean -} - -"""Defines the billing or shipping address to be applied to the cart.""" -input CartAddressInput { - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """The country code and label for the billing or shipping address.""" - country_code: String! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInput] - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """ - A string that defines the state or province of the billing or shipping address. - """ - region: String - """ - An integer that defines the state or province of the billing or shipping address. - """ - region_id: Int - """ - Determines whether to save the address in the customer's address book. The default value is true. - """ - save_in_address_book: Boolean - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -"""Applies one or shipping methods to the cart.""" -input SetShippingMethodsOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of shipping methods.""" - shipping_methods: [ShippingMethodInput]! -} - -"""Defines the shipping carrier and method.""" -input ShippingMethodInput { - """ - A string that identifies a commercial carrier or an offline delivery method. - """ - carrier_code: String! - """ - A string that indicates which service a commercial carrier will use to ship items. For offline delivery methods, this value is similar to the label displayed on the checkout page. - """ - method_code: String! -} - -"""Applies a payment method to the quote.""" -input SetPaymentMethodAndPlaceOrderInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """The payment method data to apply to the cart.""" - payment_method: PaymentMethodInput! -} - -"""Specifies the quote to be converted to an order.""" -input PlaceOrderInput { - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Applies a payment method to the cart.""" -input SetPaymentMethodOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """The payment method data to apply to the cart.""" - payment_method: PaymentMethodInput! -} - -"""Defines the payment method.""" -input PaymentMethodInput { - braintree: BraintreeInput - braintree_ach_direct_debit: BraintreeInput - braintree_ach_direct_debit_vault: BraintreeVaultInput - braintree_applepay_vault: BraintreeVaultInput - braintree_cc_vault: BraintreeCcVaultInput - braintree_googlepay_vault: BraintreeVaultInput - braintree_paypal: BraintreeInput - braintree_paypal_vault: BraintreeVaultInput - """The internal name for the payment method.""" - code: String! - """Required input for PayPal Hosted pro payments.""" - hosted_pro: HostedProInput - """Required input for Payflow Express Checkout payments.""" - payflow_express: PayflowExpressInput - """Required input for PayPal Payflow Link and Payments Advanced payments.""" - payflow_link: PayflowLinkInput - """Required input for PayPal Payflow Pro and Payment Pro payments.""" - payflowpro: PayflowProInput - """Required input for PayPal Payflow Pro vault payments.""" - payflowpro_cc_vault: VaultTokenInput - """Required input for Apple Pay button""" - payment_services_paypal_apple_pay: ApplePayMethodInput - """Required input for Google Pay button""" - payment_services_paypal_google_pay: GooglePayMethodInput - """Required input for Hosted Fields""" - payment_services_paypal_hosted_fields: HostedFieldsInput - """Required input for Smart buttons""" - payment_services_paypal_smart_buttons: SmartButtonMethodInput - """Required input for vault""" - payment_services_paypal_vault: VaultMethodInput - """Required input for Express Checkout and Payments Standard payments.""" - paypal_express: PaypalExpressInput - """The purchase order number. Optional for most payment methods.""" - purchase_order_number: String -} - -"""Defines the guest email and cart.""" -input SetGuestEmailOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """The email address of the guest.""" - email: String! -} - -""" -Contains details about the final price of items in the cart, including discount and tax information. -""" -type CartPrices { - """ - An array containing the names and amounts of taxes applied to each item in the cart. - """ - applied_taxes: [CartTaxItem] - discount: CartDiscount @deprecated(reason: "Use discounts instead.") - """ - An array containing cart rule discounts, store credit and gift cards applied to the cart. - """ - discounts: [Discount] - """The list of prices for the selected gift options.""" - gift_options: GiftOptionsPrices - """The total, including discounts, taxes, shipping, and other fees.""" - grand_total: Money - """The subtotal without any applied taxes.""" - subtotal_excluding_tax: Money - """The subtotal including any applied taxes.""" - subtotal_including_tax: Money - """The subtotal with any discounts applied, but not taxes.""" - subtotal_with_discount_excluding_tax: Money -} - -"""Contains tax information about an item in the cart.""" -type CartTaxItem { - """The amount of tax applied to the item.""" - amount: Money! - """The description of the tax.""" - label: String! -} - -"""Contains information about discounts applied to the cart.""" -type CartDiscount { - """The amount of the discount applied to the item.""" - amount: Money! - """The description of the discount.""" - label: [String]! -} - -type CreateGuestCartOutput { - """The newly created cart.""" - cart: Cart -} - -"""Contains details about the cart after setting the payment method.""" -type SetPaymentMethodOnCartOutput { - """The cart after setting the payment method.""" - cart: Cart! -} - -"""Contains details about the cart after setting the billing address.""" -type SetBillingAddressOnCartOutput { - """The cart after setting the billing address.""" - cart: Cart! -} - -"""Contains details about the cart after setting the shipping addresses.""" -type SetShippingAddressesOnCartOutput { - """The cart after setting the shipping addresses.""" - cart: Cart! -} - -"""Contains details about the cart after setting the shipping methods.""" -type SetShippingMethodsOnCartOutput { - """The cart after setting the shipping methods.""" - cart: Cart! -} - -"""Contains details about the cart after applying a coupon.""" -type ApplyCouponToCartOutput { - """The cart after applying a coupon.""" - cart: Cart! -} - -"""Contains the results of the request to place an order.""" -type PlaceOrderOutput { - """An array of place order errors.""" - errors: [PlaceOrderError]! - """The ID of the order.""" - order: Order @deprecated(reason: "Use `orderV2` instead.") - """Full order information.""" - orderV2: CustomerOrder -} - -"""An error encountered while placing an order.""" -type PlaceOrderError { - """An error code that is specific to place order.""" - code: PlaceOrderErrorCodes! - """A localized error message.""" - message: String! -} - -""" -Contains the contents and other details about a guest or customer cart. -""" -type Cart { - applied_coupon: AppliedCoupon @deprecated(reason: "Use `applied_coupons` instead.") - """ - An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code. - """ - applied_coupons: [AppliedCoupon] - """An array of gift card items applied to the cart.""" - applied_gift_cards: [AppliedGiftCard] - """The amount of reward points applied to the cart.""" - applied_reward_points: RewardPointsAmount - """Store credit information applied to the cart.""" - applied_store_credit: AppliedStoreCredit - """The list of available gift wrapping options for the cart.""" - available_gift_wrappings: [GiftWrapping]! - """An array of available payment methods.""" - available_payment_methods: [AvailablePaymentMethod] - """The billing address assigned to the cart.""" - billing_address: BillingCartAddress - """The email address of the guest or customer.""" - email: String - """The entered gift message for the cart""" - gift_message: GiftMessage - """Indicates whether the shopper requested gift receipt for the cart.""" - gift_receipt_included: Boolean! - """The selected gift wrapping for the cart.""" - gift_wrapping: GiftWrapping - """The unique ID for a `Cart` object.""" - id: ID! - """Indicates whether the cart contains only virtual products.""" - is_virtual: Boolean! - """An array of products that have been added to the cart.""" - items: [CartItemInterface] @deprecated(reason: "Use `itemsV2` instead.") - itemsV2(pageSize: Int = 20, currentPage: Int = 1, sort: QuoteItemsSortInput): CartItems - """Pricing details for the quote.""" - prices: CartPrices - """Indicates whether the shopper requested a printed card for the cart.""" - printed_card_included: Boolean! - """Indicates which payment method was applied to the cart.""" - selected_payment_method: SelectedPaymentMethod - """An array of shipping addresses assigned to the cart.""" - shipping_addresses: [ShippingCartAddress]! - """The total number of items in the cart.""" - total_quantity: Float! - """The total number of items in the cart.""" - total_summary_quantity_including_config: Float! -} - -type CartItems { - """An array of products that have been added to the cart.""" - items: [CartItemInterface]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo - """The number of returned cart items.""" - total_count: Int! -} - -interface CartAddressInterface { - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """An object containing the country label and code.""" - country: CartAddressCountry! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInterface]! - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region label and code.""" - region: CartAddressRegion - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The unique id of the customer address.""" - uid: String! - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -"""Contains shipping addresses and methods.""" -type ShippingCartAddress implements CartAddressInterface { - """ - An array that lists the shipping methods that can be applied to the cart. - """ - available_shipping_methods: [AvailableShippingMethod] - cart_items: [CartItemQuantity] @deprecated(reason: "Use `cart_items_v2` instead.") - """An array that lists the items in the cart.""" - cart_items_v2: [CartItemInterface] - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """An object containing the country label and code.""" - country: CartAddressCountry! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInterface]! - """Text provided by the shopper.""" - customer_notes: String - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - items_weight: Float @deprecated(reason: "This information should not be exposed on the frontend.") - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - pickup_location_code: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region label and code.""" - region: CartAddressRegion - """An object that describes the selected shipping method.""" - selected_shipping_method: SelectedShippingMethod - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The unique id of the customer address.""" - uid: String! - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -"""Contains details about the billing address.""" -type BillingCartAddress implements CartAddressInterface { - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """An object containing the country label and code.""" - country: CartAddressCountry! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInterface]! - customer_notes: String @deprecated(reason: "The field is used only in shipping address.") - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region label and code.""" - region: CartAddressRegion - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The unique id of the customer address.""" - uid: String! - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -""" -Deprecated: The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`. -""" -type CartItemQuantity { - cart_item_id: Int! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") - quantity: Float! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") -} - -"""Contains details about the region in a billing or shipping address.""" -type CartAddressRegion { - """The state or province code.""" - code: String - """The display label for the region.""" - label: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -"""Contains details the country in a billing or shipping address.""" -type CartAddressCountry { - """The country code.""" - code: String! - """The display label for the country.""" - label: String! -} - -"""Contains details about the selected shipping method and carrier.""" -type SelectedShippingMethod { - """The cost of shipping using this shipping method.""" - amount: Money! - base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") - """ - A string that identifies a commercial carrier or an offline shipping method. - """ - carrier_code: String! - """The label for the carrier code.""" - carrier_title: String! - """A shipping method code associated with a carrier.""" - method_code: String! - """The label for the method code.""" - method_title: String! - """The cost of shipping using this shipping method, excluding tax.""" - price_excl_tax: Money! - """The cost of shipping using this shipping method, including tax.""" - price_incl_tax: Money! -} - -"""Contains details about the possible shipping methods and carriers.""" -type AvailableShippingMethod { - """The cost of shipping using this shipping method.""" - amount: Money! - """Indicates whether this shipping method can be applied to the cart.""" - available: Boolean! - base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") - """ - A string that identifies a commercial carrier or an offline shipping method. - """ - carrier_code: String! - """The label for the carrier code.""" - carrier_title: String! - """Describes an error condition.""" - error_message: String - """ - A shipping method code associated with a carrier. The value could be null if no method is available. - """ - method_code: String - """ - The label for the shipping method code. The value could be null if no method is available. - """ - method_title: String - """The cost of shipping using this shipping method, excluding tax.""" - price_excl_tax: Money! - """The cost of shipping using this shipping method, including tax.""" - price_incl_tax: Money! -} - -""" -Describes a payment method that the shopper can use to pay for the order. -""" -type AvailablePaymentMethod { - """The payment method code.""" - code: String! - """If the payment method is an online integration""" - is_deferred: Boolean! - """The payment method title.""" - title: String! -} - -"""Describes the payment method the shopper selected.""" -type SelectedPaymentMethod { - """The payment method code.""" - code: String! - """The purchase order number.""" - purchase_order_number: String - """The payment method title.""" - title: String! -} - -"""Contains the applied coupon code.""" -type AppliedCoupon { - """The coupon code the shopper applied to the card.""" - code: String! -} - -"""Specifies the cart from which to remove a coupon.""" -input RemoveCouponFromCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Contains details about the cart after removing a coupon.""" -type RemoveCouponFromCartOutput { - """The cart after removing a coupon.""" - cart: Cart -} - -"""Contains details about the cart after adding simple or group products.""" -type AddSimpleProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""Contains details about the cart after adding virtual products.""" -type AddVirtualProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""Contains details about the cart after updating items.""" -type UpdateCartItemsOutput { - """The cart after updating products.""" - cart: Cart! -} - -"""Contains details about the cart after removing an item.""" -type RemoveItemFromCartOutput { - """The cart after removing an item.""" - cart: Cart! -} - -"""Contains details about the cart after setting the email of a guest.""" -type SetGuestEmailOnCartOutput { - """The cart after setting the guest email.""" - cart: Cart! -} - -"""An implementation for simple product cart items.""" -type SimpleCartItem implements CartItemInterface { - """The list of available gift wrapping options for the cart item.""" - available_gift_wrapping: [GiftWrapping]! - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - """The entered gift message for the cart item""" - gift_message: GiftMessage - """The selected gift wrapping for the cart item.""" - gift_wrapping: GiftWrapping - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""An implementation for virtual product cart items.""" -type VirtualCartItem implements CartItemInterface { - """An array containing customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""An interface for products in a cart.""" -interface CartItemInterface { - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -type CartItemError { - """An error code that describes the error encountered""" - code: CartItemErrorType! - """A localized error message""" - message: String! -} - -enum CartItemErrorType { - UNDEFINED - ITEM_QTY - ITEM_INCREMENTS -} - -"""Specifies the discount type and value for quote line item.""" -type Discount { - """The amount of the discount.""" - amount: Money! - """The type of the entity the discount is applied to.""" - applied_to: CartDiscountType! - """The coupon related to the discount.""" - coupon: AppliedCoupon - """Is quote discounting locked for line item.""" - is_discounting_locked: Boolean - """A description of the discount.""" - label: String! - """ - Quote line item discount type. Values: 1 = PERCENTAGE_DISCOUNT; 2 = AMOUNT_DISCOUNT; 3 = PROPOSED_TOTAL. - """ - type: String - """Quote line item discount value.""" - value: Float -} - -enum CartDiscountType { - ITEM - SHIPPING -} - -""" -Contains details about the price of the item, including taxes and discounts. -""" -type CartItemPrices { - """An array of discounts to be applied to the cart item.""" - discounts: [Discount] - """An array of FPTs applied to the cart item.""" - fixed_product_taxes: [FixedProductTax] - """ - The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. - """ - price: Money! - """ - The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. - """ - price_including_tax: Money! - """The value of the price multiplied by the quantity of the item.""" - row_total: Money! - """The value of `row_total` plus the tax applied to the item.""" - row_total_including_tax: Money! - """The total of all discounts applied to the item.""" - total_item_discount: Money -} - -"""Identifies a customized product that has been placed in a cart.""" -type SelectedCustomizableOption { - """ - The unique ID for a specific `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. - """ - customizable_option_uid: ID! - id: Int! @deprecated(reason: "Use `SelectedCustomizableOption.customizable_option_uid` instead.") - """Indicates whether the customizable option is required.""" - is_required: Boolean! - """The display name of the selected customizable option.""" - label: String! - """A value indicating the order to display this option.""" - sort_order: Int! - """The type of `CustomizableOptionInterface` object.""" - type: String! - """An array of selectable values.""" - values: [SelectedCustomizableOptionValue]! -} - -"""Identifies the value of the selected customized option.""" -type SelectedCustomizableOptionValue { - """ - The unique ID for a value object that corresponds to the object represented by the `customizable_option_uid` attribute. - """ - customizable_option_value_uid: ID! - id: Int! @deprecated(reason: "Use `SelectedCustomizableOptionValue.customizable_option_value_uid` instead.") - """The display name of the selected value.""" - label: String! - """The price of the selected customizable value.""" - price: CartItemSelectedOptionValuePrice! - """The text identifying the selected value.""" - value: String! -} - -"""Contains details about the price of a selected customizable value.""" -type CartItemSelectedOptionValuePrice { - """Indicates whether the price type is fixed, percent, or dynamic.""" - type: PriceTypeEnum! - """A string that describes the unit of the value.""" - units: String! - """A price value.""" - value: Float! -} - -"""Contains the order ID.""" -type Order { - order_id: String @deprecated(reason: "Use `order_number` instead.") - """The unique ID for an `Order` object.""" - order_number: String! -} - -"""An error encountered while adding an item to the the cart.""" -type CartUserInputError { - """A cart-specific error code.""" - code: CartUserInputErrorType! - """A localized error message.""" - message: String! -} - -"""Contains details about the cart after adding products to it.""" -type AddProductsToCartOutput { - """The cart after products have been added.""" - cart: Cart! - """Contains errors encountered while adding an item to the cart.""" - user_errors: [CartUserInputError]! -} - -enum CartUserInputErrorType { - PRODUCT_NOT_FOUND - NOT_SALABLE - INSUFFICIENT_STOCK - UNDEFINED - PERMISSION_DENIED -} - -enum PlaceOrderErrorCodes { - CART_NOT_FOUND - CART_NOT_ACTIVE - GUEST_EMAIL_MISSING - UNABLE_TO_PLACE_ORDER - UNDEFINED -} - -input EstimateTotalsInput { - """Customer's address to estimate totals.""" - address: EstimateAddressInput! - """The unique ID of the cart to query.""" - cart_id: String! - """Selected shipping method to estimate totals.""" - shipping_method: ShippingMethodInput -} - -"""Estimate totals output.""" -type EstimateTotalsOutput { - """Cart after totals estimation""" - cart: Cart -} - -"""Contains details about an address.""" -input EstimateAddressInput { - """The two-letter code representing the customer's country.""" - country_code: CountryCodeEnum! - """The customer's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: CustomerAddressRegionInput -} - -"""Defines details about an individual checkout agreement.""" -type CheckoutAgreement { - """The ID for a checkout agreement.""" - agreement_id: Int! - """The checkbox text for the checkout agreement.""" - checkbox_text: String! - """Required. The text of the agreement.""" - content: String! - """ - The height of the text box where the Terms and Conditions statement appears during checkout. - """ - content_height: String - """Indicates whether the `content` text is in HTML format.""" - is_html: Boolean! - """Indicates whether agreements are accepted automatically or manually.""" - mode: CheckoutAgreementMode! - """The name given to the condition.""" - name: String! -} - -"""Indicates how agreements are accepted.""" -enum CheckoutAgreementMode { - """Conditions are automatically accepted upon checkout.""" - AUTO - """Shoppers must manually accept the conditions to place an order.""" - MANUAL -} - -"""Contains details about a customer email address to confirm.""" -input ConfirmEmailInput { - """The key to confirm the email address.""" - confirmation_key: String! - """The email address to be confirmed.""" - email: String! -} - -"""Contains details about a billing or shipping address.""" -input CustomerAddressInput { - """The customer's city or town.""" - city: String - """The customer's company.""" - company: String - """The two-letter code representing the customer's country.""" - country_code: CountryCodeEnum - """Deprecated: use `country_code` instead.""" - country_id: CountryCodeEnum - """Deprecated. Use custom_attributesV2 instead.""" - custom_attributes: [CustomerAddressAttributeInput] - """Custom attributes assigned to the customer address.""" - custom_attributesV2: [AttributeValueInput] - """Indicates whether the address is the default billing address.""" - default_billing: Boolean - """Indicates whether the address is the default shipping address.""" - default_shipping: Boolean - """The customer's fax number.""" - fax: String - """ - The first name of the person associated with the billing/shipping address. - """ - firstname: String - """ - The family name of the person associated with the billing/shipping address. - """ - lastname: String - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The customer's ZIP or postal code.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region name, region code, and region ID.""" - region: CustomerAddressRegionInput - """An array of strings that define the street number and name.""" - street: [String] - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's telephone number.""" - telephone: String - """The customer's Tax/VAT number (for corporate customers).""" - vat_id: String -} - -"""Defines the customer's state or province.""" -input CustomerAddressRegionInput { - """The state or province name.""" - region: String - """The address region code.""" - region_code: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -"""Specifies the attribute code and value of a customer attribute.""" -input CustomerAddressAttributeInput { - """The name assigned to the attribute.""" - attribute_code: String! - """The value assigned to the attribute.""" - value: String! -} - -"""Contains a customer authorization token.""" -type CustomerToken { - """Generate logout time""" - customer_token_lifetime: Int - """The customer authorization token.""" - token: String -} - -"""An input object that assigns or updates customer attributes.""" -input CustomerInput { - """The customer's date of birth.""" - date_of_birth: String - """Deprecated: Use `date_of_birth` instead.""" - dob: String - """The customer's email address. Required when creating a customer.""" - email: String - """The customer's first name.""" - firstname: String - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The customer's family name.""" - lastname: String - """The customer's middle name.""" - middlename: String - """The customer's password.""" - password: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Tax/VAT number (for corporate customers).""" - taxvat: String -} - -"""An input object for creating a customer.""" -input CustomerCreateInput { - """Indicates whether the customer has enabled remote shopping assistance.""" - allow_remote_shopping_assistance: Boolean - """The customer's custom attributes.""" - custom_attributes: [AttributeValueInput] - """The customer's date of birth.""" - date_of_birth: String - """Deprecated: Use `date_of_birth` instead.""" - dob: String - """The customer's email address.""" - email: String! - """The customer's first name.""" - firstname: String! - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The customer's family name.""" - lastname: String! - """The customer's middle name.""" - middlename: String - """The customer's password.""" - password: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Tax/VAT number (for corporate customers).""" - taxvat: String -} - -"""An input object for updating a customer.""" -input CustomerUpdateInput { - """Indicates whether the customer has enabled remote shopping assistance.""" - allow_remote_shopping_assistance: Boolean - """The customer's custom attributes.""" - custom_attributes: [AttributeValueInput] - """The customer's date of birth.""" - date_of_birth: String - """Deprecated: Use `date_of_birth` instead.""" - dob: String - """The customer's first name.""" - firstname: String - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The customer's family name.""" - lastname: String - """The customer's middle name.""" - middlename: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Tax/VAT number (for corporate customers).""" - taxvat: String -} - -"""Contains details about a newly-created or updated customer.""" -type CustomerOutput { - """Customer details after creating or updating a customer.""" - customer: Customer! -} - -"""Contains the result of a request to revoke a customer token.""" -type RevokeCustomerTokenOutput { - """The result of a request to revoke a customer token.""" - result: Boolean! -} - -"""Defines the customer name, addresses, and other details.""" -type Customer { - """An array containing the customer's shipping and billing addresses.""" - addresses: [CustomerAddress] - """Indicates whether the customer has enabled remote shopping assistance.""" - allow_remote_shopping_assistance: Boolean! - """An object that contains a list of companies user is assigned to.""" - companies(input: UserCompaniesInput): UserCompaniesOutput! - """The contents of the customer's compare list.""" - compare_list: CompareList - """The customer's confirmation status.""" - confirmation_status: ConfirmationStatusEnum! - """Timestamp indicating when the account was created.""" - created_at: String - """Customer's custom attributes.""" - custom_attributes(attributeCodes: [ID!]): [AttributeValueInterface] - """The customer's date of birth.""" - date_of_birth: String - """The ID assigned to the billing address.""" - default_billing: String - """The ID assigned to the shipping address.""" - default_shipping: String - """The customer's date of birth.""" - dob: String @deprecated(reason: "Use `date_of_birth` instead.") - """The customer's email address. Required.""" - email: String - """The customer's first name.""" - firstname: String - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """Details about all of the customer's gift registries.""" - gift_registries: [GiftRegistry] - """Details about a specific gift registry.""" - gift_registry(giftRegistryUid: ID!): GiftRegistry - group_id: Int @deprecated(reason: "Customer group should not be exposed in the storefront scenarios.") - """The ID assigned to the customer.""" - id: Int @deprecated(reason: "`id` is not needed as part of `Customer`, because on the server side, it can be identified based on the customer token used for authentication. There is no need to know customer ID on the client side.") - """ - Customer's confirmation status (confirmed/confirmation not required - true, unconfirmed - false). - """ - is_confirmed: Boolean - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The job title of a company user.""" - job_title: String - """The customer's family name.""" - lastname: String - """The customer's middle name.""" - middlename: String - orders( - """Defines the filter to use for searching customer orders.""" - filter: CustomerOrdersFilterInput - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - Specifies the maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """ - Specifies which field to sort on, and whether to return the results in ascending or descending order. - """ - sort: CustomerOrderSortInput - """ - Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores. - """ - scope: ScopeTypeEnum - ): CustomerOrders - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """Purchase order details.""" - purchase_order(uid: ID!): PurchaseOrder - """Details about a single purchase order approval rule.""" - purchase_order_approval_rule(uid: ID!): PurchaseOrderApprovalRule - """ - Purchase order approval rule metadata that can be used for rule edit form rendering. - """ - purchase_order_approval_rule_metadata: PurchaseOrderApprovalRuleMetadata - """A list of purchase order approval rules visible to the customer.""" - purchase_order_approval_rules(currentPage: Int = 1, pageSize: Int = 20): PurchaseOrderApprovalRules - """A list of purchase orders visible to the customer.""" - purchase_orders(filter: PurchaseOrdersFilterInput, currentPage: Int = 1, pageSize: Int = 20): PurchaseOrders - """ - Indicates whether purchase order functionality is enabled for the current customer. Global and company-level settings are factored into the result. - """ - purchase_orders_enabled: Boolean! - """An object that contains the customer's requisition lists.""" - requisition_lists( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The filter to use to limit the number of requisition lists to return.""" - filter: RequisitionListFilterInput - ): RequisitionLists - """ - Details about the specified return request from the unique ID for a `Return` object. - """ - return(uid: ID!): Return - """Information about the customer's return requests.""" - returns( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): Returns - """Contains the customer's product reviews.""" - reviews( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """Customer reward points details.""" - reward_points: RewardPoints - """The role name and permissions assigned to the company user.""" - role: CompanyRole - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum - """Store credit information applied for the logged in customer.""" - store_credit: CustomerStoreCredit - """ID of the company structure""" - structure_id: ID! - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Value-added tax (VAT) number (for corporate customers).""" - taxvat: String - """The team the company user is assigned to.""" - team: CompanyTeam - """The phone number of the company user.""" - telephone: String - """Return a customer's wish lists.""" - wishlist: Wishlist! @deprecated(reason: "Use `Customer.wishlists` or `Customer.wishlist_v2` instead.") - """ - Retrieve the wish list identified by the unique ID for a `Wishlist` object. - """ - wishlist_v2(id: ID!): Wishlist - """ - An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce. - """ - wishlists( - """ - Specifies the maximum number of results to return at once. This attribute is optional. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): [Wishlist]! -} - -""" -Contains detailed information about a customer's billing or shipping address. -""" -type CustomerAddress { - """The customer's city or town.""" - city: String - """The customer's company.""" - company: String - """The customer's country.""" - country_code: CountryCodeEnum - """The customer's country.""" - country_id: String @deprecated(reason: "Use `country_code` instead.") - custom_attributes: [CustomerAddressAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") - """Custom attributes assigned to the customer address.""" - custom_attributesV2(attributeCodes: [ID!]): [AttributeValueInterface]! - """The customer ID""" - customer_id: Int @deprecated(reason: "`customer_id` is not needed as part of `CustomerAddress`. The `id` is a unique identifier for the addresses.") - """ - Indicates whether the address is the customer's default billing address. - """ - default_billing: Boolean - """ - Indicates whether the address is the customer's default shipping address. - """ - default_shipping: Boolean - """Contains any extension attributes for the address.""" - extension_attributes: [CustomerAddressAttribute] - """The customer's fax number.""" - fax: String - """ - The first name of the person associated with the shipping/billing address. - """ - firstname: String - """The ID of a `CustomerAddress` object.""" - id: Int - """ - The family name of the person associated with the shipping/billing address. - """ - lastname: String - """ - The middle name of the person associated with the shipping/billing address. - """ - middlename: String - """The customer's ZIP or postal code.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region name, region code, and region ID.""" - region: CustomerAddressRegion - """The unique ID for a pre-defined region.""" - region_id: Int - """An array of strings that define the street number and name.""" - street: [String] - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's telephone number.""" - telephone: String - """The customer's Value-added tax (VAT) number (for corporate customers).""" - vat_id: String -} - -"""Defines the customer's state or province.""" -type CustomerAddressRegion { - """The state or province name.""" - region: String - """The address region code.""" - region_code: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -""" -Specifies the attribute code and value of a customer address attribute. -""" -type CustomerAddressAttribute { - """The name assigned to the customer address attribute.""" - attribute_code: String - """The value assigned to the customer address attribute.""" - value: String -} - -"""Contains the result of the `isEmailAvailable` query.""" -type IsEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a customer. - """ - is_email_available: Boolean -} - -"""The list of country codes.""" -enum CountryCodeEnum { - """Afghanistan""" - AF - """Åland Islands""" - AX - """Albania""" - AL - """Algeria""" - DZ - """American Samoa""" - AS - """Andorra""" - AD - """Angola""" - AO - """Anguilla""" - AI - """Antarctica""" - AQ - """Antigua & Barbuda""" - AG - """Argentina""" - AR - """Armenia""" - AM - """Aruba""" - AW - """Australia""" - AU - """Austria""" - AT - """Azerbaijan""" - AZ - """Bahamas""" - BS - """Bahrain""" - BH - """Bangladesh""" - BD - """Barbados""" - BB - """Belarus""" - BY - """Belgium""" - BE - """Belize""" - BZ - """Benin""" - BJ - """Bermuda""" - BM - """Bhutan""" - BT - """Bolivia""" - BO - """Bosnia & Herzegovina""" - BA - """Botswana""" - BW - """Bouvet Island""" - BV - """Brazil""" - BR - """British Indian Ocean Territory""" - IO - """British Virgin Islands""" - VG - """Brunei""" - BN - """Bulgaria""" - BG - """Burkina Faso""" - BF - """Burundi""" - BI - """Cambodia""" - KH - """Cameroon""" - CM - """Canada""" - CA - """Cape Verde""" - CV - """Cayman Islands""" - KY - """Central African Republic""" - CF - """Chad""" - TD - """Chile""" - CL - """China""" - CN - """Christmas Island""" - CX - """Cocos (Keeling) Islands""" - CC - """Colombia""" - CO - """Comoros""" - KM - """Congo-Brazzaville""" - CG - """Congo-Kinshasa""" - CD - """Cook Islands""" - CK - """Costa Rica""" - CR - """Côte d’Ivoire""" - CI - """Croatia""" - HR - """Cuba""" - CU - """Cyprus""" - CY - """Czech Republic""" - CZ - """Denmark""" - DK - """Djibouti""" - DJ - """Dominica""" - DM - """Dominican Republic""" - DO - """Ecuador""" - EC - """Egypt""" - EG - """El Salvador""" - SV - """Equatorial Guinea""" - GQ - """Eritrea""" - ER - """Estonia""" - EE - """Eswatini""" - SZ - """Ethiopia""" - ET - """Falkland Islands""" - FK - """Faroe Islands""" - FO - """Fiji""" - FJ - """Finland""" - FI - """France""" - FR - """French Guiana""" - GF - """French Polynesia""" - PF - """French Southern Territories""" - TF - """Gabon""" - GA - """Gambia""" - GM - """Georgia""" - GE - """Germany""" - DE - """Ghana""" - GH - """Gibraltar""" - GI - """Greece""" - GR - """Greenland""" - GL - """Grenada""" - GD - """Guadeloupe""" - GP - """Guam""" - GU - """Guatemala""" - GT - """Guernsey""" - GG - """Guinea""" - GN - """Guinea-Bissau""" - GW - """Guyana""" - GY - """Haiti""" - HT - """Heard & McDonald Islands""" - HM - """Honduras""" - HN - """Hong Kong SAR China""" - HK - """Hungary""" - HU - """Iceland""" - IS - """India""" - IN - """Indonesia""" - ID - """Iran""" - IR - """Iraq""" - IQ - """Ireland""" - IE - """Isle of Man""" - IM - """Israel""" - IL - """Italy""" - IT - """Jamaica""" - JM - """Japan""" - JP - """Jersey""" - JE - """Jordan""" - JO - """Kazakhstan""" - KZ - """Kenya""" - KE - """Kiribati""" - KI - """Kuwait""" - KW - """Kyrgyzstan""" - KG - """Laos""" - LA - """Latvia""" - LV - """Lebanon""" - LB - """Lesotho""" - LS - """Liberia""" - LR - """Libya""" - LY - """Liechtenstein""" - LI - """Lithuania""" - LT - """Luxembourg""" - LU - """Macau SAR China""" - MO - """Macedonia""" - MK - """Madagascar""" - MG - """Malawi""" - MW - """Malaysia""" - MY - """Maldives""" - MV - """Mali""" - ML - """Malta""" - MT - """Marshall Islands""" - MH - """Martinique""" - MQ - """Mauritania""" - MR - """Mauritius""" - MU - """Mayotte""" - YT - """Mexico""" - MX - """Micronesia""" - FM - """Moldova""" - MD - """Monaco""" - MC - """Mongolia""" - MN - """Montenegro""" - ME - """Montserrat""" - MS - """Morocco""" - MA - """Mozambique""" - MZ - """Myanmar (Burma)""" - MM - """Namibia""" - NA - """Nauru""" - NR - """Nepal""" - NP - """Netherlands""" - NL - """Netherlands Antilles""" - AN - """New Caledonia""" - NC - """New Zealand""" - NZ - """Nicaragua""" - NI - """Niger""" - NE - """Nigeria""" - NG - """Niue""" - NU - """Norfolk Island""" - NF - """Northern Mariana Islands""" - MP - """North Korea""" - KP - """Norway""" - NO - """Oman""" - OM - """Pakistan""" - PK - """Palau""" - PW - """Palestinian Territories""" - PS - """Panama""" - PA - """Papua New Guinea""" - PG - """Paraguay""" - PY - """Peru""" - PE - """Philippines""" - PH - """Pitcairn Islands""" - PN - """Poland""" - PL - """Portugal""" - PT - """Qatar""" - QA - """Réunion""" - RE - """Romania""" - RO - """Russia""" - RU - """Rwanda""" - RW - """Samoa""" - WS - """San Marino""" - SM - """São Tomé & Príncipe""" - ST - """Saudi Arabia""" - SA - """Senegal""" - SN - """Serbia""" - RS - """Seychelles""" - SC - """Sierra Leone""" - SL - """Singapore""" - SG - """Slovakia""" - SK - """Slovenia""" - SI - """Solomon Islands""" - SB - """Somalia""" - SO - """South Africa""" - ZA - """South Georgia & South Sandwich Islands""" - GS - """South Korea""" - KR - """Spain""" - ES - """Sri Lanka""" - LK - """St. Barthélemy""" - BL - """St. Helena""" - SH - """St. Kitts & Nevis""" - KN - """St. Lucia""" - LC - """St. Martin""" - MF - """St. Pierre & Miquelon""" - PM - """St. Vincent & Grenadines""" - VC - """Sudan""" - SD - """Suriname""" - SR - """Svalbard & Jan Mayen""" - SJ - """Sweden""" - SE - """Switzerland""" - CH - """Syria""" - SY - """Taiwan""" - TW - """Tajikistan""" - TJ - """Tanzania""" - TZ - """Thailand""" - TH - """Timor-Leste""" - TL - """Togo""" - TG - """Tokelau""" - TK - """Tonga""" - TO - """Trinidad & Tobago""" - TT - """Tunisia""" - TN - """Turkey""" - TR - """Turkmenistan""" - TM - """Turks & Caicos Islands""" - TC - """Tuvalu""" - TV - """Uganda""" - UG - """Ukraine""" - UA - """United Arab Emirates""" - AE - """United Kingdom""" - GB - """United States""" - US - """Uruguay""" - UY - """U.S. Outlying Islands""" - UM - """U.S. Virgin Islands""" - VI - """Uzbekistan""" - UZ - """Vanuatu""" - VU - """Vatican City""" - VA - """Venezuela""" - VE - """Vietnam""" - VN - """Wallis & Futuna""" - WF - """Western Sahara""" - EH - """Yemen""" - YE - """Zambia""" - ZM - """Zimbabwe""" - ZW -} - -"""Customer attribute metadata.""" -type CustomerAttributeMetadata implements CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """The template used for the input of the attribute (e.g., 'date').""" - input_filter: InputFilterEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """The number of lines of the attribute value.""" - multiline_count: Int - """Attribute options.""" - options: [CustomAttributeOptionInterface]! - """The position of the attribute in the form.""" - sort_order: Int - """The validation rules of the attribute value.""" - validate_rules: [ValidationRule] -} - -"""List of templates/filters applied to customer attribute input.""" -enum InputFilterEnum { - """There are no templates or filters to be applied.""" - NONE - """Forces attribute input to follow the date format.""" - DATE - """ - Strip whitespace (or other characters) from the beginning and end of the input. - """ - TRIM - """Strip HTML Tags.""" - STRIPTAGS - """Escape HTML Entities.""" - ESCAPEHTML -} - -"""Defines a customer attribute validation rule.""" -type ValidationRule { - """Validation rule name applied to a customer attribute.""" - name: ValidationRuleEnum - """Validation rule value.""" - value: String -} - -"""List of validation rule names applied to a customer attribute.""" -enum ValidationRuleEnum { - DATE_RANGE_MAX - DATE_RANGE_MIN - FILE_EXTENSIONS - INPUT_VALIDATION - MAX_TEXT_LENGTH - MIN_TEXT_LENGTH - MAX_FILE_SIZE - MAX_IMAGE_HEIGHT - MAX_IMAGE_WIDTH -} - -"""List of account confirmation statuses.""" -enum ConfirmationStatusEnum { - """Account confirmed""" - ACCOUNT_CONFIRMED - """Account confirmation not required""" - ACCOUNT_CONFIRMATION_NOT_REQUIRED -} - -"""Defines properties of a negotiable quote request.""" -input RequestNegotiableQuoteInput { - """The cart ID of the buyer requesting a new negotiable quote.""" - cart_id: ID! - """Comments the buyer entered to describe the request.""" - comment: NegotiableQuoteCommentInput! - """Flag indicating if quote is draft or not.""" - is_draft: Boolean - """The name the buyer assigned to the negotiable quote request.""" - quote_name: String! -} - -"""Specifies the items to update.""" -input UpdateNegotiableQuoteQuantitiesInput { - """An array of items to update.""" - items: [NegotiableQuoteItemQuantityInput]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Specifies the updated quantity of an item.""" -input NegotiableQuoteItemQuantityInput { - """The new quantity of the negotiable quote item.""" - quantity: Float! - """The unique ID of a `CartItemInterface` object.""" - quote_item_uid: ID! -} - -"""Contains the updated negotiable quote.""" -type UpdateNegotiableQuoteItemsQuantityOutput { - """The updated negotiable quote.""" - quote: NegotiableQuote -} - -"""Specifies the negotiable quote to convert to an order.""" -input PlaceNegotiableQuoteOrderInput { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""An output object that returns the generated order.""" -type PlaceNegotiableQuoteOrderOutput { - """Contains the generated order number.""" - order: Order! -} - -"""Specifies which negotiable quote to send for review.""" -input SendNegotiableQuoteForReviewInput { - """A comment for the seller to review.""" - comment: NegotiableQuoteCommentInput - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Contains the negotiable quote.""" -type SendNegotiableQuoteForReviewOutput { - """The negotiable quote after sending for seller review.""" - quote: NegotiableQuote -} - -"""Defines the shipping address to assign to the negotiable quote.""" -input SetNegotiableQuoteShippingAddressInput { - """The unique ID of a `CustomerAddress` object.""" - customer_address_id: ID - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! - """An array of shipping addresses to apply to the negotiable quote.""" - shipping_addresses: [NegotiableQuoteShippingAddressInput] -} - -"""Defines shipping addresses for the negotiable quote.""" -input NegotiableQuoteShippingAddressInput { - """A shipping address.""" - address: NegotiableQuoteAddressInput - """ - An ID from the company user's address book that uniquely identifies the address to be used for shipping. - """ - customer_address_uid: ID - """Text provided by the company user.""" - customer_notes: String -} - -"""Sets the billing address.""" -input SetNegotiableQuoteBillingAddressInput { - """The billing address to be added.""" - billing_address: NegotiableQuoteBillingAddressInput! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Defines the billing address.""" -input NegotiableQuoteBillingAddressInput { - """Defines a billing address.""" - address: NegotiableQuoteAddressInput - """The unique ID of a `CustomerAddress` object.""" - customer_address_uid: ID - """ - Indicates whether to set the billing address to be the same as the existing shipping address on the negotiable quote. - """ - same_as_shipping: Boolean - """ - Indicates whether to set the shipping address to be the same as this billing address. - """ - use_for_shipping: Boolean -} - -"""Defines the billing or shipping address to be applied to the cart.""" -input NegotiableQuoteAddressInput { - """The city specified for the billing or shipping address.""" - city: String! - """The company name.""" - company: String - """The country code and label for the billing or shipping address.""" - country_code: String! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """ - A string that defines the state or province of the billing or shipping address. - """ - region: String - """ - An integer that defines the state or province of the billing or shipping address. - """ - region_id: Int - """ - Determines whether to save the address in the customer's address book. The default value is true. - """ - save_in_address_book: Boolean - """An array containing the street for the billing or shipping address.""" - street: [String]! - """The telephone number for the billing or shipping address.""" - telephone: String -} - -"""Defines the shipping method to apply to the negotiable quote.""" -input SetNegotiableQuoteShippingMethodsInput { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! - """An array of shipping methods to apply to the negotiable quote.""" - shipping_methods: [ShippingMethodInput]! -} - -"""Sets quote item note.""" -input LineItemNoteInput { - """The note text to be added.""" - note: String - """The unique ID of a `CartLineItem` object.""" - quote_item_uid: ID! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Sets new name for a negotiable quote.""" -input RenameNegotiableQuoteInput { - """The reason for the quote name change specified by the buyer.""" - quote_comment: String - """ - The new quote name the buyer specified to the negotiable quote request. - """ - quote_name: String! - """The cart ID of the buyer requesting a new negotiable quote.""" - quote_uid: ID! -} - -"""Contains the updated negotiable quote.""" -type SetLineItemNoteOutput { - """The negotiable quote after sending for seller review.""" - quote: NegotiableQuote -} - -"""Move Line Item to Requisition List.""" -input MoveLineItemToRequisitionListInput { - """The unique ID of a `CartLineItem` object.""" - quote_item_uid: ID! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! - """The unique ID of a requisition list.""" - requisition_list_uid: ID! -} - -"""Contains the updated negotiable quote.""" -type MoveLineItemToRequisitionListOutput { - """The negotiable quote after moving item to requisition list.""" - quote: NegotiableQuote -} - -"""Contains the negotiable quote.""" -type SetNegotiableQuoteShippingMethodsOutput { - """The negotiable quote after applying shipping methods.""" - quote: NegotiableQuote -} - -"""Contains the negotiable quote.""" -type SetNegotiableQuoteShippingAddressOutput { - """The negotiable quote after assigning a shipping address.""" - quote: NegotiableQuote -} - -"""Contains the negotiable quote.""" -type SetNegotiableQuoteBillingAddressOutput { - """The negotiable quote after assigning a billing address.""" - quote: NegotiableQuote -} - -"""Defines the items to remove from the specified negotiable quote.""" -input RemoveNegotiableQuoteItemsInput { - """ - An array of IDs indicating which items to remove from the negotiable quote. - """ - quote_item_uids: [ID]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Contains the negotiable quote.""" -type RemoveNegotiableQuoteItemsOutput { - """The negotiable quote after removing items.""" - quote: NegotiableQuote -} - -"""Defines the negotiable quotes to mark as closed.""" -input CloseNegotiableQuotesInput { - """A list of unique IDs from `NegotiableQuote` objects.""" - quote_uids: [ID]! -} - -""" -Contains the closed negotiable quotes and other negotiable quotes the company user can view. -""" -type CloseNegotiableQuotesOutput { - """An array containing the negotiable quotes that were just closed.""" - closed_quotes: [NegotiableQuote] @deprecated(reason: "Use `operation_results` instead.") - """ - A list of negotiable quotes that can be viewed by the logged-in customer - """ - negotiable_quotes( - """The filter to use to determine which negotiable quotes to close.""" - filter: NegotiableQuoteFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteSortInput - ): NegotiableQuotesOutput - """An array of closed negotiable quote UIDs and details about any errors.""" - operation_results: [CloseNegotiableQuoteOperationResult]! - """The status of the request to close one or more negotiable quotes.""" - result_status: BatchMutationStatus! -} - -"""Contains the updated negotiable quote.""" -type RenameNegotiableQuoteOutput { - """The negotiable quote after updating the name.""" - quote: NegotiableQuote -} - -union CloseNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | CloseNegotiableQuoteOperationFailure - -union CloseNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError - -""" -Contains a list of undeleted negotiable quotes the company user can view. -""" -type DeleteNegotiableQuotesOutput { - """A list of negotiable quotes that the customer can view""" - negotiable_quotes( - """The filter to use to determine which negotiable quotes to delete.""" - filter: NegotiableQuoteFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteSortInput - ): NegotiableQuotesOutput - """ - An array of deleted negotiable quote UIDs and details about any errors. - """ - operation_results: [DeleteNegotiableQuoteOperationResult]! - """The status of the request to delete one or more negotiable quotes.""" - result_status: BatchMutationStatus! -} - -union DeleteNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | DeleteNegotiableQuoteOperationFailure - -union DeleteNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError - -"""Defines the payment method to be applied to the negotiable quote.""" -input NegotiableQuotePaymentMethodInput { - """Payment method code""" - code: String! - """The purchase order number. Optional for most payment methods.""" - purchase_order_number: String -} - -""" -Contains details about the negotiable quote after setting the payment method. -""" -type SetNegotiableQuotePaymentMethodOutput { - """The updated negotiable quote.""" - quote: NegotiableQuote -} - -"""Contains a list of negotiable that match the specified filter.""" -type NegotiableQuotesOutput { - """A list of negotiable quotes""" - items: [NegotiableQuote]! - """Contains pagination metadata""" - page_info: SearchResultPageInfo! - """Contains the default sort field and all available sort fields.""" - sort_fields: SortFields - """The number of negotiable quotes returned""" - total_count: Int! -} - -"""Defines the field to use to sort a list of negotiable quotes.""" -input NegotiableQuoteSortInput { - """Whether to return results in ascending or descending order.""" - sort_direction: SortEnum! - """The specified sort field.""" - sort_field: NegotiableQuoteSortableField! -} - -enum NegotiableQuoteSortableField { - """Sorts negotiable quotes by name.""" - QUOTE_NAME - """Sorts negotiable quotes by the dates they were created.""" - CREATED_AT - """Sorts negotiable quotes by the dates they were last modified.""" - UPDATED_AT -} - -"""Contains the commend provided by the buyer.""" -input NegotiableQuoteCommentInput { - """The comment provided by the buyer.""" - comment: String! -} - -"""Contains a single plain text comment from either the buyer or seller.""" -type NegotiableQuoteComment { - """The first and last name of the commenter.""" - author: NegotiableQuoteUser! - """Timestamp indicating when the comment was created.""" - created_at: String! - """Indicates whether a buyer or seller commented.""" - creator_type: NegotiableQuoteCommentCreatorType! - """The plain text comment.""" - text: String! - """The unique ID of a `NegotiableQuoteComment` object.""" - uid: ID! -} - -enum NegotiableQuoteCommentCreatorType { - BUYER - SELLER -} - -"""Contains details about a negotiable quote.""" -type NegotiableQuote { - """ - An array of payment methods that can be applied to the negotiable quote. - """ - available_payment_methods: [AvailablePaymentMethod] - """The billing address applied to the negotiable quote.""" - billing_address: NegotiableQuoteBillingAddress - """The first and last name of the buyer.""" - buyer: NegotiableQuoteUser! - """A list of comments made by the buyer and seller.""" - comments: [NegotiableQuoteComment] - """Timestamp indicating when the negotiable quote was created.""" - created_at: String - """The email address of the company user.""" - email: String - """A list of status and price changes for the negotiable quote.""" - history: [NegotiableQuoteHistoryEntry] - """Indicates whether the negotiable quote contains only virtual products.""" - is_virtual: Boolean! - """The list of items in the negotiable quote.""" - items: [CartItemInterface] - """The title assigned to the negotiable quote.""" - name: String! - """A set of subtotals and totals applied to the negotiable quote.""" - prices: CartPrices - """The payment method that was applied to the negotiable quote.""" - selected_payment_method: SelectedPaymentMethod - """A list of shipping addresses applied to the negotiable quote.""" - shipping_addresses: [NegotiableQuoteShippingAddress]! - """The status of the negotiable quote.""" - status: NegotiableQuoteStatus! - """The total number of items in the negotiable quote.""" - total_quantity: Float! - """The unique ID of a `NegotiableQuote` object.""" - uid: ID! - """Timestamp indicating when the negotiable quote was updated.""" - updated_at: String -} - -enum NegotiableQuoteStatus { - SUBMITTED - PENDING - UPDATED - OPEN - ORDERED - CLOSED - DECLINED - EXPIRED - DRAFT -} - -"""Defines a filter to limit the negotiable quotes to return.""" -input NegotiableQuoteFilterInput { - """Filter by the ID of one or more negotiable quotes.""" - ids: FilterEqualTypeInput - """Filter by the negotiable quote name.""" - name: FilterMatchTypeInput -} - -"""Contains details about a change for a negotiable quote.""" -type NegotiableQuoteHistoryEntry { - """The person who made a change in the status of the negotiable quote.""" - author: NegotiableQuoteUser! - """ - An enum that describes the why the entry in the negotiable quote history changed status. - """ - change_type: NegotiableQuoteHistoryEntryChangeType! - """The set of changes in the negotiable quote.""" - changes: NegotiableQuoteHistoryChanges - """Timestamp indicating when the negotiable quote entry was created.""" - created_at: String - """The unique ID of a `NegotiableQuoteHistoryEntry` object.""" - uid: ID! -} - -"""Contains a list of changes to a negotiable quote.""" -type NegotiableQuoteHistoryChanges { - """The comment provided with a change in the negotiable quote history.""" - comment_added: NegotiableQuoteHistoryCommentChange - """Lists log entries added by third-party extensions.""" - custom_changes: NegotiableQuoteCustomLogChange - """ - The expiration date of the negotiable quote before and after a change in the quote history. - """ - expiration: NegotiableQuoteHistoryExpirationChange - """ - Lists products that were removed as a result of a change in the quote history. - """ - products_removed: NegotiableQuoteHistoryProductsRemovedChange - """The status before and after a change in the negotiable quote history.""" - statuses: NegotiableQuoteHistoryStatusesChange - """ - The total amount of the negotiable quote before and after a change in the quote history. - """ - total: NegotiableQuoteHistoryTotalChange -} - -""" -Lists a new status change applied to a negotiable quote and the previous status. -""" -type NegotiableQuoteHistoryStatusChange { - """The updated status.""" - new_status: NegotiableQuoteStatus! - """ - The previous status. The value will be null for the first history entry in a negotiable quote. - """ - old_status: NegotiableQuoteStatus -} - -""" -Contains a list of status changes that occurred for the negotiable quote. -""" -type NegotiableQuoteHistoryStatusesChange { - """A list of status changes.""" - changes: [NegotiableQuoteHistoryStatusChange]! -} - -"""Contains a comment submitted by a seller or buyer.""" -type NegotiableQuoteHistoryCommentChange { - """A plain text comment submitted by a seller or buyer.""" - comment: String! -} - -"""Contains a new price and the previous price.""" -type NegotiableQuoteHistoryTotalChange { - """The total price as a result of the change.""" - new_price: Money - """The previous total price on the negotiable quote.""" - old_price: Money -} - -"""Contains a new expiration date and the previous date.""" -type NegotiableQuoteHistoryExpirationChange { - """ - The expiration date after the change. The value will be 'null' if not set. - """ - new_expiration: String - """ - The previous expiration date. The value will be 'null' if not previously set. - """ - old_expiration: String -} - -""" -Contains lists of products that have been removed from the catalog and negotiable quote. -""" -type NegotiableQuoteHistoryProductsRemovedChange { - """A list of product IDs the seller removed from the catalog.""" - products_removed_from_catalog: [ID] - """ - A list of products removed from the negotiable quote by either the buyer or the seller. - """ - products_removed_from_quote: [ProductInterface] -} - -"""Contains custom log entries added by third-party extensions.""" -type NegotiableQuoteCustomLogChange { - """The new entry content.""" - new_value: String! - """The previous entry in the custom log.""" - old_value: String - """The title of the custom log entry.""" - title: String! -} - -enum NegotiableQuoteHistoryEntryChangeType { - CREATED - UPDATED - CLOSED - UPDATED_BY_SYSTEM -} - -""" -Contains the `NegotiableQuote` object generated when a buyer requests a negotiable quote. -""" -type RequestNegotiableQuoteOutput { - """Details about the negotiable quote.""" - quote: NegotiableQuote -} - -interface NegotiableQuoteAddressInterface { - """The company's city or town.""" - city: String! - """The company name associated with the shipping/billing address.""" - company: String - """The company's country.""" - country: NegotiableQuoteAddressCountry! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The company's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: NegotiableQuoteAddressRegion - """An array of strings that define the street number and name.""" - street: [String]! - """The customer's telephone number.""" - telephone: String -} - -"""Defines the company's state or province.""" -type NegotiableQuoteAddressRegion { - """The address region code.""" - code: String - """The display name of the region.""" - label: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -"""Defines the company's country.""" -type NegotiableQuoteAddressCountry { - """The address country code.""" - code: String! - """The display name of the region.""" - label: String! -} - -type NegotiableQuoteShippingAddress implements NegotiableQuoteAddressInterface { - """An array of shipping methods available to the buyer.""" - available_shipping_methods: [AvailableShippingMethod] - """The company's city or town.""" - city: String! - """The company name associated with the shipping/billing address.""" - company: String - """The company's country.""" - country: NegotiableQuoteAddressCountry! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The company's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: NegotiableQuoteAddressRegion - """The selected shipping method.""" - selected_shipping_method: SelectedShippingMethod - """An array of strings that define the street number and name.""" - street: [String]! - """The customer's telephone number.""" - telephone: String -} - -type NegotiableQuoteBillingAddress implements NegotiableQuoteAddressInterface { - """The company's city or town.""" - city: String! - """The company name associated with the shipping/billing address.""" - company: String - """The company's country.""" - country: NegotiableQuoteAddressCountry! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The company's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: NegotiableQuoteAddressRegion - """An array of strings that define the street number and name.""" - street: [String]! - """The customer's telephone number.""" - telephone: String -} - -"""A limited view of a Buyer or Seller in the negotiable quote process.""" -type NegotiableQuoteUser { - """The first name of the buyer or seller making a change.""" - firstname: String! - """The buyer's or seller's last name.""" - lastname: String! -} - -interface NegotiableQuoteUidNonFatalResultInterface { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Contains details about a successful operation on a negotiable quote.""" -type NegotiableQuoteUidOperationSuccess implements NegotiableQuoteUidNonFatalResultInterface { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -""" -An error indicating that an operation was attempted on a negotiable quote in an invalid state. -""" -type NegotiableQuoteInvalidStateError implements ErrorInterface { - """The returned error message.""" - message: String! -} - -"""The note object for quote line item.""" -type ItemNote { - """Timestamp that reflects note creation date.""" - created_at: String - """ID of the user who submitted a note.""" - creator_id: Int - """Type of teh user who submitted a note.""" - creator_type: Int - """The unique ID of a `CartItemInterface` object.""" - negotiable_quote_item_uid: ID - """Note text.""" - note: String - """The unique ID of a `ItemNote` object.""" - note_uid: ID -} - -"""Contains details about a failed close operation on a negotiable quote.""" -type CloseNegotiableQuoteOperationFailure { - """ - An array of errors encountered while attempting close the negotiable quote. - """ - errors: [CloseNegotiableQuoteError]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -input DeleteNegotiableQuotesInput { - """A list of unique IDs for `NegotiableQuote` objects to delete.""" - quote_uids: [ID]! -} - -""" -Contains details about a failed delete operation on a negotiable quote. -""" -type DeleteNegotiableQuoteOperationFailure { - errors: [DeleteNegotiableQuoteError]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Defines the payment method of the specified negotiable quote.""" -input SetNegotiableQuotePaymentMethodInput { - """The payment method to be assigned to the negotiable quote.""" - payment_method: NegotiableQuotePaymentMethodInput! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -""" -Defines an object used to iterate through items for product comparisons. -""" -type ComparableItem { - """An array of product attributes that can be used to compare products.""" - attributes: [ProductAttribute]! - """Details about a product in a compare list.""" - product: ProductInterface! - """The unique ID of an item in a compare list.""" - uid: ID! -} - -"""Contains a product attribute code and value.""" -type ProductAttribute { - """The unique identifier for a product attribute code.""" - code: String! - """The display value of the attribute.""" - value: String! -} - -"""Contains an attribute code that is used for product comparisons.""" -type ComparableAttribute { - """An attribute code that is enabled for product comparisons.""" - code: String! - """The label of the attribute code.""" - label: String! -} - -""" -Contains iterable information such as the array of items, the count, and attributes that represent the compare list. -""" -type CompareList { - """An array of attributes that can be used for comparing products.""" - attributes: [ComparableAttribute] - """The number of items in the compare list.""" - item_count: Int! - """An array of products to compare.""" - items: [ComparableItem] - """The unique ID assigned to the compare list.""" - uid: ID! -} - -"""Contains an array of product IDs to use for creating a compare list.""" -input CreateCompareListInput { - """An array of product IDs to add to the compare list.""" - products: [ID] -} - -"""Contains products to add to an existing compare list.""" -input AddProductsToCompareListInput { - """An array of product IDs to add to the compare list.""" - products: [ID]! - """The unique identifier of the compare list to modify.""" - uid: ID! -} - -"""Defines which products to remove from a compare list.""" -input RemoveProductsFromCompareListInput { - """An array of product IDs to remove from the compare list.""" - products: [ID]! - """The unique identifier of the compare list to modify.""" - uid: ID! -} - -"""Contains the results of the request to delete a compare list.""" -type DeleteCompareListOutput { - """Indicates whether the compare list was successfully deleted.""" - result: Boolean! -} - -"""Contains the results of the request to assign a compare list.""" -type AssignCompareListToCustomerOutput { - """The contents of the customer's compare list.""" - compare_list: CompareList - """ - Indicates whether the compare list was successfully assigned to the customer. - """ - result: Boolean! -} - -""" -Defines basic features of a configurable product and its simple product variants. -""" -type ConfigurableProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of options for the configurable product.""" - configurable_options: [ConfigurableProductOptions] - """ - An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options. - """ - configurable_product_options_selection(configurableOptionValueUids: [ID!]): ConfigurableProductOptionsSelection - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - """An array of simple product variants.""" - variants: [ConfigurableVariant] - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -"""Contains all the simple product variants of a configurable product.""" -type ConfigurableVariant { - """An array of configurable attribute options.""" - attributes: [ConfigurableAttributeOption] - """An array of linked simple products.""" - product: SimpleProduct -} - -"""Contains details about a configurable product attribute option.""" -type ConfigurableAttributeOption { - """The ID assigned to the attribute.""" - code: String - """A string that describes the configurable attribute option.""" - label: String - """The unique ID for a `ConfigurableAttributeOption` object.""" - uid: ID! - """A unique index number assigned to the configurable product option.""" - value_index: Int -} - -"""Defines configurable attributes for the specified product.""" -type ConfigurableProductOptions { - """A string that identifies the attribute.""" - attribute_code: String - """The ID assigned to the attribute.""" - attribute_id: String @deprecated(reason: "Use `attribute_uid` instead.") - """The ID assigned to the attribute.""" - attribute_id_v2: Int @deprecated(reason: "Use `attribute_uid` instead.") - """The unique ID for an `Attribute` object.""" - attribute_uid: ID! - """The configurable option ID number assigned by the system.""" - id: Int @deprecated(reason: "Use `uid` instead.") - """A displayed string that describes the configurable product option.""" - label: String - """A number that indicates the order in which the attribute is displayed.""" - position: Int - """This is the same as a product's `id` field.""" - product_id: Int @deprecated(reason: "`product_id` is not needed and can be obtained from its parent.") - """The unique ID for a `ConfigurableProductOptions` object.""" - uid: ID! - """Indicates whether the option is the default.""" - use_default: Boolean - """ - An array that defines the `value_index` codes assigned to the configurable product. - """ - values: [ConfigurableProductOptionsValues] -} - -"""Contains the index number assigned to a configurable product option.""" -type ConfigurableProductOptionsValues { - """The label of the product on the default store.""" - default_label: String - """The label of the product.""" - label: String - """The label of the product on the current store.""" - store_label: String - """Swatch data for a configurable product option.""" - swatch_data: SwatchDataInterface - """The unique ID for a `ConfigurableProductOptionsValues` object.""" - uid: ID - """Indicates whether to use the default_label.""" - use_default_value: Boolean - """A unique index number assigned to the configurable product option.""" - value_index: Int @deprecated(reason: "Use `uid` instead.") -} - -"""Defines the configurable products to add to the cart.""" -input AddConfigurableProductsToCartInput { - """The ID of the cart.""" - cart_id: String! - """An array of configurable products to add.""" - cart_items: [ConfigurableProductCartItemInput]! -} - -"""Contains details about the cart after adding configurable products.""" -type AddConfigurableProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -input ConfigurableProductCartItemInput { - """The ID and value of the option.""" - customizable_options: [CustomizableOptionInput] - """The quantity and SKU of the configurable product.""" - data: CartItemInput! - """The SKU of the parent configurable product.""" - parent_sku: String - """Deprecated. Use `CartItemInput.sku` instead.""" - variant_sku: String -} - -"""An implementation for configurable product cart items.""" -type ConfigurableCartItem implements CartItemInterface { - """The list of available gift wrapping options for the cart item.""" - available_gift_wrapping: [GiftWrapping]! - """An array containing the configuranle options the shopper selected.""" - configurable_options: [SelectedConfigurableOption]! - """Product details of the cart item.""" - configured_variant: ProductInterface! - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - """The entered gift message for the cart item""" - gift_message: GiftMessage - """The selected gift wrapping for the cart item.""" - gift_wrapping: GiftWrapping - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""Contains details about a selected configurable option.""" -type SelectedConfigurableOption { - """The unique ID for a `ConfigurableProductOptions` object.""" - configurable_product_option_uid: ID! - """The unique ID for a `ConfigurableProductOptionsValues` object.""" - configurable_product_option_value_uid: ID! - id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_uid` instead.") - """The display text for the option.""" - option_label: String! - value_id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_value_uid` instead.") - """The display name of the selected configurable option.""" - value_label: String! -} - -"""A configurable product wish list item.""" -type ConfigurableWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """ - The SKU of the simple product corresponding to a set of selected configurable options. - """ - child_sku: String! @deprecated(reason: "Use `ConfigurableWishlistItem.configured_variant.sku` instead.") - """An array of selected configurable options.""" - configurable_options: [SelectedConfigurableOption] - """ - Product details of the selected variant. The value is null if some options are not configured. - """ - configured_variant: ProductInterface - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Contains metadata corresponding to the selected configurable options.""" -type ConfigurableProductOptionsSelection { - """An array of all possible configurable options.""" - configurable_options: [ConfigurableProductOption] - """ - Product images and videos corresponding to the specified configurable options selection. - """ - media_gallery: [MediaGalleryInterface] - """ - The configurable options available for further selection based on the current selection. - """ - options_available_for_selection: [ConfigurableOptionAvailableForSelection] - """ - A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option. - """ - variant: SimpleProduct -} - -""" -Describes configurable options that have been selected and can be selected as a result of the previous selections. -""" -type ConfigurableOptionAvailableForSelection { - """An attribute code that uniquely identifies a configurable option.""" - attribute_code: String! - """An array of selectable option value IDs.""" - option_value_uids: [ID]! -} - -"""Contains details about configurable product options.""" -type ConfigurableProductOption { - """An attribute code that uniquely identifies a configurable option.""" - attribute_code: String! - """The display name of the option.""" - label: String! - """The unique ID of the configurable option.""" - uid: ID! - """An array of values that are applicable for this option.""" - values: [ConfigurableProductOptionValue] -} - -"""Defines a value for a configurable product option.""" -type ConfigurableProductOptionValue { - """Indicates whether the product is available with this selected option.""" - is_available: Boolean! - """Indicates whether the value is the default.""" - is_use_default: Boolean! - """The display name of the value.""" - label: String! - """The URL assigned to the thumbnail of the swatch image.""" - swatch: SwatchDataInterface - """The unique ID of the value.""" - uid: ID! -} - -"""Defines customer requisition lists.""" -type RequisitionLists { - """An array of requisition lists.""" - items: [RequisitionList] - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The number of returned requisition lists.""" - total_count: Int -} - -"""Defines the contents of a requisition list.""" -type RequisitionList { - """Optional text that describes the requisition list.""" - description: String - """An array of products added to the requisition list.""" - items( - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The maximum number of results to return. The default value is 1.""" - pageSize: Int = 20 - ): RequistionListItems - """The number of items in the list.""" - items_count: Int! - """The requisition list name.""" - name: String! - """The unique requisition list ID.""" - uid: ID! - """The time of the last modification of the requisition list.""" - updated_at: String -} - -"""Contains an array of items added to a requisition list.""" -type RequistionListItems { - """An array of items in the requisition list.""" - items: [RequisitionListItemInterface]! - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The number of pages returned.""" - total_pages: Int! -} - -"""The interface for requisition list items.""" -interface RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -"""Contains details about simple products added to a requisition list.""" -type SimpleRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -"""Contains details about virtual products added to a requisition list.""" -type VirtualRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -"""An input object that identifies and describes a new requisition list.""" -input CreateRequisitionListInput { - """An optional description of the requisition list.""" - description: String - """The name assigned to the requisition list.""" - name: String! -} - -""" -An input object that defines which requistion list characteristics to update. -""" -input UpdateRequisitionListInput { - """The updated description of the requisition list.""" - description: String - """The new name of the requisition list.""" - name: String! -} - -"""Output of the request to rename the requisition list.""" -type UpdateRequisitionListOutput { - """The renamed requisition list.""" - requisition_list: RequisitionList -} - -"""Defines which items in a requisition list to update.""" -input UpdateRequisitionListItemsInput { - """An array of customer-entered options.""" - entered_options: [EnteredOptionInput] - """The ID of the requisition list item to update.""" - item_id: ID! - """The new quantity of the item.""" - quantity: Float - """An array of selected option IDs.""" - selected_options: [String] -} - -""" -Output of the request to update items in the specified requisition list. -""" -type UpdateRequisitionListItemsOutput { - """The requisition list after updating items.""" - requisition_list: RequisitionList -} - -""" -Indicates whether the request to delete the requisition list was successful. -""" -type DeleteRequisitionListOutput { - """The customer's requisition lists after deleting a requisition list.""" - requisition_lists: RequisitionLists - """ - Indicates whether the request to delete the requisition list was successful. - """ - status: Boolean! -} - -"""Output of the request to add products to a requisition list.""" -type AddProductsToRequisitionListOutput { - """The requisition list after adding products.""" - requisition_list: RequisitionList -} - -"""Output of the request to remove items from the requisition list.""" -type DeleteRequisitionListItemsOutput { - """The requisition list after removing items.""" - requisition_list: RequisitionList -} - -"""Output of the request to add items in a requisition list to the cart.""" -type AddRequisitionListItemsToCartOutput { - """ - Details about why the attempt to add items to the requistion list was not successful. - """ - add_requisition_list_items_to_cart_user_errors: [AddRequisitionListItemToCartUserError]! - """The cart after adding requisition list items.""" - cart: Cart - """ - Indicates whether the attempt to add items to the requisition list was successful. - """ - status: Boolean! -} - -""" -Contains details about why an attempt to add items to the requistion list failed. -""" -type AddRequisitionListItemToCartUserError { - """A description of the error.""" - message: String! - """The type of error that occurred.""" - type: AddRequisitionListItemToCartUserErrorType! -} - -enum AddRequisitionListItemToCartUserErrorType { - OUT_OF_STOCK - UNAVAILABLE_SKU - OPTIONS_UPDATED - LOW_QUANTITY -} - -""" -An input object that defines the items in a requisition list to be copied. -""" -input CopyItemsBetweenRequisitionListsInput { - """ - An array of IDs representing products copied from one requisition list to another. - """ - requisitionListItemUids: [ID]! -} - -""" -Output of the request to copy items to the destination requisition list. -""" -type CopyItemsFromRequisitionListsOutput { - """The destination requisition list after the items were copied.""" - requisition_list: RequisitionList -} - -""" -An input object that defines the items in a requisition list to be moved. -""" -input MoveItemsBetweenRequisitionListsInput { - """ - An array of IDs representing products moved from one requisition list to another. - """ - requisitionListItemUids: [ID]! -} - -"""Output of the request to move items to another requisition list.""" -type MoveItemsBetweenRequisitionListsOutput { - """The destination requisition list after moving items.""" - destination_requisition_list: RequisitionList - """The source requisition list after moving items.""" - source_requisition_list: RequisitionList -} - -"""Defines requisition list filters.""" -input RequisitionListFilterInput { - """Filter by the display name of the requisition list.""" - name: FilterMatchTypeInput - """Filter requisition lists by one or more requisition list IDs.""" - uids: FilterEqualTypeInput -} - -"""Output of the request to create a requisition list.""" -type CreateRequisitionListOutput { - """The created requisition list.""" - requisition_list: RequisitionList -} - -"""Output of the request to clear the customer cart.""" -type ClearCustomerCartOutput { - """The cart after clearing items.""" - cart: Cart - """Indicates whether cart was cleared.""" - status: Boolean! -} - -"""Defines the items to add.""" -input RequisitionListItemsInput { - """Entered option IDs.""" - entered_options: [EnteredOptionInput] - """For configurable products, the SKU of the parent product.""" - parent_sku: String - """The quantity of the product to add.""" - quantity: Float - """Selected option IDs.""" - selected_options: [String] - """The product SKU.""" - sku: String! -} - -input ContactUsInput { - """The shopper's comment to the merchant.""" - comment: String! - """The email address of the shopper.""" - email: String! - """The full name of the shopper.""" - name: String! - """The shopper's telephone number.""" - telephone: String -} - -"""Contains the status of the request.""" -type ContactUsOutput { - """Indicates whether the request was successful.""" - status: Boolean! -} - -""" -Defines the input required to run the `applyStoreCreditToCart` mutation. -""" -input ApplyStoreCreditToCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! -} - -"""Defines the possible output for the `applyStoreCreditToCart` mutation.""" -type ApplyStoreCreditToCartOutput { - """The contents of the specified shopping cart.""" - cart: Cart! -} - -""" -Defines the input required to run the `removeStoreCreditFromCart` mutation. -""" -input RemoveStoreCreditFromCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! -} - -""" -Defines the possible output for the `removeStoreCreditFromCart` mutation. -""" -type RemoveStoreCreditFromCartOutput { - """The contents of the specified shopping cart.""" - cart: Cart! -} - -"""Contains the applied and current balances.""" -type AppliedStoreCredit { - """The applied store credit balance to the current cart.""" - applied_balance: Money - """The current balance remaining on store credit.""" - current_balance: Money - """ - Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned. - """ - enabled: Boolean -} - -"""Contains store credit information with balance and history.""" -type CustomerStoreCredit { - """ - Contains the customer's store credit balance history. If the history or store credit feature is disabled, then a null value will be returned. - """ - balance_history( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """ - The page of results to return. This value is optional. The default is 1. - """ - currentPage: Int = 1 - ): CustomerStoreCreditHistory - """The current balance of store credit.""" - current_balance: Money - """ - Indicates whether store credits are enabled. If the feature is disabled, then the balance will not be returned. - """ - enabled: Boolean -} - -"""Lists changes to the amount of store credit available to the customer.""" -type CustomerStoreCreditHistory { - """ - An array containing information about changes to the store credit available to the customer. - """ - items: [CustomerStoreCreditHistoryItem] - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo - """The number of items returned.""" - total_count: Int -} - -"""Contains store credit history information.""" -type CustomerStoreCreditHistoryItem { - """The action that was made on the store credit.""" - action: String - """ - The store credit available to the customer as a result of this action. - """ - actual_balance: Money - """ - The amount added to or subtracted from the store credit as a result of this action. - """ - balance_change: Money - """The date and time when the store credit change was made.""" - date_time_changed: String -} - -input AddDownloadableProductsToCartInput { - """The ID of the cart.""" - cart_id: String! - """An array of downloadable products to add.""" - cart_items: [DownloadableProductCartItemInput]! -} - -"""Defines a single downloadable product.""" -input DownloadableProductCartItemInput { - """The ID and value of the option.""" - customizable_options: [CustomizableOptionInput] - """The quantity and SKU of the downloadable product.""" - data: CartItemInput! - """ - An array of objects containing the link_id of the downloadable product link. - """ - downloadable_product_links: [DownloadableProductLinksInput] -} - -"""Contains the link ID for the downloadable product.""" -input DownloadableProductLinksInput { - """The unique ID of the downloadable product link.""" - link_id: Int! -} - -"""Contains details about the cart after adding downloadable products.""" -type AddDownloadableProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""An implementation for downloadable product cart items.""" -type DownloadableCartItem implements CartItemInterface { - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """ - An array containing information about the links for the downloadable product added to the cart. - """ - links: [DownloadableProductLinks] - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """ - An array containing information about samples of the selected downloadable product. - """ - samples: [DownloadableProductSamples] - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""Defines a product that the shopper downloads.""" -type DownloadableProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """ - An array containing information about the links for this downloadable product. - """ - downloadable_product_links: [DownloadableProductLinks] - """ - An array containing information about samples of this downloadable product. - """ - downloadable_product_samples: [DownloadableProductSamples] - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """ - A value of 1 indicates that each link in the array must be purchased separately. - """ - links_purchased_separately: Int - """The heading above the list of downloadable products.""" - links_title: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") -} - -enum DownloadableFileTypeEnum { - FILE @deprecated(reason: "`sample_url` serves to get the downloadable sample") - URL @deprecated(reason: "`sample_url` serves to get the downloadable sample") -} - -"""Defines characteristics of a downloadable product.""" -type DownloadableProductLinks { - id: Int @deprecated(reason: "This information should not be exposed on frontend.") - is_shareable: Boolean @deprecated(reason: "This information should not be exposed on frontend.") - link_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") - number_of_downloads: Int @deprecated(reason: "This information should not be exposed on frontend.") - """The price of the downloadable product.""" - price: Float - sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") - sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") - """The full URL to the downloadable sample.""" - sample_url: String - """A number indicating the sort order.""" - sort_order: Int - """The display name of the link.""" - title: String - """The unique ID for a `DownloadableProductLinks` object.""" - uid: ID! -} - -"""Defines characteristics of a downloadable product.""" -type DownloadableProductSamples { - id: Int @deprecated(reason: "This information should not be exposed on frontend.") - sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") - sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") - """The full URL to the downloadable sample.""" - sample_url: String - """A number indicating the sort order.""" - sort_order: Int - """The display name of the sample.""" - title: String -} - -"""Defines downloadable product options for `OrderItemInterface`.""" -type DownloadableOrderItem implements OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - A list of downloadable links that are ordered from the downloadable product. - """ - downloadable_links: [DownloadableItemsLinks] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Defines downloadable product options for `InvoiceItemInterface`.""" -type DownloadableInvoiceItem implements InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """ - A list of downloadable links that are invoiced from the downloadable product. - """ - downloadable_links: [DownloadableItemsLinks] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -"""Defines downloadable product options for `CreditMemoItemInterface`.""" -type DownloadableCreditMemoItem implements CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """ - A list of downloadable links that are refunded from the downloadable product. - """ - downloadable_links: [DownloadableItemsLinks] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -"""Defines characteristics of the links for downloadable product.""" -type DownloadableItemsLinks { - """A number indicating the sort order.""" - sort_order: Int - """The display name of the link.""" - title: String - """The unique ID for a `DownloadableItemsLinks` object.""" - uid: ID! -} - -"""A downloadable product wish list item.""" -type DownloadableWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """An array containing information about the selected links.""" - links_v2: [DownloadableProductLinks] - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! - """An array containing information about the selected samples.""" - samples: [DownloadableProductSamples] -} - -"""Contains the output schema for a company.""" -type Company { - """The list of all resources defined within the company.""" - acl_resources: [CompanyAclResource] - """An object containing information about the company administrator.""" - company_admin: Customer - """Company credit balances and limits.""" - credit: CompanyCredit! - """Details about the history of company credit operations.""" - credit_history(filter: CompanyCreditHistoryFilterInput, pageSize: Int = 20, currentPage: Int = 1): CompanyCreditHistory! - """The email address of the company contact.""" - email: String - """The unique ID of a `Company` object.""" - id: ID! - """The address where the company is registered to conduct business.""" - legal_address: CompanyLegalAddress - """The full legal name of the company.""" - legal_name: String - """The name of the company.""" - name: String - """The list of payment methods available to a company.""" - payment_methods: [String] - """ - The resale number that is assigned to the company for tax reporting purposes. - """ - reseller_id: String - """A company role filtered by the unique ID of a `CompanyRole` object.""" - role(id: ID!): CompanyRole - """An object that contains a list of company roles.""" - roles( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1""" - currentPage: Int = 1 - ): CompanyRoles! - """ - An object containing information about the company sales representative. - """ - sales_representative: CompanySalesRepresentative - """The company structure of teams and customers in depth-first order.""" - structure( - """ - The ID of the node in the company structure that serves as the root for the query. - """ - rootId: ID - """The maximum depth that can be reached when listing structure nodes.""" - depth: Int = 10 - ): CompanyStructure - """ - The company team data filtered by the unique ID for a `CompanyTeam` object. - """ - team(id: ID!): CompanyTeam - """A company user filtered by the unique ID of a `Customer` object.""" - user(id: ID!): Customer - """ - An object that contains a list of company users based on activity status. - """ - users( - """The type of company users to return.""" - filter: CompanyUsersFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): CompanyUsers - """ - The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. - """ - vat_tax_id: String -} - -""" -Contains details about the address where the company is registered to conduct business. -""" -type CompanyLegalAddress { - """The city where the company is registered to conduct business.""" - city: String - """The country code of the company's legal address.""" - country_code: CountryCodeEnum - """The company's postal code.""" - postcode: String - """An object containing region data for the company.""" - region: CustomerAddressRegion - """An array of strings that define the company's street address.""" - street: [String] - """The company's phone number.""" - telephone: String -} - -"""Contains details about the company administrator.""" -type CompanyAdmin { - """The email address of the company administrator.""" - email: String - """The company administrator's first name.""" - firstname: String - """ - The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). - """ - gender: Int - """The unique ID for a `CompanyAdmin` object.""" - id: ID! - """The job title of the company administrator.""" - job_title: String - """The company administrator's last name.""" - lastname: String -} - -"""Contains details about a company sales representative.""" -type CompanySalesRepresentative { - """The email address of the company sales representative.""" - email: String - """The company sales representative's first name.""" - firstname: String - """The company sales representative's last name.""" - lastname: String -} - -"""Contains details about company users.""" -type CompanyUsers { - """ - An array of `CompanyUser` objects that match the specified filter criteria. - """ - items: [Customer]! - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The number of objects returned.""" - total_count: Int! -} - -"""Contains an array of roles.""" -type CompanyRoles { - """A list of company roles that match the specified filter criteria.""" - items: [CompanyRole]! - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The total number of objects matching the specified filter.""" - total_count: Int! -} - -"""Contails details about a single role.""" -type CompanyRole { - """The unique ID for a `CompanyRole` object.""" - id: ID! - """The name assigned to the role.""" - name: String - """A list of permission resources defined for a role.""" - permissions: [CompanyAclResource] - """The total number of users assigned the specified role.""" - users_count: Int -} - -"""Contains details about the access control list settings of a resource.""" -type CompanyAclResource { - """An array of sub-resources.""" - children: [CompanyAclResource] - """The unique ID for a `CompanyAclResource` object.""" - id: ID! - """The sort order of an ACL resource.""" - sort_order: Int - """The label assigned to the ACL resource.""" - text: String -} - -"""Contains the response of a role name validation query.""" -type IsCompanyRoleNameAvailableOutput { - """Indicates whether the specified company role name is available.""" - is_role_name_available: Boolean! -} - -"""Contains the response of a company user email validation query.""" -type IsCompanyUserEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a company user. - """ - is_email_available: Boolean! -} - -"""Contains the response of a company admin email validation query.""" -type IsCompanyAdminEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a company administrator. - """ - is_email_available: Boolean! -} - -"""Contains the response of a company email validation query.""" -type IsCompanyEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a company. - """ - is_email_available: Boolean! -} - -union CompanyStructureEntity = CompanyTeam | Customer - -""" -Contains an array of the individual nodes that comprise the company structure. -""" -type CompanyStructure { - """An array of elements in a company structure.""" - items: [CompanyStructureItem] -} - -"""Describes a company team.""" -type CompanyTeam { - """An optional description of the team.""" - description: String - """The unique ID for a `CompanyTeam` object.""" - id: ID! - """The display name of the team.""" - name: String - """ID of the company structure""" - structure_id: ID! -} - -"""Defines the filter for returning a list of company users.""" -input CompanyUsersFilterInput { - """The activity status to filter on.""" - status: CompanyUserStatusEnum -} - -"""Defines the list of company user status values.""" -enum CompanyUserStatusEnum { - """Only active users.""" - ACTIVE - """Only inactive users.""" - INACTIVE -} - -"""Contains the response to the request to create a company team.""" -type CreateCompanyTeamOutput { - """The new company team instance.""" - team: CompanyTeam! -} - -"""Contains the response to the request to update a company team.""" -type UpdateCompanyTeamOutput { - """The updated company team instance.""" - team: CompanyTeam! -} - -"""Contains the status of the request to delete a company team.""" -type DeleteCompanyTeamOutput { - """Indicates whether the delete operation succeeded.""" - success: Boolean! -} - -"""Defines the input schema for creating a company team.""" -input CompanyTeamCreateInput { - """An optional description of the team.""" - description: String - """The display name of the team.""" - name: String! - """ - The ID of a node within a company's structure. This ID will be the parent of the created team. - """ - target_id: ID -} - -"""Defines the input schema for updating a company team.""" -input CompanyTeamUpdateInput { - """An optional description of the team.""" - description: String - """The unique ID of the `CompanyTeam` object to update.""" - id: ID! - """The display name of the team.""" - name: String -} - -"""Contains the response to the request to update the company structure.""" -type UpdateCompanyStructureOutput { - """The updated company instance.""" - company: Company! -} - -"""Defines the input schema for updating the company structure.""" -input CompanyStructureUpdateInput { - """The ID of a company that will be the new parent.""" - parent_tree_id: ID! - """The ID of the company team that is being moved to another parent.""" - tree_id: ID! -} - -"""Contains the response to the request to create a company.""" -type CreateCompanyOutput { - """The new company instance.""" - company: Company! -} - -"""Contains the response to the request to update the company.""" -type UpdateCompanyOutput { - """The updated company instance.""" - company: Company! -} - -"""Contains the response to the request to create a company user.""" -type CreateCompanyUserOutput { - """The new company user instance.""" - user: Customer! -} - -"""Contains the response to the request to update the company user.""" -type UpdateCompanyUserOutput { - """The updated company user instance.""" - user: Customer! -} - -"""Contains the response to the request to delete the company user.""" -type DeleteCompanyUserOutput { - """Indicates whether the company user has been deactivated successfully.""" - success: Boolean! -} - -"""Contains the response to the request to create a company role.""" -type CreateCompanyRoleOutput { - """The new company role instance.""" - role: CompanyRole! -} - -"""Contains the response to the request to update the company role.""" -type UpdateCompanyRoleOutput { - """The updated company role instance.""" - role: CompanyRole! -} - -"""Contains the response to the request to delete the company role.""" -type DeleteCompanyRoleOutput { - """SIndicates whether the company role has been deleted successfully.""" - success: Boolean! -} - -"""Defines the input schema for creating a new company.""" -input CompanyCreateInput { - """Defines the company administrator.""" - company_admin: CompanyAdminInput! - """The email address of the company contact.""" - company_email: String! - """The name of the company to create.""" - company_name: String! - """Defines legal address data of the company.""" - legal_address: CompanyLegalAddressCreateInput! - """The full legal name of the company.""" - legal_name: String - """ - The resale number that is assigned to the company for tax reporting purposes. - """ - reseller_id: String - """ - The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. - """ - vat_tax_id: String -} - -"""Defines the input schema for creating a company administrator.""" -input CompanyAdminInput { - """The company administrator's custom attributes.""" - custom_attributes: [AttributeValueInput] - """The email address of the company administrator.""" - email: String! - """The company administrator's first name.""" - firstname: String! - """ - The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). - """ - gender: Int - """The job title of the company administrator.""" - job_title: String - """The company administrator's last name.""" - lastname: String! - """The phone number of the company administrator.""" - telephone: String -} - -"""Defines the input schema for defining a company's legal address.""" -input CompanyLegalAddressCreateInput { - """The city where the company is registered to conduct business.""" - city: String! - """The company's country ID. Use the `countries` query to get this value.""" - country_id: CountryCodeEnum! - """The postal code of the company.""" - postcode: String! - """ - An object containing the region name and/or region ID where the company is registered to conduct business. - """ - region: CustomerAddressRegionInput! - """ - An array of strings that define the street address where the company is registered to conduct business. - """ - street: [String]! - """The primary phone number of the company.""" - telephone: String! -} - -"""Defines the input schema for updating a company.""" -input CompanyUpdateInput { - """The email address of the company contact.""" - company_email: String - """The name of the company to update.""" - company_name: String - """The legal address data of the company.""" - legal_address: CompanyLegalAddressUpdateInput - """The full legal name of the company.""" - legal_name: String - """ - The resale number that is assigned to the company for tax reporting purposes. - """ - reseller_id: String - """ - The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. - """ - vat_tax_id: String -} - -"""Defines the input schema for updating a company's legal address.""" -input CompanyLegalAddressUpdateInput { - """The city where the company is registered to conduct business.""" - city: String - """The unique ID for a `Country` object.""" - country_id: CountryCodeEnum - """The postal code of the company.""" - postcode: String - """ - An object containing the region name and/or region ID where the company is registered to conduct business. - """ - region: CustomerAddressRegionInput - """ - An array of strings that define the street address where the company is registered to conduct business. - """ - street: [String] - """The primary phone number of the company.""" - telephone: String -} - -"""Defines the input schema for creating a company user.""" -input CompanyUserCreateInput { - """The company user's email address""" - email: String! - """The company user's first name.""" - firstname: String! - """The company user's job title or function.""" - job_title: String! - """The company user's last name.""" - lastname: String! - """The unique ID for a `CompanyRole` object.""" - role_id: ID! - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum! - """ - The ID of a node within a company's structure. This ID will be the parent of the created company user. - """ - target_id: ID - """The company user's phone number.""" - telephone: String! -} - -"""Defines the input schema for updating a company user.""" -input CompanyUserUpdateInput { - """The company user's email address.""" - email: String - """The company user's first name.""" - firstname: String - """The unique ID of a `Customer` object.""" - id: ID! - """The company user's job title or function.""" - job_title: String - """The company user's last name.""" - lastname: String - """The unique ID for a `CompanyRole` object.""" - role_id: ID - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum - """The company user's phone number.""" - telephone: String -} - -"""Defines the input schema for creating a company role.""" -input CompanyRoleCreateInput { - """The name of the role to create.""" - name: String! - """A list of resources the role can access.""" - permissions: [String]! -} - -"""Defines the input schema for updating a company role.""" -input CompanyRoleUpdateInput { - """The unique ID for a `CompanyRole` object.""" - id: ID! - """The name of the role to update.""" - name: String - """A list of resources the role can access.""" - permissions: [String] -} - -""" -Defines the input for returning matching companies the customer is assigned to. -""" -input UserCompaniesInput { - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int - """ - Specifies the maximum number of results to return at once. This attribute is optional. - """ - pageSize: Int - """Defines the sorting of the results.""" - sort: [CompaniesSortInput] -} - -"""An object that contains a list of companies customer is assigned to.""" -type UserCompaniesOutput { - """An array of companies customer is assigned to.""" - items: [CompanyBasicInfo]! - """Provides navigation for the query response.""" - page_info: SearchResultPageInfo! -} - -""" -Specifies which field to sort on, and whether to return the results in ascending or descending order. -""" -input CompaniesSortInput { - """The field for sorting the results.""" - field: CompaniesSortFieldEnum! - """Indicates whether to return results in ascending or descending order.""" - order: SortEnum! -} - -"""The fields available for sorting the customer companies.""" -enum CompaniesSortFieldEnum { - """The name of the company.""" - NAME -} - -"""The minimal required information to identify and display the company.""" -type CompanyBasicInfo { - """The unique ID of a `Company` object.""" - id: ID! - """The full legal name of the company.""" - legal_name: String - """The name of the company.""" - name: String -} - -"""Defines the input schema for accepting the company invitation.""" -input CompanyInvitationInput { - """The invitation code.""" - code: String! - """The company role id.""" - role_id: ID - """Company user attributes in the invitation.""" - user: CompanyInvitationUserInput! -} - -"""Company user attributes in the invitation.""" -input CompanyInvitationUserInput { - """The company unique identifier.""" - company_id: ID! - """The customer unique identifier.""" - customer_id: ID! - """The job title of a company user.""" - job_title: String - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum - """The phone number of the company user.""" - telephone: String -} - -"""The result of accepting the company invitation.""" -type CompanyInvitationOutput { - """Indicates whether the customer was added to the company successfully.""" - success: Boolean -} - -"""Defines an individual node in the company structure.""" -type CompanyStructureItem { - """A union of `CompanyTeam` and `Customer` objects.""" - entity: CompanyStructureEntity - """The unique ID for a `CompanyStructureItem` object.""" - id: ID! - """The ID of the parent item in the company hierarchy.""" - parent_id: ID -} - -"""Contains a single dynamic block.""" -type DynamicBlock { - """The renderable HTML code of the dynamic block.""" - content: ComplexTextValue! - """The unique ID of a `DynamicBlock` object.""" - uid: ID! -} - -"""Contains an array of dynamic blocks.""" -type DynamicBlocks { - """An array containing individual dynamic blocks.""" - items: [DynamicBlock]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo - """The number of returned dynamic blocks.""" - total_count: Int! -} - -""" -Defines the dynamic block filter. The filter can identify the block type, location and IDs to return. -""" -input DynamicBlocksFilterInput { - """The unique ID that identifies the customer's cart""" - cart_id: String - """An array of dynamic block UIDs to filter on.""" - dynamic_block_uids: [ID] - """An array indicating the locations the dynamic block can be placed.""" - locations: [DynamicBlockLocationEnum] - """The unique ID of the product currently viewed""" - product_uid: ID - """A value indicating the type of dynamic block to filter on.""" - type: DynamicBlockTypeEnum! -} - -"""Indicates the selected Dynamic Blocks Rotator inline widget.""" -enum DynamicBlockTypeEnum { - SPECIFIED - CART_PRICE_RULE_RELATED - CATALOG_PRICE_RULE_RELATED -} - -""" -Indicates the locations the dynamic block can be placed. If this field is not specified, the query returns all locations. -""" -enum DynamicBlockLocationEnum { - CONTENT - HEADER - FOOTER - LEFT - RIGHT -} - -type Currency { - """ - An array of three-letter currency codes accepted by the store, such as USD and EUR. - """ - available_currency_codes: [String] - """The base currency set for the store, such as USD.""" - base_currency_code: String - """The symbol for the specified base currency, such as $.""" - base_currency_symbol: String - default_display_currecy_code: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") - default_display_currecy_symbol: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") - """The currency that is displayed by default, such as USD.""" - default_display_currency_code: String - """The currency symbol that is displayed by default, such as $.""" - default_display_currency_symbol: String - """An array of exchange rates for currencies defined in the store.""" - exchange_rates: [ExchangeRate] -} - -"""Lists the exchange rate.""" -type ExchangeRate { - """Specifies the store’s default currency to exchange to.""" - currency_to: String - """The exchange rate for the store’s default currency.""" - rate: Float -} - -type Country { - """An array of regions within a particular country.""" - available_regions: [Region] - """The name of the country in English.""" - full_name_english: String - """The name of the country in the current locale.""" - full_name_locale: String - """The unique ID for a `Country` object.""" - id: String - """The three-letter abbreviation of the country, such as USA.""" - three_letter_abbreviation: String - """The two-letter abbreviation of the country, such as US.""" - two_letter_abbreviation: String -} - -type Region { - """The two-letter code for the region, such as TX for Texas.""" - code: String - """The unique ID for a `Region` object.""" - id: Int - """The name of the region, such as Texas.""" - name: String -} - -"""Contains a list of downloadable products.""" -type CustomerDownloadableProducts { - """An array of purchased downloadable items.""" - items: [CustomerDownloadableProduct] -} - -"""Contains details about a single downloadable product.""" -type CustomerDownloadableProduct { - """The date and time the purchase was made.""" - date: String - """The fully qualified URL to the download file.""" - download_url: String - """The unique ID assigned to the item.""" - order_increment_id: String - """The remaining number of times the customer can download the product.""" - remaining_downloads: String - """ - Indicates when the product becomes available for download. Options are `Pending` and `Invoiced`. - """ - status: String -} - -""" -Contains details about downloadable products added to a requisition list. -""" -type DownloadableRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """An array of links for downloadable products in the requisition list.""" - links: [DownloadableProductLinks] - """Details about a requisition list item.""" - product: ProductInterface! - """The quantity of the product added to the requisition list.""" - quantity: Float! - """An array of links to downloadable product samples.""" - samples: [DownloadableProductSamples] - """The unique ID of an item in a requisition list.""" - uid: ID! -} - -"""Defines the bundle products to add to the cart.""" -input AddBundleProductsToCartInput { - """The ID of the cart.""" - cart_id: String! - """An array of bundle products to add.""" - cart_items: [BundleProductCartItemInput]! -} - -"""Defines a single bundle product.""" -input BundleProductCartItemInput { - """ - A mandatory array of options for the bundle product, including each chosen option and specified quantity. - """ - bundle_options: [BundleOptionInput]! - """The ID and value of the option.""" - customizable_options: [CustomizableOptionInput] - """The quantity and SKU of the bundle product.""" - data: CartItemInput! -} - -"""Defines the input for a bundle option.""" -input BundleOptionInput { - """The ID of the option.""" - id: Int! - """The number of the selected item to add to the cart.""" - quantity: Float! - """An array with the chosen value of the option.""" - value: [String]! -} - -"""Contains details about the cart after adding bundle products.""" -type AddBundleProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""An implementation for bundle product cart items.""" -type BundleCartItem implements CartItemInterface { - """The list of available gift wrapping options for the cart item.""" - available_gift_wrapping: [GiftWrapping]! - """An array containing the bundle options the shopper selected.""" - bundle_options: [SelectedBundleOption]! - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - """The entered gift message for the cart item""" - gift_message: GiftMessage - """The selected gift wrapping for the cart item.""" - gift_wrapping: GiftWrapping - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""Contains details about a selected bundle option.""" -type SelectedBundleOption { - id: Int! @deprecated(reason: "Use `uid` instead") - """The display name of the selected bundle product option.""" - label: String! - """The type of selected bundle product option.""" - type: String! - """The unique ID for a `SelectedBundleOption` object""" - uid: ID! - """An array of selected bundle option values.""" - values: [SelectedBundleOptionValue]! -} - -"""Contains details about a value for a selected bundle option.""" -type SelectedBundleOptionValue { - """Use `uid` instead""" - id: Int! - """The display name of the value for the selected bundle product option.""" - label: String! - """The price of the value for the selected bundle product option.""" - price: Float! - """The quantity of the value for the selected bundle product option.""" - quantity: Float! - """The unique ID for a `SelectedBundleOptionValue` object""" - uid: ID! -} - -""" -Can be used to retrieve the main price details in case of bundle product -""" -type PriceDetails { - """The percentage of discount applied to the main product price""" - discount_percentage: Float - """The final price after applying the discount to the main product""" - main_final_price: Float - """The regular price of the main product""" - main_price: Float -} - -"""Defines an individual item within a bundle product.""" -type BundleItem { - """An ID assigned to each type of item in a bundle product.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """An array of additional options for this bundle item.""" - options: [BundleItemOption] - """ - A number indicating the sequence order of this item compared to the other bundle items. - """ - position: Int - """The range of prices for the product""" - price_range: PriceRange! - """Indicates whether the item must be included in the bundle.""" - required: Boolean - """The SKU of the bundle product.""" - sku: String - """The display name of the item.""" - title: String - """ - The input type that the customer uses to select the item. Examples include radio button and checkbox. - """ - type: String - """The unique ID for a `BundleItem` object.""" - uid: ID -} - -""" -Defines the characteristics that comprise a specific bundle item and its options. -""" -type BundleItemOption { - """ - Indicates whether the customer can change the number of items for this option. - """ - can_change_quantity: Boolean - """The ID assigned to the bundled item option.""" - id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether this option is the default option.""" - is_default: Boolean - """The text that identifies the bundled item option.""" - label: String - """ - When a bundle item contains multiple options, the relative position of this option compared to the other options. - """ - position: Int - """The price of the selected option.""" - price: Float - """One of FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """Contains details about this product option.""" - product: ProductInterface - """Indicates the quantity of this specific bundle item.""" - qty: Float @deprecated(reason: "Use `quantity` instead.") - """The quantity of this specific bundle item.""" - quantity: Float - """The unique ID for a `BundleItemOption` object.""" - uid: ID! -} - -""" -Defines basic features of a bundle product and contains multiple BundleItems. -""" -type BundleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether the bundle product has a dynamic price.""" - dynamic_price: Boolean - """Indicates whether the bundle product has a dynamic SKU.""" - dynamic_sku: Boolean - """ - Indicates whether the bundle product has a dynamically calculated weight. - """ - dynamic_weight: Boolean - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """An array containing information about individual bundle items.""" - items: [BundleItem] - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The price details of the main product""" - price_details: PriceDetails - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """One of PRICE_RANGE or AS_LOW_AS.""" - price_view: PriceViewEnum - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """Indicates whether to ship bundle items together or individually.""" - ship_bundle_items: ShipBundleItemsEnum - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -""" -Defines whether a bundle product's price is displayed as the lowest possible value or as a range. -""" -enum PriceViewEnum { - PRICE_RANGE - AS_LOW_AS -} - -"""Defines whether bundle items must be shipped together.""" -enum ShipBundleItemsEnum { - TOGETHER - SEPARATELY -} - -"""Defines bundle product options for `OrderItemInterface`.""" -type BundleOrderItem implements OrderItemInterface { - """A list of bundle options that are assigned to the bundle product.""" - bundle_options: [ItemSelectedBundleOption] - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Defines bundle product options for `InvoiceItemInterface`.""" -type BundleInvoiceItem implements InvoiceItemInterface { - """ - A list of bundle options that are assigned to an invoiced bundle product. - """ - bundle_options: [ItemSelectedBundleOption] - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -"""Defines bundle product options for `ShipmentItemInterface`.""" -type BundleShipmentItem implements ShipmentItemInterface { - """A list of bundle options that are assigned to a shipped product.""" - bundle_options: [ItemSelectedBundleOption] - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -"""Defines bundle product options for `CreditMemoItemInterface`.""" -type BundleCreditMemoItem implements CreditMemoItemInterface { - """ - A list of bundle options that are assigned to a bundle product that is part of a credit memo. - """ - bundle_options: [ItemSelectedBundleOption] - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -"""A list of options of the selected bundle product.""" -type ItemSelectedBundleOption { - """The unique ID for a `ItemSelectedBundleOption` object.""" - id: ID! @deprecated(reason: "Use `uid` instead.") - """The label of the option.""" - label: String! - """The unique ID for a `ItemSelectedBundleOption` object.""" - uid: ID! - """A list of products that represent the values of the parent option.""" - values: [ItemSelectedBundleOptionValue] -} - -"""A list of values for the selected bundle product.""" -type ItemSelectedBundleOptionValue { - """The unique ID for a `ItemSelectedBundleOptionValue` object.""" - id: ID! @deprecated(reason: "Use `uid` instead.") - """The price of the child bundle product.""" - price: Money! - """The name of the child bundle product.""" - product_name: String! - """The SKU of the child bundle product.""" - product_sku: String! - """The number of this bundle product that were ordered.""" - quantity: Float! - """The unique ID for a `ItemSelectedBundleOptionValue` object.""" - uid: ID! -} - -"""Defines bundle product options for `WishlistItemInterface`.""" -type BundleWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """An array containing information about the selected bundle items.""" - bundle_options: [SelectedBundleOption] - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -type ProductAttributeMetadata implements AttributeMetadataInterface { - """An array of attribute labels defined for the current store.""" - attribute_labels: [StoreLabels] - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: String - """The data type of the attribute.""" - data_type: ObjectDataTypeEnum - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum - """Indicates whether the attribute is a system attribute.""" - is_system: Boolean - """The label assigned to the attribute.""" - label: String - """The relative position of the attribute.""" - sort_order: Int - """Frontend UI properties of the attribute.""" - ui_input: UiInputTypeInterface - """The unique ID of an attribute.""" - uid: ID - """Places in the store front where the attribute is used.""" - used_in_components: [CustomAttributesListsEnum] -} - -enum CustomAttributesListsEnum { - PRODUCT_DETAILS_PAGE - PRODUCTS_LISTING - PRODUCTS_COMPARE - PRODUCT_SORT - PRODUCT_FILTER - PRODUCT_SEARCH_RESULTS_FILTER - ADVANCED_CATALOG_SEARCH -} - -"""Defines the input required to run the `applyGiftCardToCart` mutation.""" -input ApplyGiftCardToCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! - """The gift card code to be applied to the cart.""" - gift_card_code: String! -} - -"""Defines the possible output for the `applyGiftCardToCart` mutation.""" -type ApplyGiftCardToCartOutput { - """Describes the contents of the specified shopping cart.""" - cart: Cart! -} - -""" -Defines the input required to run the `removeGiftCardFromCart` mutation. -""" -input RemoveGiftCardFromCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! - """The gift card code to be removed to the cart.""" - gift_card_code: String! -} - -"""Defines the possible output for the `removeGiftCardFromCart` mutation.""" -type RemoveGiftCardFromCartOutput { - """The contents of the specified shopping cart.""" - cart: Cart! -} - -"""Contains an applied gift card with applied and remaining balance.""" -type AppliedGiftCard { - """The amount applied to the current cart.""" - applied_balance: Money - """The gift card account code.""" - code: String - """The remaining balance on the gift card.""" - current_balance: Money - """The expiration date of the gift card.""" - expiration_date: String -} - -"""Contains the gift card code.""" -input GiftCardAccountInput { - """The applied gift card code.""" - gift_card_code: String! -} - -"""Contains details about the gift card account.""" -type GiftCardAccount { - """The balance remaining on the gift card.""" - balance: Money - """The gift card account code.""" - code: String - """The expiration date of the gift card.""" - expiration_date: String -} - -""" -Contains details about the sales total amounts used to calculate the final price. -""" -type OrderTotal { - """The final base grand total amount in the base currency.""" - base_grand_total: Money! - """The applied discounts to the order.""" - discounts: [Discount] - """The final total amount, including shipping, discounts, and taxes.""" - grand_total: Money! - """Details about the shipping and handling costs for the order.""" - shipping_handling: ShippingHandling - """The subtotal of the order, excluding shipping, discounts, and taxes.""" - subtotal: Money! - """The order tax details.""" - taxes: [TaxItem] - """The gift card balance applied to the order.""" - total_giftcard: Money - """The shipping amount for the order.""" - total_shipping: Money! - """The amount of tax applied to the order.""" - total_tax: Money! -} - -"""Deprecated: Use the `Wishlist` type instead.""" -type WishlistOutput { - """An array of items in the customer's wish list""" - items: [WishlistItem] @deprecated(reason: "Use the `Wishlist.items` field instead.") - """The number of items in the wish list.""" - items_count: Int @deprecated(reason: "Use the `Wishlist.items_count` field instead.") - """ - When multiple wish lists are enabled, the name the customer assigns to the wishlist. - """ - name: String @deprecated(reason: "This field is related to Commerce functionality and is always `null` in Open Source.") - """An encrypted code that links to the wish list.""" - sharing_code: String @deprecated(reason: "Use the `Wishlist.sharing_code` field instead.") - """The time of the last modification to the wish list.""" - updated_at: String @deprecated(reason: "Use the `Wishlist.updated_at` field instead.") -} - -"""Contains a customer wish list.""" -type Wishlist { - """The unique ID for a `Wishlist` object.""" - id: ID - items: [WishlistItem] @deprecated(reason: "Use the `items_v2` field instead.") - """The number of items in the wish list.""" - items_count: Int - """An array of items in the customer's wish list.""" - items_v2(currentPage: Int = 1, pageSize: Int = 20): WishlistItems - """The name of the wish list.""" - name: String - """An encrypted code that Magento uses to link to the wish list.""" - sharing_code: String - """The time of the last modification to the wish list.""" - updated_at: String - """Indicates whether the wish list is public or private.""" - visibility: WishlistVisibilityEnum! -} - -"""The interface for wish list items.""" -interface WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Contains an array of items in a wish list.""" -type WishlistItems { - """A list of items in the wish list.""" - items: [WishlistItemInterface]! - """Contains pagination metadata.""" - page_info: SearchResultPageInfo -} - -"""Contains details about a wish list item.""" -type WishlistItem { - """The time when the customer added the item to the wish list.""" - added_at: String - """The customer's comment about this item.""" - description: String - """The unique ID for a `WishlistItem` object.""" - id: Int - """Details about the wish list item.""" - product: ProductInterface - """The quantity of this wish list item""" - qty: Float -} - -"""Contains the resultant wish list and any error information.""" -type AddWishlistItemsToCartOutput { - """ - An array of errors encountered while adding products to the customer's cart. - """ - add_wishlist_items_to_cart_user_errors: [WishlistCartUserInputError]! - """ - Indicates whether the attempt to add items to the customer's cart was successful. - """ - status: Boolean! - """Contains the wish list with all items that were successfully added.""" - wishlist: Wishlist! -} - -""" -Contains details about errors encountered when a customer added wish list items to the cart. -""" -type WishlistCartUserInputError { - """An error code that describes the error encountered.""" - code: WishlistCartUserInputErrorType! - """A localized error message.""" - message: String! - """The unique ID of the `Wishlist` object containing an error.""" - wishlistId: ID! - """The unique ID of the wish list item containing an error.""" - wishlistItemId: ID! -} - -"""A list of possible error types.""" -enum WishlistCartUserInputErrorType { - PRODUCT_NOT_FOUND - NOT_SALABLE - INSUFFICIENT_STOCK - UNDEFINED -} - -"""Defines the items to add to a wish list.""" -input WishlistItemInput { - """An array of options that the customer entered.""" - entered_options: [EnteredOptionInput] - """For complex product types, the SKU of the parent product.""" - parent_sku: String - """The amount or number of items to add.""" - quantity: Float! - """An array of strings corresponding to options the customer selected.""" - selected_options: [ID] - """ - The SKU of the product to add. For complex product types, specify the child product SKU. - """ - sku: String! -} - -"""Contains the customer's wish list and any errors encountered.""" -type AddProductsToWishlistOutput { - """An array of errors encountered while adding products to a wish list.""" - user_errors: [WishListUserInputError]! - """Contains the wish list with all items that were successfully added.""" - wishlist: Wishlist! -} - -"""Contains the customer's wish list and any errors encountered.""" -type RemoveProductsFromWishlistOutput { - """ - An array of errors encountered while deleting products from a wish list. - """ - user_errors: [WishListUserInputError]! - """Contains the wish list with after items were successfully deleted.""" - wishlist: Wishlist! -} - -"""Defines updates to items in a wish list.""" -input WishlistItemUpdateInput { - """Customer-entered comments about the item.""" - description: String - """An array of options that the customer entered.""" - entered_options: [EnteredOptionInput] - """The new amount or number of this item.""" - quantity: Float - """An array of strings corresponding to options the customer selected.""" - selected_options: [ID] - """The unique ID for a `WishlistItemInterface` object.""" - wishlist_item_id: ID! -} - -"""Contains the customer's wish list and any errors encountered.""" -type UpdateProductsInWishlistOutput { - """An array of errors encountered while updating products in a wish list.""" - user_errors: [WishListUserInputError]! - """Contains the wish list with all items that were successfully updated.""" - wishlist: Wishlist! -} - -"""An error encountered while performing operations with WishList.""" -type WishListUserInputError { - """A wish list-specific error code.""" - code: WishListUserInputErrorType! - """A localized error message.""" - message: String! -} - -"""A list of possible error types.""" -enum WishListUserInputErrorType { - PRODUCT_NOT_FOUND - UNDEFINED -} - -"""Defines properties of a gift card.""" -type GiftCardProduct implements ProductInterface & PhysicalProductInterface & CustomizableProductInterface & RoutableInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """ - Indicates whether the customer can provide a message to accompany the gift card. - """ - allow_message: Boolean - """ - Indicates whether shoppers have the ability to set the value of the gift card. - """ - allow_open_amount: Boolean - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of customizable gift card options.""" - gift_card_options: [CustomizableOptionInterface]! - """Indicates whether a gift message is available.""" - gift_message_available: String - """ - An array that contains information about the values and ID of a gift card. - """ - giftcard_amounts: [GiftCardAmounts] - """An enumeration that specifies the type of gift card.""" - giftcard_type: GiftCardTypeEnum - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """ - Indicates whether the customer can redeem the value on the card for cash. - """ - is_redeemable: Boolean - """Indicates whether the product can be returned.""" - is_returnable: String - """ - The number of days after purchase until the gift card expires. A null value means there is no limit. - """ - lifetime: Int - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """The maximum number of characters the gift message can contain.""" - message_max_length: Int - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """The maximum acceptable value of an open amount gift card.""" - open_amount_max: Float - """The minimum acceptable value of an open amount gift card.""" - open_amount_min: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -""" -Contains the value of a gift card, the website that generated the card, and related information. -""" -type GiftCardAmounts { - """An internal attribute ID.""" - attribute_id: Int - """The unique ID for a `GiftCardAmounts` object.""" - uid: ID! - """The value of the gift card.""" - value: Float - """An ID that is assigned to each unique gift card amount.""" - value_id: Int @deprecated(reason: "Use `uid` instead") - """The ID of the website that generated the gift card.""" - website_id: Int - """The value of the gift card.""" - website_value: Float -} - -"""Specifies the gift card type.""" -enum GiftCardTypeEnum { - VIRTUAL - PHYSICAL - COMBINED -} - -type GiftCardOrderItem implements OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """Selected gift card properties for an order item.""" - gift_card: GiftCardItem - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -type GiftCardInvoiceItem implements InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """Selected gift card properties for an invoice item.""" - gift_card: GiftCardItem - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -type GiftCardCreditMemoItem implements CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """Selected gift card properties for a credit memo item.""" - gift_card: GiftCardItem - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -type GiftCardShipmentItem implements ShipmentItemInterface { - """Selected gift card properties for a shipment item.""" - gift_card: GiftCardItem - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -"""Contains details about a gift card.""" -type GiftCardItem { - """The message from the sender to the recipient.""" - message: String - """The email address of the receiver of a virtual gift card.""" - recipient_email: String - """The name of the receiver of a physical or virtual gift card.""" - recipient_name: String - """The email address of the sender of a virtual gift card.""" - sender_email: String - """The name of the sender of a physical or virtual gift card.""" - sender_name: String -} - -"""Contains details about a gift card that has been added to a cart.""" -type GiftCardCartItem implements CartItemInterface { - """The amount and currency of the gift card.""" - amount: Money! - """An array of customizations applied to the gift card.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """The message from the sender to the recipient.""" - message: String - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The email address of the person receiving the gift card.""" - recipient_email: String - """The name of the person receiving the gift card.""" - recipient_name: String! - """The email address of the sender.""" - sender_email: String - """The name of the sender.""" - sender_name: String! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""A single gift card added to a wish list.""" -type GiftCardWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """Details about a gift card.""" - gift_card_options: GiftCardOptions! - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -""" -Contains details about the sender, recipient, and amount of a gift card. -""" -type GiftCardOptions { - """The amount and currency of the gift card.""" - amount: Money - """The custom amount and currency of the gift card.""" - custom_giftcard_amount: Money - """A message to the recipient.""" - message: String - """The email address of the person receiving the gift card.""" - recipient_email: String - """The name of the person receiving the gift card.""" - recipient_name: String - """The email address of the person sending the gift card.""" - sender_email: String - """The name of the person sending the gift card.""" - sender_name: String -} - -"""Contains the text of a gift message, its sender, and recipient""" -type GiftMessage { - """Sender name""" - from: String! - """Gift message text""" - message: String! - """Recipient name""" - to: String! -} - -"""Defines a gift message.""" -input GiftMessageInput { - """The name of the sender.""" - from: String! - """The text of the gift message.""" - message: String! - """The name of the recepient.""" - to: String! -} - -type SalesItemInterface { - """The entered gift message for the order item""" - gift_message: GiftMessage -} - -"""Contains details about each of the customer's orders.""" -type CustomerOrder { - """Coupons applied to the order.""" - applied_coupons: [AppliedCoupon]! - """The billing address for the order.""" - billing_address: OrderAddress - """The shipping carrier for the order delivery.""" - carrier: String - """Comments about the order.""" - comments: [SalesCommentItem] - created_at: String @deprecated(reason: "Use the `order_date` field instead.") - """A list of credit memos.""" - credit_memos: [CreditMemo] - """Order customer email.""" - email: String - """The entered gift message for the order""" - gift_message: GiftMessage - """Indicates whether the customer requested a gift receipt for the order.""" - gift_receipt_included: Boolean! - """The selected gift wrapping for the order.""" - gift_wrapping: GiftWrapping - grand_total: Float @deprecated(reason: "Use the `totals.grand_total` field instead.") - """The unique ID for a `CustomerOrder` object.""" - id: ID! - increment_id: String @deprecated(reason: "Use the `id` field instead.") - """A list of invoices for the order.""" - invoices: [Invoice]! - """An array containing the items purchased in this order.""" - items: [OrderItemInterface] - """A list of order items eligible to be in a return request.""" - items_eligible_for_return: [OrderItemInterface] - """The order number.""" - number: String! - """The date the order was placed.""" - order_date: String! - order_number: String! @deprecated(reason: "Use the `number` field instead.") - """Payment details for the order.""" - payment_methods: [OrderPaymentMethod] - """Indicates whether the customer requested a printed card for the order.""" - printed_card_included: Boolean! - """Return requests associated with this order.""" - returns( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): Returns - """A list of shipments for the order.""" - shipments: [OrderShipment] - """The shipping address for the order.""" - shipping_address: OrderAddress - """The delivery method for the order.""" - shipping_method: String - """The current state of the order.""" - state: String! - """The current status of the order.""" - status: String! - """The token that can be used to retrieve the order using order query.""" - token: String! - """Details about the calculated totals for this order.""" - total: OrderTotal -} - -"""Order item details.""" -interface OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Contains the results of a gift registry search.""" -type GiftRegistrySearchResult { - """The date of the event.""" - event_date: String - """The title given to the event.""" - event_title: String! - """The URL key of the gift registry.""" - gift_registry_uid: ID! - """The location of the event.""" - location: String - """The name of the gift registry owner.""" - name: String! - """The type of event being held.""" - type: String -} - -"""Defines a dynamic attribute.""" -input GiftRegistryDynamicAttributeInput { - """A unique key for an additional attribute of the event.""" - code: ID! - """A string that describes a dynamic attribute.""" - value: String! -} - -"""Defines the sender of an invitation to view a gift registry.""" -input ShareGiftRegistrySenderInput { - """A brief message from the sender.""" - message: String! - """The sender of the gift registry invitation.""" - name: String! -} - -"""Defines a gift registry invitee.""" -input ShareGiftRegistryInviteeInput { - """The email address of the gift registry invitee.""" - email: String! - """The name of the gift registry invitee.""" - name: String! -} - -"""Defines an item to add to the gift registry.""" -input AddGiftRegistryItemInput { - """An array of options the customer has entered.""" - entered_options: [EnteredOptionInput] - """A brief note about the item.""" - note: String - """For complex product types, the SKU of the parent product.""" - parent_sku: String - """The quantity of the product to add.""" - quantity: Float! - """ - An array of strings corresponding to options the customer has selected. - """ - selected_options: [String] - """The SKU of the product to add to the gift registry.""" - sku: String! -} - -"""Defines a new gift registry.""" -input CreateGiftRegistryInput { - """Additional attributes specified as a code-value pair.""" - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The name of the event.""" - event_name: String! - """The ID of the selected event type.""" - gift_registry_type_uid: ID! - """A message describing the event.""" - message: String! - """Indicates whether the registry is PRIVATE or PUBLIC.""" - privacy_settings: GiftRegistryPrivacySettings! - """The list of people who receive notifications about the registry.""" - registrants: [AddGiftRegistryRegistrantInput]! - """The shipping address for all gift registry items.""" - shipping_address: GiftRegistryShippingAddressInput - """Indicates whether the registry is ACTIVE or INACTIVE.""" - status: GiftRegistryStatus! -} - -"""Defines updates to an item in a gift registry.""" -input UpdateGiftRegistryItemInput { - """The unique ID of a `giftRegistryItem` object.""" - gift_registry_item_uid: ID! - """The updated description of the item.""" - note: String - """The updated quantity of the gift registry item.""" - quantity: Float! -} - -"""Defines updates to a `GiftRegistry` object.""" -input UpdateGiftRegistryInput { - """ - Additional attributes specified as a code-value pair. Unspecified dynamic attributes are not changed. - """ - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The updated name of the event.""" - event_name: String - """The updated message describing the event.""" - message: String - """Indicates whether the gift registry is PRIVATE or PUBLIC.""" - privacy_settings: GiftRegistryPrivacySettings - """The updated shipping address for all gift registry items.""" - shipping_address: GiftRegistryShippingAddressInput - """Indicates whether the gift registry is ACTIVE or INACTIVE.""" - status: GiftRegistryStatus -} - -"""Defines a new registrant.""" -input AddGiftRegistryRegistrantInput { - """Additional attributes specified as a code-value pair.""" - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The email address of the registrant.""" - email: String! - """The first name of the registrant.""" - firstname: String! - """The last name of the registrant.""" - lastname: String! -} - -""" -Defines a shipping address for a gift registry. Specify either `address_data` or the `address_id`. If both are provided, validation will fail. -""" -input GiftRegistryShippingAddressInput { - """Defines the shipping address for this gift registry.""" - address_data: CustomerAddressInput - """The ID assigned to this customer address.""" - address_id: ID -} - -"""Defines updates to an existing registrant.""" -input UpdateGiftRegistryRegistrantInput { - """ - As a result of the update, only the values of provided attributes will be affected. If the attribute is missing in the request, its value will not be changed. - """ - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The updated email address of the registrant.""" - email: String - """The updated first name of the registrant.""" - firstname: String - """The unique ID of a `giftRegistryRegistrant` object.""" - gift_registry_registrant_uid: ID! - """The updated last name of the registrant.""" - lastname: String -} - -"""Contains the customer's gift registry.""" -interface GiftRegistryOutputInterface { - """The gift registry.""" - gift_registry: GiftRegistry -} - -"""Contains details about the gift registry.""" -type GiftRegistryOutput implements GiftRegistryOutputInterface { - """The gift registry.""" - gift_registry: GiftRegistry -} - -""" -Contains the status and any errors that encountered with the customer's gift register item. -""" -interface GiftRegistryItemUserErrorInterface { - """ - Indicates whether the attempt to move the cart items to the gift registry was successful. - """ - status: Boolean! - """ - An array of errors encountered while moving items from the cart to the gift registry. - """ - user_errors: [GiftRegistryItemsUserError]! -} - -"""Contains error information.""" -type GiftRegistryItemUserErrors implements GiftRegistryItemUserErrorInterface { - """ - Indicates whether the attempt to move the cart items to the gift registry was successful. - """ - status: Boolean! - """ - An array of errors encountered while moving items from the cart to the gift registry. - """ - user_errors: [GiftRegistryItemsUserError]! -} - -""" -Contains details about an error that occurred when processing a gift registry item. -""" -type GiftRegistryItemsUserError { - """An error code that describes the error encountered.""" - code: GiftRegistryItemsUserErrorType! - """The unique ID of the gift registry item containing an error.""" - gift_registry_item_uid: ID - """The unique ID of the `GiftRegistry` object containing an error.""" - gift_registry_uid: ID - """A localized error message.""" - message: String! - """The unique ID of the product containing an error.""" - product_uid: ID -} - -"""Defines the error type.""" -enum GiftRegistryItemsUserErrorType { - """Used for handling out of stock products.""" - OUT_OF_STOCK - """Used for exceptions like EntityNotFound.""" - NOT_FOUND - """Used for other exceptions, such as database connection failures.""" - UNDEFINED -} - -"""Contains the customer's gift registry and any errors encountered.""" -type MoveCartItemsToGiftRegistryOutput implements GiftRegistryOutputInterface & GiftRegistryItemUserErrorInterface { - """The gift registry.""" - gift_registry: GiftRegistry - """ - Indicates whether the attempt to move the cart items to the gift registry was successful. - """ - status: Boolean! - """ - An array of errors encountered while moving items from the cart to the gift registry. - """ - user_errors: [GiftRegistryItemsUserError]! -} - -"""Contains the results of a request to delete a gift registry.""" -type RemoveGiftRegistryOutput { - """Indicates whether the gift registry was successfully deleted.""" - success: Boolean! -} - -""" -Contains the results of a request to remove an item from a gift registry. -""" -type RemoveGiftRegistryItemsOutput { - """The gift registry after removing items.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to update gift registry items.""" -type UpdateGiftRegistryItemsOutput { - """The gift registry after updating updating items.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to share a gift registry.""" -type ShareGiftRegistryOutput { - """Indicates whether the gift registry was successfully shared.""" - is_shared: Boolean! -} - -"""Contains the results of a request to create a gift registry.""" -type CreateGiftRegistryOutput { - """The newly-created gift registry.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to update a gift registry.""" -type UpdateGiftRegistryOutput { - """The updated gift registry.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to add registrants.""" -type AddGiftRegistryRegistrantsOutput { - """The gift registry after adding registrants.""" - gift_registry: GiftRegistry -} - -"""Contains the results a request to update registrants.""" -type UpdateGiftRegistryRegistrantsOutput { - """The gift registry after updating registrants.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to delete a registrant.""" -type RemoveGiftRegistryRegistrantsOutput { - """The gift registry after deleting registrants.""" - gift_registry: GiftRegistry -} - -"""Contains details about a gift registry.""" -type GiftRegistry { - """ - The date on which the gift registry was created. Only the registry owner can access this attribute. - """ - created_at: String! - """ - An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. - """ - dynamic_attributes: [GiftRegistryDynamicAttribute] - """The name of the event.""" - event_name: String! - """An array of products added to the gift registry.""" - items: [GiftRegistryItemInterface] - """The message text the customer entered to describe the event.""" - message: String! - """The customer who created the gift registry.""" - owner_name: String! - """ - An enum that states whether the gift registry is PRIVATE or PUBLIC. Only the registry owner can access this attribute. - """ - privacy_settings: GiftRegistryPrivacySettings! - """Contains details about each registrant for the event.""" - registrants: [GiftRegistryRegistrant] - """ - Contains the customer's shipping address. Only the registry owner can access this attribute. - """ - shipping_address: CustomerAddress - """ - An enum that states whether the gift registry is ACTIVE or INACTIVE. Only the registry owner can access this attribute. - """ - status: GiftRegistryStatus! - """The type of gift registry.""" - type: GiftRegistryType - """The unique ID assigned to the gift registry.""" - uid: ID! -} - -"""Contains details about a gift registry type.""" -type GiftRegistryType { - """ - An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. - """ - dynamic_attributes_metadata: [GiftRegistryDynamicAttributeMetadataInterface] - """The label assigned to the gift registry type on the Admin.""" - label: String! - """The unique ID assigned to the gift registry type.""" - uid: ID! -} - -interface GiftRegistryDynamicAttributeMetadataInterface { - """Indicates which group the dynamic attribute a member of.""" - attribute_group: String! - """The internal ID of the dynamic attribute.""" - code: ID! - """ - The selected input type for this dynamic attribute. The value can be one of several static or custom types. - """ - input_type: String! - """Indicates whether the dynamic attribute is required.""" - is_required: Boolean! - """The display name of the dynamic attribute.""" - label: String! - """The order in which to display the dynamic attribute.""" - sort_order: Int -} - -type GiftRegistryDynamicAttributeMetadata implements GiftRegistryDynamicAttributeMetadataInterface { - """Indicates which group the dynamic attribute a member of.""" - attribute_group: String! - """The internal ID of the dynamic attribute.""" - code: ID! - """ - The selected input type for this dynamic attribute. The value can be one of several static or custom types. - """ - input_type: String! - """Indicates whether the dynamic attribute is required.""" - is_required: Boolean! - """The display name of the dynamic attribute.""" - label: String! - """The order in which to display the dynamic attribute.""" - sort_order: Int -} - -"""Defines the status of the gift registry.""" -enum GiftRegistryStatus { - ACTIVE - INACTIVE -} - -"""Defines the privacy setting of the gift registry.""" -enum GiftRegistryPrivacySettings { - PRIVATE - PUBLIC -} - -"""Contains details about a registrant.""" -type GiftRegistryRegistrant { - """An array of dynamic attributes assigned to the registrant.""" - dynamic_attributes: [GiftRegistryRegistrantDynamicAttribute] - """ - The email address of the registrant. Only the registry owner can access this attribute. - """ - email: String! - """The first name of the registrant.""" - firstname: String! - """The last name of the registrant.""" - lastname: String! - """The unique ID assigned to the registrant.""" - uid: ID! -} - -interface GiftRegistryDynamicAttributeInterface { - """The internal ID of the dynamic attribute.""" - code: ID! - """The display name of the dynamic attribute.""" - label: String! - """A corresponding value for the code.""" - value: String! -} - -type GiftRegistryRegistrantDynamicAttribute implements GiftRegistryDynamicAttributeInterface { - """The internal ID of the dynamic attribute.""" - code: ID! - """The display name of the dynamic attribute.""" - label: String! - """A corresponding value for the code.""" - value: String! -} - -type GiftRegistryDynamicAttribute implements GiftRegistryDynamicAttributeInterface { - """The internal ID of the dynamic attribute.""" - code: ID! - """Indicates which group the dynamic attribute is a member of.""" - group: GiftRegistryDynamicAttributeGroup! - """The display name of the dynamic attribute.""" - label: String! - """A corresponding value for the code.""" - value: String! -} - -"""Defines the group type of a gift registry dynamic attribute.""" -enum GiftRegistryDynamicAttributeGroup { - EVENT_INFORMATION - PRIVACY_SETTINGS - REGISTRANT - GENERAL_INFORMATION - DETAILED_INFORMATION - SHIPPING_ADDRESS -} - -interface GiftRegistryItemInterface { - """The date the product was added to the gift registry.""" - created_at: String! - """A brief message about the gift registry item.""" - note: String - """Details about the gift registry item.""" - product: ProductInterface - """The requested quantity of the product.""" - quantity: Float! - """The fulfilled quantity of the product.""" - quantity_fulfilled: Float! - """The unique ID of a gift registry item.""" - uid: ID! -} - -type GiftRegistryItem implements GiftRegistryItemInterface { - """The date the product was added to the gift registry.""" - created_at: String! - """A brief message about the gift registry item.""" - note: String - """Details about the gift registry item.""" - product: ProductInterface - """The requested quantity of the product.""" - quantity: Float! - """The fulfilled quantity of the product.""" - quantity_fulfilled: Float! - """The unique ID of a gift registry item.""" - uid: ID! -} - -""" -Contains details about the selected or available gift wrapping options. -""" -type GiftWrapping { - """The name of the gift wrapping design.""" - design: String! - """The unique ID for a `GiftWrapping` object.""" - id: ID! @deprecated(reason: "Use `uid` instead") - """The preview image for a gift wrapping option.""" - image: GiftWrappingImage - """The gift wrapping price.""" - price: Money! - """The unique ID for a `GiftWrapping` object.""" - uid: ID! -} - -"""Points to an image associated with a gift wrapping option.""" -type GiftWrappingImage { - """The gift wrapping preview image label.""" - label: String! - """The gift wrapping preview image URL.""" - url: String! -} - -"""Contains prices for gift wrapping options.""" -type GiftOptionsPrices { - """Price of the gift wrapping for all individual order items.""" - gift_wrapping_for_items: Money - """Price of the gift wrapping for the whole order.""" - gift_wrapping_for_order: Money - """Price for the printed card.""" - printed_card: Money -} - -"""Defines the gift options applied to the cart.""" -input SetGiftOptionsOnCartInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! - """Gift message details for the cart.""" - gift_message: GiftMessageInput - """Whether customer requested gift receipt for the cart.""" - gift_receipt_included: Boolean! - """The unique ID for a `GiftWrapping` object to be used for the cart.""" - gift_wrapping_id: ID - """Whether customer requested printed card for the cart.""" - printed_card_included: Boolean! -} - -"""Contains the cart after gift options have been applied.""" -type SetGiftOptionsOnCartOutput { - """The modified cart object.""" - cart: Cart! -} - -"""Contains details about bundle products added to a requisition list.""" -type BundleRequisitionListItem implements RequisitionListItemInterface { - """An array of selected options for a bundle product.""" - bundle_options: [SelectedBundleOption]! - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The quantity of the product added to the requisition list.""" - quantity: Float! - """The unique ID of an item in a requisition list.""" - uid: ID! -} - -""" -Defines a grouped product, which consists of simple standalone products that are presented as a group. -""" -type GroupedProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """An array containing grouped product items.""" - items: [GroupedProductItem] - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -"""Contains information about an individual grouped product item.""" -type GroupedProductItem { - """The relative position of this item compared to the other group items.""" - position: Int - """Details about this product option.""" - product: ProductInterface - """The quantity of this grouped product item.""" - qty: Float -} - -"""A grouped product wish list item.""" -type GroupedProductWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -""" -AreaInput defines the parameters which will be used for filter by specified location. -""" -input AreaInput { - """The radius for the search in KM.""" - radius: Int! - """ - The country code where search must be performed. Required parameter together with region, city or postcode. - """ - search_term: String! -} - -""" -PickupLocationFilterInput defines the list of attributes and filters for the search. -""" -input PickupLocationFilterInput { - """Filter by city.""" - city: FilterTypeInput - """Filter by country.""" - country_id: FilterTypeInput - """Filter by pickup location name.""" - name: FilterTypeInput - """Filter by pickup location code.""" - pickup_location_code: FilterTypeInput - """Filter by postcode.""" - postcode: FilterTypeInput - """Filter by region.""" - region: FilterTypeInput - """Filter by region id.""" - region_id: FilterTypeInput - """Filter by street.""" - street: FilterTypeInput -} - -""" -PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. -""" -input PickupLocationSortInput { - """City where pickup location is placed.""" - city: SortEnum - """Name of the contact person.""" - contact_name: SortEnum - """Id of the country in two letters.""" - country_id: SortEnum - """Description of the pickup location.""" - description: SortEnum - """ - Distance to the address, requested by distance filter. Applicable only with distance filter. If distance sort order is present, all other sort orders will be ignored. - """ - distance: SortEnum - """Contact email of the pickup location.""" - email: SortEnum - """Contact fax of the pickup location.""" - fax: SortEnum - """Geographic latitude where pickup location is placed.""" - latitude: SortEnum - """Geographic longitude where pickup location is placed.""" - longitude: SortEnum - """ - The pickup location name. Customer use this to identify the pickup location. - """ - name: SortEnum - """Contact phone number of the pickup location.""" - phone: SortEnum - """A code assigned to pickup location to identify the source.""" - pickup_location_code: SortEnum - """Postcode where pickup location is placed.""" - postcode: SortEnum - """Name of the region.""" - region: SortEnum - """Id of the region.""" - region_id: SortEnum - """Street where pickup location is placed.""" - street: SortEnum -} - -"""Top level object returned in a pickup locations search.""" -type PickupLocations { - """An array of pickup locations that match the specific search request.""" - items: [PickupLocation] - """ - An object that includes the page_info and currentPage values specified in the query. - """ - page_info: SearchResultPageInfo - """The number of products returned.""" - total_count: Int -} - -"""Defines Pickup Location information.""" -type PickupLocation { - city: String - contact_name: String - country_id: String - description: String - email: String - fax: String - latitude: Float - longitude: Float - name: String - phone: String - pickup_location_code: String - postcode: String - region: String - region_id: Int - street: String -} - -"""Product Information used for Pickup Locations search.""" -input ProductInfoInput { - """Product SKU.""" - sku: String! -} - -"""Identifies which customer requires remote shopping assistance.""" -input GenerateCustomerTokenAsAdminInput { - """ - The email address of the customer requesting remote shopping assistance. - """ - customer_email: String! -} - -"""Contains the generated customer token.""" -type GenerateCustomerTokenAsAdminOutput { - """The generated customer token.""" - customer_token: String! -} - -"""Apply coupons to the cart.""" -input ApplyCouponsToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of valid coupon codes.""" - coupon_codes: [String]! - """ - `replace` to replace the existing coupon(s) or `append` to add the coupon to the coupon(s) list. - """ - type: ApplyCouponsStrategy -} - -"""Remove coupons from the cart.""" -input RemoveCouponsFromCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """ - An array of coupon codes to be removed from the quote. If coupon_codes is empty all coupons will be removed from the quote. - """ - coupon_codes: [String]! -} - -"""The strategy to apply coupons to the cart.""" -enum ApplyCouponsStrategy { - """Append new coupons keeping the coupons that have been applied before.""" - APPEND - """ - Remove all the coupons from the cart and apply only new provided coupons. - """ - REPLACE -} - -"""Contains the cart and any errors after adding products.""" -type ReorderItemsOutput { - """Detailed information about the customer's cart.""" - cart: Cart! - """An array of reordering errors.""" - userInputErrors: [CheckoutUserInputError]! -} - -"""An error encountered while adding an item to the cart.""" -type CheckoutUserInputError { - """An error code that is specific to Checkout.""" - code: CheckoutUserInputErrorCodes! - """A localized error message.""" - message: String! - """ - The path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors - """ - path: [String]! -} - -"""Identifies the filter to use for filtering orders.""" -input CustomerOrdersFilterInput { - """Filters by order number.""" - number: FilterStringTypeInput -} - -""" -CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order. -""" -input CustomerOrderSortInput { - """ - This enumeration indicates whether to return results in ascending or descending order - """ - sort_direction: SortEnum! - """Specifies the field to use for sorting""" - sort_field: CustomerOrderSortableField! -} - -"""Specifies the field to use for sorting""" -enum CustomerOrderSortableField { - """Sorts customer orders by number""" - NUMBER - """Sorts customer orders by created_at field""" - CREATED_AT -} - -""" -The collection of orders that match the conditions defined in the filter. -""" -type CustomerOrders { - """An array of customer orders.""" - items: [CustomerOrder]! - """Contains pagination metadata.""" - page_info: SearchResultPageInfo - """The total count of customer orders.""" - total_count: Int -} - -""" -Contains detailed information about an order's billing and shipping addresses. -""" -type OrderAddress { - """The city or town.""" - city: String! - """The customer's company.""" - company: String - """The customer's country.""" - country_code: CountryCodeEnum - """The fax number.""" - fax: String - """ - The first name of the person associated with the shipping/billing address. - """ - firstname: String! - """ - The family name of the person associated with the shipping/billing address. - """ - lastname: String! - """ - The middle name of the person associated with the shipping/billing address. - """ - middlename: String - """The customer's ZIP or postal code.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """The state or province name.""" - region: String - """The unique ID for a `Region` object of a pre-defined region.""" - region_id: ID - """An array of strings that define the street number and name.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number.""" - telephone: String - """The customer's Value-added tax (VAT) number (for corporate customers).""" - vat_id: String -} - -type OrderItem implements OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Represents order item options like selected or entered.""" -type OrderItemOption { - """The name of the option.""" - label: String! - """The value of the option.""" - value: String! -} - -"""Contains tax item details.""" -type TaxItem { - """The amount of tax applied to the item.""" - amount: Money! - """The rate used to calculate the tax.""" - rate: Float! - """A title that describes the tax.""" - title: String! -} - -"""Contains invoice details.""" -type Invoice { - """Comments on the invoice.""" - comments: [SalesCommentItem] - """The unique ID for a `Invoice` object.""" - id: ID! - """Invoiced product details.""" - items: [InvoiceItemInterface] - """Sequential invoice number.""" - number: String! - """Invoice total amount details.""" - total: InvoiceTotal -} - -"""Contains detailes about invoiced items.""" -interface InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -type InvoiceItem implements InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -"""Contains price details from an invoice.""" -type InvoiceTotal { - """The final base grand total amount in the base currency.""" - base_grand_total: Money! - """The applied discounts to the invoice.""" - discounts: [Discount] - """The final total amount, including shipping, discounts, and taxes.""" - grand_total: Money! - """Details about the shipping and handling costs for the invoice.""" - shipping_handling: ShippingHandling - """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" - subtotal: Money! - """The invoice tax details.""" - taxes: [TaxItem] - """The shipping amount for the invoice.""" - total_shipping: Money! - """The amount of tax applied to the invoice.""" - total_tax: Money! -} - -"""Contains details about shipping and handling costs.""" -type ShippingHandling { - """The shipping amount, excluding tax.""" - amount_excluding_tax: Money - """The shipping amount, including tax.""" - amount_including_tax: Money - """The applied discounts to the shipping.""" - discounts: [ShippingDiscount] - """Details about taxes applied for shipping.""" - taxes: [TaxItem] - """The total amount for shipping.""" - total_amount: Money! -} - -""" -Defines an individual shipping discount. This discount can be applied to shipping. -""" -type ShippingDiscount { - """The amount of the discount.""" - amount: Money! -} - -"""Contains order shipment details.""" -type OrderShipment { - """Comments added to the shipment.""" - comments: [SalesCommentItem] - """The unique ID for a `OrderShipment` object.""" - id: ID! - """An array of items included in the shipment.""" - items: [ShipmentItemInterface] - """The sequential credit shipment number.""" - number: String! - """An array of shipment tracking details.""" - tracking: [ShipmentTracking] -} - -"""Contains details about a comment.""" -type SalesCommentItem { - """The text of the message.""" - message: String! - """The timestamp of the comment.""" - timestamp: String! -} - -"""Order shipment item details.""" -interface ShipmentItemInterface { - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -type ShipmentItem implements ShipmentItemInterface { - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -"""Contains order shipment tracking details.""" -type ShipmentTracking { - """The shipping carrier for the order delivery.""" - carrier: String! - """The tracking number of the order shipment.""" - number: String - """The shipment tracking title.""" - title: String! -} - -"""Contains details about the payment method used to pay for the order.""" -type OrderPaymentMethod { - """Additional data per payment method type.""" - additional_data: [KeyValue] - """The label that describes the payment method.""" - name: String! - """The payment method code that indicates how the order was paid for.""" - type: String! -} - -"""Contains credit memo details.""" -type CreditMemo { - """Comments on the credit memo.""" - comments: [SalesCommentItem] - """The unique ID for a `CreditMemo` object.""" - id: ID! - """An array containing details about refunded items.""" - items: [CreditMemoItemInterface] - """The sequential credit memo number.""" - number: String! - """Details about the total refunded amount.""" - total: CreditMemoTotal -} - -"""Credit memo item details.""" -interface CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -type CreditMemoItem implements CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -"""Contains credit memo price details.""" -type CreditMemoTotal { - """An adjustment manually applied to the order.""" - adjustment: Money! - """The final base grand total amount in the base currency.""" - base_grand_total: Money! - """The applied discounts to the credit memo.""" - discounts: [Discount] - """The final total amount, including shipping, discounts, and taxes.""" - grand_total: Money! - """Details about the shipping and handling costs for the credit memo.""" - shipping_handling: ShippingHandling - """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" - subtotal: Money! - """The credit memo tax details.""" - taxes: [TaxItem] - """The shipping amount for the credit memo.""" - total_shipping: Money! - """The amount of tax applied to the credit memo.""" - total_tax: Money! -} - -"""Contains a key-value pair.""" -type KeyValue { - """The name part of the key/value pair.""" - name: String - """The value part of the key/value pair.""" - value: String -} - -enum CheckoutUserInputErrorCodes { - REORDER_NOT_AVAILABLE - PRODUCT_NOT_FOUND - NOT_SALABLE - INSUFFICIENT_STOCK - UNDEFINED -} - -"""This enumeration defines the scope type for customer orders.""" -enum ScopeTypeEnum { - GLOBAL - WEBSITE - STORE -} - -"""Input to retrieve an order based on token.""" -input OrderTokenInput { - """Order token.""" - token: String! -} - -"""Input to retrieve an order based on details.""" -input OrderInformationInput { - """Order billing address email.""" - email: String! - """Order number.""" - number: String! - """Order billing address postcode.""" - postcode: String! -} - -"""Identifies a quote to be duplicated""" -input DuplicateNegotiableQuoteInput { - """ID for the newly duplicated quote.""" - duplicated_quote_uid: ID! - """ID of the quote to be duplicated.""" - quote_uid: ID! -} - -"""Contains the newly created negotiable quote.""" -type DuplicateNegotiableQuoteOutput { - """Negotiable Quote resulting from duplication operation.""" - quote: NegotiableQuote -} - -"""Contains details about a negotiable quote template.""" -type NegotiableQuoteTemplate { - """The first and last name of the buyer.""" - buyer: NegotiableQuoteUser! - """A list of comments made by the buyer and seller.""" - comments: [NegotiableQuoteComment] - """The expiration period of the negotiable quote template.""" - expiration_date: String! - """A list of status and price changes for the negotiable quote template.""" - history: [NegotiableQuoteHistoryEntry] - """Indicates whether the minimum and maximum quantity settings are used.""" - is_min_max_qty_used: Boolean! - """ - Indicates whether the negotiable quote template contains only virtual products. - """ - is_virtual: Boolean! - """The list of items in the negotiable quote template.""" - items: [CartItemInterface] - """Commitment for maximum orders""" - max_order_commitment: Int! - """Commitment for minimum orders""" - min_order_commitment: Int! - """The title assigned to the negotiable quote template.""" - name: String! - """A list of notifications for the negotiable quote template.""" - notifications: [QuoteTemplateNotificationMessage] - """ - A set of subtotals and totals applied to the negotiable quote template. - """ - prices: CartPrices - """A list of shipping addresses applied to the negotiable quote template.""" - shipping_addresses: [NegotiableQuoteShippingAddress]! - """The status of the negotiable quote template.""" - status: String! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! - """The total number of items in the negotiable quote template.""" - total_quantity: Float! -} - -"""Contains data for a negotiable quote template in a grid.""" -type NegotiableQuoteTemplateGridItem { - """The date and time the negotiable quote template was activated.""" - activated_at: String! - """Company name the quote template is assigned to""" - company_name: String! - """The expiration period of the negotiable quote template.""" - expiration_date: String! - """Indicates whether the minimum and maximum quantity settings are used.""" - is_min_max_qty_used: Boolean! - """The date and time the negotiable quote template was last shared.""" - last_shared_at: String! - """Commitment for maximum orders""" - max_order_commitment: Int! - """The minimum negotiated grand total of the negotiable quote template.""" - min_negotiated_grand_total: Float! - """Commitment for minimum orders""" - min_order_commitment: Int! - """The title assigned to the negotiable quote template.""" - name: String! - """The number of orders placed for the negotiable quote template.""" - orders_placed: Int! - """The first and last name of the sales representative.""" - sales_rep_name: String! - """State of the negotiable quote template.""" - state: String! - """The status of the negotiable quote template.""" - status: String! - """The first and last name of the buyer.""" - submitted_by: String! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -""" -Contains a list of negotiable templates that match the specified filter. -""" -type NegotiableQuoteTemplatesOutput { - """A list of negotiable quote templates""" - items: [NegotiableQuoteTemplateGridItem]! - """Contains pagination metadata""" - page_info: SearchResultPageInfo! - """Contains the default sort field and all available sort fields.""" - sort_fields: SortFields - """The number of negotiable quote templates returned""" - total_count: Int! -} - -"""Contains the updated negotiable quote template.""" -type UpdateNegotiableQuoteTemplateItemsQuantityOutput { - """The updated negotiable quote template.""" - quote_template: NegotiableQuoteTemplate -} - -"""Contains the generated negotiable quote id.""" -type GenerateNegotiableQuoteFromTemplateOutput { - """The unique ID of a generated `NegotiableQuote` object.""" - negotiable_quote_uid: ID! -} - -""" -Contains details about a failed delete operation on a negotiable quote template. -""" -type DeleteNegotiableQuoteTemplateOutput { - """A message that describes the error.""" - error_message: String - """Flag to mark whether the delete operation was successful.""" - status: Boolean! -} - -"""Contains a notification message for a negotiable quote template.""" -type QuoteTemplateNotificationMessage { - """The notification message.""" - message: String! - """The type of notification message.""" - type: String! -} - -"""Defines a filter to limit the negotiable quotes to return.""" -input NegotiableQuoteTemplateFilterInput { - """Filter by state of one or more negotiable quote templates.""" - state: FilterEqualTypeInput - """Filter by status of one or more negotiable quote templates.""" - status: FilterEqualTypeInput -} - -"""Defines the field to use to sort a list of negotiable quotes.""" -input NegotiableQuoteTemplateSortInput { - """Whether to return results in ascending or descending order.""" - sort_direction: SortEnum! - """The specified sort field.""" - sort_field: NegotiableQuoteTemplateSortableField! -} - -"""Defines properties of a negotiable quote template request.""" -input RequestNegotiableQuoteTemplateInput { - """ - The cart ID of the quote to create the new negotiable quote template from. - """ - cart_id: ID! -} - -"""Specifies the items to update.""" -input UpdateNegotiableQuoteTemplateQuantitiesInput { - """An array of items to update.""" - items: [NegotiableQuoteTemplateItemQuantityInput]! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the updated quantity of an item.""" -input NegotiableQuoteTemplateItemQuantityInput { - """The unique ID of a `CartItemInterface` object.""" - item_id: ID! - """ - The new max quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. - """ - max_qty: Float - """ - The new min quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. - """ - min_qty: Float - """The new quantity of the negotiable quote item.""" - quantity: Float! -} - -""" -Defines the shipping address to assign to the negotiable quote template. -""" -input SetNegotiableQuoteTemplateShippingAddressInput { - """A shipping adadress to apply to the negotiable quote template.""" - shipping_address: NegotiableQuoteTemplateShippingAddressInput! - """The unique ID of a `NegotiableQuote` object.""" - template_id: ID! -} - -"""Defines shipping addresses for the negotiable quote template.""" -input NegotiableQuoteTemplateShippingAddressInput { - """A shipping address.""" - address: NegotiableQuoteAddressInput - """ - An ID from the company user's address book that uniquely identifies the address to be used for shipping. - """ - customer_address_uid: ID - """Text provided by the company user.""" - customer_notes: String -} - -"""Specifies the quote template properties to update.""" -input SubmitNegotiableQuoteTemplateForReviewInput { - """A comment for the seller to review.""" - comment: String - """Commitment for maximum orders""" - max_order_commitment: Int - """Commitment for minimum orders""" - min_order_commitment: Int - """The title assigned to the negotiable quote template.""" - name: String - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id to accept quote template.""" -input AcceptNegotiableQuoteTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id to open quote template.""" -input OpenNegotiableQuoteTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the template id, from which to generate quote from.""" -input GenerateNegotiableQuoteFromTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Defines the items to remove from the specified negotiable quote.""" -input RemoveNegotiableQuoteTemplateItemsInput { - """ - An array of IDs indicating which items to remove from the negotiable quote. - """ - item_uids: [ID]! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id of the quote template to cancel""" -input CancelNegotiableQuoteTemplateInput { - """A comment to provide reason of cancellation.""" - cancellation_comment: String - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id of the quote template to delete""" -input DeleteNegotiableQuoteTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Sets quote item note.""" -input QuoteTemplateLineItemNoteInput { - """The unique ID of a `CartLineItem` object.""" - item_id: ID! - """The note text to be added.""" - note: String - """The unique ID of a `NegotiableQuoteTemplate` object.""" - templateId: ID! -} - -enum NegotiableQuoteTemplateSortableField { - """Sorts negotiable quote templates by template id.""" - TEMPLATE_ID - """Sorts negotiable quote templates by the date they were last shared.""" - LAST_SHARED_AT -} - -"""Contains details about prior company credit operations.""" -type CompanyCreditHistory { - """An array of company credit operations.""" - items: [CompanyCreditOperation]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo! - """ - The number of the company credit operations matching the specified filter. - """ - total_count: Int -} - -"""Contains details about a single company credit operation.""" -type CompanyCreditOperation { - """The amount of the company credit operation.""" - amount: Money - """The credit balance as a result of the operation.""" - balance: CompanyCredit! - """ - The purchase order number associated with the company credit operation. - """ - custom_reference_number: String - """The date the operation occurred.""" - date: String! - """The type of the company credit operation.""" - type: CompanyCreditOperationType! - """The company user that submitted the company credit operation.""" - updated_by: CompanyCreditOperationUser! -} - -""" -Defines the administrator or company user that submitted a company credit operation. -""" -type CompanyCreditOperationUser { - """The name of the company user submitting the company credit operation.""" - name: String! - """The type of the company user submitting the company credit operation.""" - type: CompanyCreditOperationUserType! -} - -"""Contains company credit balances and limits.""" -type CompanyCredit { - """ - The sum of the credit limit and the outstanding balance. If the company has exceeded the credit limit, the amount is as a negative value. - """ - available_credit: Money! - """The amount of credit extended to the company.""" - credit_limit: Money! - """ - The amount reimbursed, less the total due from all orders placed using the Payment on Account payment method. The amount can be a positive or negative value. - """ - outstanding_balance: Money! -} - -enum CompanyCreditOperationType { - ALLOCATION - UPDATE - PURCHASE - REIMBURSEMENT - REFUND - REVERT -} - -enum CompanyCreditOperationUserType { - CUSTOMER - ADMIN -} - -"""Defines a filter for narrowing the results of a credit history search.""" -input CompanyCreditHistoryFilterInput { - """ - The purchase order number associated with the company credit operation. - """ - custom_reference_number: String - """The type of the company credit operation.""" - operation_type: CompanyCreditOperationType - """The name of the person submitting the company credit operation.""" - updated_by: String -} - -"""Contains the result of the `subscribeEmailToNewsletter` operation.""" -type SubscribeEmailToNewsletterOutput { - """The status of the subscription request.""" - status: SubscriptionStatusesEnum -} - -"""Indicates the status of the request.""" -enum SubscriptionStatusesEnum { - NOT_ACTIVE - SUBSCRIBED - UNSUBSCRIBED - UNCONFIRMED -} - -type CancellationReason { - description: String! -} - -"""Defines the order to cancel.""" -input CancelOrderInput { - """Order ID.""" - order_id: ID! - """Cancellation reason.""" - reason: String! -} - -"""Contains the updated customer order and error message if any.""" -type CancelOrderOutput { - """Error encountered while cancelling the order.""" - error: String - """Updated customer order.""" - order: CustomerOrder -} - -type UiAttributeTypePageBuilder implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Gets the payment SDK URLs and values""" -type GetPaymentSDKOutput { - """The payment SDK parameters""" - sdkParams: [PaymentSDKParamsItem] -} - -type PaymentSDKParamsItem { - """The payment method code used in the order""" - code: String - """The payment SDK parameters""" - params: [SDKParams] -} - -"""Contains the payment order details""" -type PaymentOrderOutput { - """PayPal order ID""" - id: String - """The order ID generated by Payment Services""" - mp_order_id: String - """Details about the card used on the order""" - payment_source_details: PaymentSourceDetails - """The status of the payment order""" - status: String -} - -type PaymentSourceDetails { - """Details about the card used on the order""" - card: Card -} - -type Card { - """Card bin details""" - bin_details: CardBin - """Expiration month of the card""" - card_expiry_month: String - """Expiration year of the card""" - card_expiry_year: String - """Last four digits of the card""" - last_digits: String - """Name on the card""" - name: String -} - -type CardBin { - """Card bin number""" - bin: String -} - -""" -Contains payment order details that are used while processing the payment order -""" -input CreatePaymentOrderInput { - """The customer cart ID""" - cartId: String! - """Defines the origin location for that payment request""" - location: PaymentLocation! - """The code for the payment method used in the order""" - methodCode: String! - """The identifiable payment source for the payment method""" - paymentSource: String! - """Indicates whether the payment information should be vaulted""" - vaultIntent: Boolean -} - -"""Synchronizes the payment order details""" -input SyncPaymentOrderInput { - """The customer cart ID""" - cartId: String! - """PayPal order ID""" - id: String! -} - -""" -Contains payment order details that are used while processing the payment order -""" -type CreatePaymentOrderOutput { - """The amount of the payment order""" - amount: Float - """The currency of the payment order""" - currency_code: String - """PayPal order ID""" - id: String - """The order ID generated by Payment Services""" - mp_order_id: String - """The status of the payment order""" - status: String -} - -"""Defines the origin location for that payment request""" -enum PaymentLocation { - PRODUCT_DETAIL - MINICART - CART - CHECKOUT - ADMIN -} - -"""Retrieves the payment configuration for a given location""" -type PaymentConfigOutput { - """ApplePay payment method configuration""" - apple_pay: ApplePayConfig - """GooglePay payment method configuration""" - google_pay: GooglePayConfig - """Hosted fields payment method configuration""" - hosted_fields: HostedFieldsConfig - """Smart Buttons payment method configuration""" - smart_buttons: SmartButtonsConfig -} - -""" -Contains payment fields that are common to all types of payment methods. -""" -interface PaymentConfigItem { - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type PaymentCommonConfig implements PaymentConfigItem { - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type HostedFieldsConfig implements PaymentConfigItem { - """Vault payment method code""" - cc_vault_code: String - """The payment method code as defined in the payment gateway""" - code: String - """Card vault enabled""" - is_vault_enabled: Boolean - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The payment source for the payment method""" - payment_source: String - """Card and bin details required""" - requires_card_details: Boolean - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """Whether 3DS is activated; true if 3DS mode is not OFF.""" - three_ds: Boolean @deprecated(reason: "Use 'three_ds_mode' instead.") - """3DS mode""" - three_ds_mode: ThreeDSMode - """The name displayed for the payment method""" - title: String -} - -"""3D Secure mode.""" -enum ThreeDSMode { - OFF - SCA_WHEN_REQUIRED - SCA_ALWAYS -} - -type SmartButtonsConfig implements PaymentConfigItem { - """The styles for the PayPal Smart Button configuration""" - button_styles: ButtonStyles - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether to display the PayPal Pay Later message""" - display_message: Boolean - """Indicates whether to display Venmo""" - display_venmo: Boolean - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Contains details about the styles for the PayPal Pay Later message""" - message_styles: MessageStyles - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type ApplePayConfig implements PaymentConfigItem { - """The styles for the ApplePay Smart Button configuration""" - button_styles: ButtonStyles - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The payment source for the payment method""" - payment_source: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type GooglePayConfig implements PaymentConfigItem { - """The styles for the GooglePay Button configuration""" - button_styles: GooglePayButtonStyles - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The payment source for the payment method""" - payment_source: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """3DS mode""" - three_ds_mode: ThreeDSMode - """The name displayed for the payment method""" - title: String -} - -type ButtonStyles { - """The button color""" - color: String - """The button height in pixels""" - height: Int - """The button label""" - label: String - """The button layout""" - layout: String - """The button shape""" - shape: String - """Indicates whether the tagline is displayed""" - tagline: Boolean - """ - Defines if the button uses default height. If the value is false, the value of height is used - """ - use_default_height: Boolean -} - -type GooglePayButtonStyles { - """The button color""" - color: String - """The button height in pixels""" - height: Int - """The button type""" - type: String -} - -type MessageStyles { - """The message layout""" - layout: String - """The message logo""" - logo: MessageStyleLogo -} - -type MessageStyleLogo { - """The type of logo for the PayPal Pay Later messaging""" - type: String -} - -"""Defines the name and value of a SDK parameter""" -type SDKParams { - """The name of the SDK parameter""" - name: String - """The value of the SDK parameter""" - value: String -} - -"""Vault payment inputs""" -input VaultMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String - """The public hash of the token.""" - public_hash: String -} - -"""Smart button payment inputs""" -input SmartButtonMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Apple Pay inputs""" -input ApplePayMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Google Pay inputs""" -input GooglePayMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Hosted Fields payment inputs""" -input HostedFieldsInput { - """Card bin number""" - cardBin: String - """Expiration month of the card""" - cardExpiryMonth: String - """Expiration year of the card""" - cardExpiryYear: String - """Last four digits of the card""" - cardLast4: String - """Name on the card""" - holderName: String - """ - Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the Payment Services payment integration. - """ - is_active_payment_token_enabler: Boolean - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Describe the variables needed to create a vault card setup token""" -input CreateVaultCardSetupTokenInput { - """The setup token information""" - setup_token: VaultSetupTokenInput! - """The 3DS mode""" - three_ds_mode: ThreeDSMode -} - -"""The payment source information""" -input VaultSetupTokenInput { - """The payment source information""" - payment_source: PaymentSourceInput! -} - -"""The payment source information""" -input PaymentSourceInput { - """The card payment source information""" - card: CardPaymentSourceInput! -} - -"""The card payment source information""" -input CardPaymentSourceInput { - """The billing address of the card""" - billing_address: BillingAddressPaymentSourceInput! - """The name on the cardholder""" - name: String -} - -"""The billing address information""" -input BillingAddressPaymentSourceInput { - """The first line of the address""" - address_line_1: String - """The second line of the address""" - address_line_2: String - """The city of the address""" - city: String - """The country of the address""" - country_code: String! - """The postal code of the address""" - postal_code: String - """The region of the address""" - region: String -} - -"""The setup token id information""" -type CreateVaultCardSetupTokenOutput { - """The setup token id""" - setup_token: String! -} - -"""Describe the variables needed to create a vault payment token""" -input CreateVaultCardPaymentTokenInput { - """Description of the vaulted card""" - card_description: String - """The setup token obtained by the createVaultCardSetupToken endpoint""" - setup_token_id: String! -} - -"""The vault token id and information about the payment source""" -type CreateVaultCardPaymentTokenOutput { - """The payment source information""" - payment_source: PaymentSourceOutput! - """The vault payment token information""" - vault_token_id: String! -} - -"""The payment source information""" -type PaymentSourceOutput { - """The card payment source information""" - card: CardPaymentSourceOutput! -} - -"""The card payment source information""" -type CardPaymentSourceOutput { - """The brand of the card""" - brand: String - """The expiry of the card""" - expiry: String - """The last digits of the card""" - last_digits: String -} - -"""Retrieves the vault configuration""" -type VaultConfigOutput { - """Credit card vault method configuration""" - credit_card: VaultCreditCardConfig -} - -type VaultCreditCardConfig { - """Is vault enabled""" - is_vault_enabled: Boolean - """The parameters required to load the Paypal JS SDK""" - sdk_params: [SDKParams] - """3DS mode""" - three_ds_mode: ThreeDSMode -} - -""" -Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods. -""" -input PaypalExpressTokenInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! - """The payment method code.""" - code: String! - """ - Indicates whether the buyer selected the quick checkout button. The default value is false. - """ - express_button: Boolean - """ - A set of relative URLs that PayPal uses in response to various actions during the authorization process. - """ - urls: PaypalExpressUrlsInput! - """ - Indicates whether the buyer clicked the PayPal credit button. The default value is false. - """ - use_paypal_credit: Boolean -} - -"""Deprecated. Use `PaypalExpressTokenOutput` instead.""" -type PaypalExpressToken { - """ - A set of URLs that allow the buyer to authorize payment and adjust checkout details. - """ - paypal_urls: PaypalExpressUrlList @deprecated(reason: "Use `PaypalExpressTokenOutput.paypal_urls` instead.") - """The token returned by PayPal.""" - token: String @deprecated(reason: "Use `PaypalExpressTokenOutput.token` instead.") -} - -""" -Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods. -""" -type PaypalExpressTokenOutput { - """ - A set of URLs that allow the buyer to authorize payment and adjust checkout details. - """ - paypal_urls: PaypalExpressUrlList - """The token returned by PayPal.""" - token: String -} - -""" -Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods. -""" -type PayflowLinkToken { - """The mode for the Payflow transaction.""" - mode: PayflowLinkMode - """The PayPal URL used for requesting a Payflow form.""" - paypal_url: String - """The secure token generated by PayPal.""" - secure_token: String - """The secure token ID generated by PayPal.""" - secure_token_id: String -} - -""" -Contains the secure URL used for the Payments Pro Hosted Solution payment method. -""" -type HostedProUrl { - """The secure URL generated by PayPal.""" - secure_form_url: String -} - -""" -Contains the required input to request the secure URL for Payments Pro Hosted Solution payment. -""" -input HostedProUrlInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! -} - -""" -Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method. -""" -input HostedProInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. For example, if the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the final confirmation page that PayPal redirects to upon payment success. For example, if the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! -} - -""" -Contains required input for Express Checkout and Payments Standard payments. -""" -input PaypalExpressInput { - """The unique ID of the PayPal user.""" - payer_id: String! - """The token returned by the `createPaypalExpressToken` mutation.""" - token: String! -} - -"""Contains required input for Payflow Express Checkout payments.""" -input PayflowExpressInput { - """The unique ID of the PayPal user.""" - payer_id: String! - """The token returned by the createPaypalExpressToken mutation.""" - token: String! -} - -""" -Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods. -""" -input PaypalExpressUrlsInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the page that PayPal redirects to when the payment has been put on hold for additional review. This condition mostly applies to ACH transactions, and is not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success_pending.html, the relative URL is paypal/action/success_pending.html. - """ - pending_url: String - """ - The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! - """ - The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. Not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success.html, the relative URL is paypal/action/success.html. - """ - success_url: String -} - -""" -Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions. -""" -type PaypalExpressUrlList { - """The PayPal URL that allows the buyer to edit their checkout details.""" - edit: String - """The URL to the PayPal login page.""" - start: String -} - -""" -A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods. -""" -input PayflowLinkInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. - """ - error_url: String! - """ - The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! -} - -""" -Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods. -""" -input PayflowLinkTokenInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! -} - -""" -Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods. -""" -enum PayflowLinkMode { - TEST - LIVE -} - -""" -Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods. -""" -input PayflowProTokenInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! - """A set of relative URLs that PayPal uses for callback.""" - urls: PayflowProUrlInput! -} - -"""Contains input for the Payflow Pro and Payments Pro payment methods.""" -input PayflowProInput { - """Required input for credit card related information.""" - cc_details: CreditCardDetailsInput! - """ - Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the PayPal Payflow Pro payment integration. - """ - is_active_payment_token_enabler: Boolean -} - -"""Required fields for Payflow Pro and Payments Pro credit card payments.""" -input CreditCardDetailsInput { - """The credit card expiration month.""" - cc_exp_month: Int! - """The credit card expiration year.""" - cc_exp_year: Int! - """The last 4 digits of the credit card.""" - cc_last_4: Int! - """The credit card type.""" - cc_type: String! -} - -""" -Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods. -""" -input PayflowProUrlInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. - """ - error_url: String! - """ - The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! -} - -""" -Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. -""" -type PayflowProToken { - """ - The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. - """ - response_message: String! - """A non-zero value if any errors occurred.""" - result: Int! - """ - The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. - """ - result_code: Int! - """A secure token generated by PayPal.""" - secure_token: String! - """A secure token ID generated by PayPal.""" - secure_token_id: String! -} - -""" -Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. -""" -type CreatePayflowProTokenOutput { - """ - The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. - """ - response_message: String! - """A non-zero value if any errors occurred.""" - result: Int! - """ - The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. - """ - result_code: Int! - """A secure token generated by PayPal.""" - secure_token: String! - """A secure token ID generated by PayPal.""" - secure_token_id: String! -} - -""" -Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods. -""" -input PayflowProResponseInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! - """The payload returned from PayPal.""" - paypal_payload: String! -} - -type PayflowProResponseOutput { - """The cart with the updated selected payment method.""" - cart: Cart! -} - -"""Contains required input for payment methods with Vault support.""" -input VaultTokenInput { - """The public hash of the payment token.""" - public_hash: String! -} - -"""Contains the comment to be added to a purchase order.""" -input AddPurchaseOrderCommentInput { - """Comment text.""" - comment: String! - """The unique ID of a purchase order.""" - purchase_order_uid: ID! -} - -"""Contains the successfully added comment.""" -type AddPurchaseOrderCommentOutput { - """The purchase order comment.""" - comment: PurchaseOrderComment! -} - -"""Contains details about a purchase order.""" -type PurchaseOrder { - """The approval flows for each applied rules.""" - approval_flow: [PurchaseOrderRuleApprovalFlow]! - """ - Purchase order actions available to the customer. Can be used to display action buttons on the client. - """ - available_actions: [PurchaseOrderAction]! - """The set of comments applied to the purchase order.""" - comments: [PurchaseOrderComment]! - """The date the purchase order was created.""" - created_at: String! - """The company user who created the purchase order.""" - created_by: Customer - """The log of the events related to the purchase order.""" - history_log: [PurchaseOrderHistoryItem]! - """The purchase order number.""" - number: String! - """The reference to the order placed based on the purchase order.""" - order: CustomerOrder - """The quote related to the purchase order.""" - quote: Cart - """The current status of the purchase order.""" - status: PurchaseOrderStatus! - """A unique identifier for the purchase order.""" - uid: ID! - """The date the purchase order was last updated.""" - updated_at: String! -} - -"""Defines which purchase orders to act on.""" -input PurchaseOrdersActionInput { - """An array of purchase order UIDs.""" - purchase_order_uids: [ID]! -} - -"""Returns a list of updated purchase orders and any error messages.""" -type PurchaseOrdersActionOutput { - """An array of error messages encountered while performing the operation.""" - errors: [PurchaseOrderActionError]! - """A list of purchase orders.""" - purchase_orders: [PurchaseOrder]! -} - -"""Contains details about a failed action.""" -type PurchaseOrderActionError { - """The returned error message.""" - message: String! - """The error type.""" - type: PurchaseOrderErrorType! -} - -enum PurchaseOrderErrorType { - NOT_FOUND - OPERATION_NOT_APPLICABLE - COULD_NOT_SAVE - NOT_VALID_DATA - UNDEFINED -} - -enum PurchaseOrderAction { - REJECT - CANCEL - VALIDATE - APPROVE - PLACE_ORDER -} - -enum PurchaseOrderStatus { - PENDING - APPROVAL_REQUIRED - APPROVED - ORDER_IN_PROGRESS - ORDER_PLACED - ORDER_FAILED - REJECTED - CANCELED - APPROVED_PENDING_PAYMENT -} - -"""Contains details about a comment.""" -type PurchaseOrderComment { - """The user who left the comment.""" - author: Customer - """The date and time when the comment was created.""" - created_at: String! - """The text of the comment.""" - text: String! - """A unique identifier of the comment.""" - uid: ID! -} - -"""Contains details about a status change.""" -type PurchaseOrderHistoryItem { - """The activity type of the event.""" - activity: String! - """The date and time when the event happened.""" - created_at: String! - """The message representation of the event.""" - message: String! - """A unique identifier of the purchase order history item.""" - uid: ID! -} - -"""Defines the criteria to use to filter the list of purchase orders.""" -input PurchaseOrdersFilterInput { - """Include only purchase orders made by subordinate company users.""" - company_purchase_orders: Boolean - """Filter by the creation date of the purchase order.""" - created_date: FilterRangeTypeInput - """ - Include only purchase orders that are waiting for the customer’s approval. - """ - require_my_approval: Boolean - """Filter by the status of the purchase order.""" - status: PurchaseOrderStatus -} - -"""Contains a list of purchase orders.""" -type PurchaseOrders { - """Purchase orders matching the search criteria.""" - items: [PurchaseOrder]! - """Page information of search result's current page.""" - page_info: SearchResultPageInfo - """Total number of purchase orders found matching the search criteria.""" - total_count: Int -} - -"""Specifies the quote to be converted to a purchase order.""" -input PlacePurchaseOrderInput { - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Specifies the purchase order to convert to an order.""" -input PlaceOrderForPurchaseOrderInput { - """The unique ID of a purchase order.""" - purchase_order_uid: ID! -} - -"""Contains the results of the request to place a purchase order.""" -type PlacePurchaseOrderOutput { - """Placed purchase order.""" - purchase_order: PurchaseOrder! -} - -"""Contains the results of the request to place an order.""" -type PlaceOrderForPurchaseOrderOutput { - """Placed order.""" - order: CustomerOrder! -} - -"""Defines the purchase order and cart to act on.""" -input AddPurchaseOrderItemsToCartInput { - """The ID to assign to the cart.""" - cart_id: String! - """Purchase order unique ID.""" - purchase_order_uid: ID! - """Replace existing cart or merge items.""" - replace_existing_cart_items: Boolean! -} - -"""Defines the changes to be made to an approval rule.""" -input UpdatePurchaseOrderApprovalRuleInput { - """ - An updated list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. - """ - applies_to: [ID] - """ - An updated list of B2B user roles that can approve this purchase order approval rule. - """ - approvers: [ID] - """The updated condition of the purchase order approval rule.""" - condition: CreatePurchaseOrderApprovalRuleConditionInput - """The updated approval rule description.""" - description: String - """The updated approval rule name.""" - name: String - """The updated status of the purchase order approval rule.""" - status: PurchaseOrderApprovalRuleStatus - """Unique identifier for the purchase order approval rule.""" - uid: ID! -} - -"""Defines a new purchase order approval rule.""" -input PurchaseOrderApprovalRuleInput { - """ - A list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. - """ - applies_to: [ID]! - """ - A list of B2B user roles that can approve this purchase order approval rule. - """ - approvers: [ID]! - """The condition of the purchase order approval rule.""" - condition: CreatePurchaseOrderApprovalRuleConditionInput! - """A summary of the purpose of the purchase order approval rule.""" - description: String - """The purchase order approval rule name.""" - name: String! - """The status of the purchase order approval rule.""" - status: PurchaseOrderApprovalRuleStatus! -} - -"""Defines a set of conditions that apply to a rule.""" -input CreatePurchaseOrderApprovalRuleConditionInput { - """ - The amount to be compared in a purchase order approval rule. This field is mutually exclusive with condition quantity. - """ - amount: CreatePurchaseOrderApprovalRuleConditionAmountInput - """The type of approval rule.""" - attribute: PurchaseOrderApprovalRuleType! - """Defines how to evaluate an amount or quantity in a purchase order.""" - operator: PurchaseOrderApprovalRuleConditionOperator! - """ - The quantity to be compared in a purchase order approval rule. This field is mutually exclusive with condition amount. - """ - quantity: Int -} - -"""Specifies the amount and currency to evaluate.""" -input CreatePurchaseOrderApprovalRuleConditionAmountInput { - """Purchase order approval rule condition amount currency.""" - currency: CurrencyEnum! - """Purchase order approval rule condition amount value.""" - value: Float! -} - -"""Contains metadata that can be used to render rule edit forms.""" -type PurchaseOrderApprovalRuleMetadata { - """A list of B2B user roles that the rule can be applied to.""" - available_applies_to: [CompanyRole]! - """ - A list of currencies that can be used to create approval rules based on amounts, for example shipping cost rules. - """ - available_condition_currencies: [AvailableCurrency]! - """ - A list of B2B user roles that can be specified as approvers for the approval rules. - """ - available_requires_approval_from: [CompanyRole]! -} - -""" -Defines the code and symbol of a currency that can be used for purchase orders. -""" -type AvailableCurrency { - """3-letter currency code, for example USD.""" - code: CurrencyEnum! - """Currency symbol, for example $.""" - symbol: String! -} - -"""Contains the approval rules that the customer can see.""" -type PurchaseOrderApprovalRules { - """A list of purchase order approval rules visible to the customer.""" - items: [PurchaseOrderApprovalRule]! - """Result pagination details.""" - page_info: SearchResultPageInfo - """ - The total number of purchase order approval rules visible to the customer. - """ - total_count: Int -} - -"""Contains details about a purchase order approval rule.""" -type PurchaseOrderApprovalRule { - """ - The name of the user(s) affected by the the purchase order approval rule. - """ - applies_to_roles: [CompanyRole]! - """ - The name of the user who needs to approve purchase orders that trigger the approval rule. - """ - approver_roles: [CompanyRole]! - """Condition which triggers the approval rule.""" - condition: PurchaseOrderApprovalRuleConditionInterface - """The date the purchase order rule was created.""" - created_at: String! - """The name of the user who created the purchase order approval rule.""" - created_by: String! - """Description of the purchase order approval rule.""" - description: String - """The name of the purchase order approval rule.""" - name: String! - """The status of the purchase order approval rule.""" - status: PurchaseOrderApprovalRuleStatus! - """The unique identifier for the purchase order approval rule.""" - uid: ID! - """The date the purchase order rule was last updated.""" - updated_at: String! -} - -"""Purchase order rule condition details.""" -interface PurchaseOrderApprovalRuleConditionInterface { - """The type of purchase order approval rule.""" - attribute: PurchaseOrderApprovalRuleType - """The operator to be used for evaluating the approval rule condition.""" - operator: PurchaseOrderApprovalRuleConditionOperator -} - -""" -Contains approval rule condition details, including the amount to be evaluated. -""" -type PurchaseOrderApprovalRuleConditionAmount implements PurchaseOrderApprovalRuleConditionInterface { - """ - The amount to be be used for evaluation of the approval rule condition. - """ - amount: Money! - """The type of purchase order approval rule.""" - attribute: PurchaseOrderApprovalRuleType - """The operator to be used for evaluating the approval rule condition.""" - operator: PurchaseOrderApprovalRuleConditionOperator -} - -""" -Contains approval rule condition details, including the quantity to be evaluated. -""" -type PurchaseOrderApprovalRuleConditionQuantity implements PurchaseOrderApprovalRuleConditionInterface { - """The type of purchase order approval rule.""" - attribute: PurchaseOrderApprovalRuleType - """The operator to be used for evaluating the approval rule condition.""" - operator: PurchaseOrderApprovalRuleConditionOperator - """The quantity to be used for evaluation of the approval rule condition.""" - quantity: Int -} - -enum PurchaseOrderApprovalRuleConditionOperator { - MORE_THAN - LESS_THAN - MORE_THAN_OR_EQUAL_TO - LESS_THAN_OR_EQUAL_TO -} - -enum PurchaseOrderApprovalRuleStatus { - ENABLED - DISABLED -} - -enum PurchaseOrderApprovalRuleType { - GRAND_TOTAL - SHIPPING_INCL_TAX - NUMBER_OF_SKUS -} - -""" -Contains details about approval roles applied to the purchase order and status changes. -""" -type PurchaseOrderRuleApprovalFlow { - """The approval flow event related to the rule.""" - events: [PurchaseOrderApprovalFlowEvent]! - """The name of the applied rule.""" - rule_name: String! -} - -""" -Contains details about a single event in the approval flow of the purchase order. -""" -type PurchaseOrderApprovalFlowEvent { - """A formatted message.""" - message: String - """The approver name.""" - name: String - """The approver role.""" - role: String - """The status related to the event.""" - status: PurchaseOrderApprovalFlowItemStatus - """The date and time the event was updated.""" - updated_at: String -} - -enum PurchaseOrderApprovalFlowItemStatus { - PENDING - APPROVED - REJECTED -} - -"""Defines the purchase orders to be validated.""" -input ValidatePurchaseOrdersInput { - """An array of the purchase order IDs.""" - purchase_order_uids: [ID]! -} - -"""Contains the results of validation attempts.""" -type ValidatePurchaseOrdersOutput { - """An array of error messages encountered while performing the operation.""" - errors: [ValidatePurchaseOrderError]! - """An array of the purchase orders in the request.""" - purchase_orders: [PurchaseOrder]! -} - -"""Contains details about a failed validation attempt.""" -type ValidatePurchaseOrderError { - """The returned error message.""" - message: String! - """Error type.""" - type: ValidatePurchaseOrderErrorType! -} - -enum ValidatePurchaseOrderErrorType { - NOT_FOUND - OPERATION_NOT_APPLICABLE - COULD_NOT_SAVE - NOT_VALID_DATA - UNDEFINED -} - -"""Specifies the IDs of the approval rules to delete.""" -input DeletePurchaseOrderApprovalRuleInput { - """An array of purchase order approval rule IDs.""" - approval_rule_uids: [ID]! -} - -""" -Contains any errors encountered while attempting to delete approval rules. -""" -type DeletePurchaseOrderApprovalRuleOutput { - """An array of error messages encountered while performing the operation.""" - errors: [DeletePurchaseOrderApprovalRuleError]! -} - -""" -Contains details about an error that occurred when deleting an approval rule . -""" -type DeletePurchaseOrderApprovalRuleError { - """The text of the error message.""" - message: String - """The error type.""" - type: DeletePurchaseOrderApprovalRuleErrorType -} - -enum DeletePurchaseOrderApprovalRuleErrorType { - UNDEFINED - NOT_FOUND -} - -"""Assigns a specific `cart_id` to the empty cart.""" -input ClearCartInput { - """The unique ID of a `Cart` object.""" - uid: ID! -} - -"""Output of the request to clear the customer cart.""" -type ClearCartOutput { - """The cart after clear cart items.""" - cart: Cart - """An array of errors encountered while clearing the cart item""" - errors: [ClearCartError] -} - -"""Contains details about errors encountered when a customer clear cart.""" -type ClearCartError { - """A localized error message""" - message: String! - """A cart-specific error type.""" - type: ClearCartErrorType! -} - -enum ClearCartErrorType { - NOT_FOUND - UNAUTHORISED - INACTIVE - UNDEFINED -} - -enum ReCaptchaFormEnum { - PLACE_ORDER - CONTACT - CUSTOMER_LOGIN - CUSTOMER_FORGOT_PASSWORD - CUSTOMER_CREATE - CUSTOMER_EDIT - NEWSLETTER - PRODUCT_REVIEW - SENDFRIEND - BRAINTREE -} - -"""Contains reCAPTCHA V3-Invisible configuration details.""" -type ReCaptchaConfigurationV3 { - """The position of the invisible reCAPTCHA badge on each page.""" - badge_position: String! - """The message that appears to the user if validation fails.""" - failure_message: String! - """ - A list of forms on the storefront that have been configured to use reCAPTCHA V3. - """ - forms: [ReCaptchaFormEnum]! - """Return whether recaptcha is enabled or not""" - is_enabled: Boolean! - """ - A two-character code that specifies the language that is used for Google reCAPTCHA text and messaging. - """ - language_code: String - """ - The minimum score that identifies a user interaction as a potential risk. - """ - minimum_score: Float! - """ - The website key generated when the Google reCAPTCHA account was registered. - """ - website_key: String! -} - -""" -Contains details about configurable products added to a requisition list. -""" -type ConfigurableRequisitionListItem implements RequisitionListItemInterface { - """Selected configurable options for an item in the requisition list.""" - configurable_options: [SelectedConfigurableOption] - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The quantity of the product added to the requisition list.""" - quantity: Float! - """The unique ID of an item in a requisition list.""" - uid: ID! -} - -"""Contains an array of product reviews.""" -type ProductReviews { - """An array of product reviews.""" - items: [ProductReview]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo! -} - -"""Contains details of a product review.""" -type ProductReview { - """The average of all ratings for this product.""" - average_rating: Float! - """The date the review was created.""" - created_at: String! - """The customer's nickname. Defaults to the customer name, if logged in.""" - nickname: String! - """The reviewed product.""" - product: ProductInterface! - """ - An array of ratings by rating category, such as quality, price, and value. - """ - ratings_breakdown: [ProductReviewRating]! - """The summary (title) of the review.""" - summary: String! - """The review text.""" - text: String! -} - -"""Contains data about a single aspect of a product review.""" -type ProductReviewRating { - """ - The label assigned to an aspect of a product that is being rated, such as quality or price. - """ - name: String! - """ - The rating value given by customer. By default, possible values range from 1 to 5. - """ - value: String! -} - -"""Contains an array of metadata about each aspect of a product review.""" -type ProductReviewRatingsMetadata { - """An array of product reviews sorted by position.""" - items: [ProductReviewRatingMetadata]! -} - -"""Contains details about a single aspect of a product review.""" -type ProductReviewRatingMetadata { - """An encoded rating ID.""" - id: String! - """ - The label assigned to an aspect of a product that is being rated, such as quality or price. - """ - name: String! - """List of product review ratings sorted by position.""" - values: [ProductReviewRatingValueMetadata]! -} - -"""Contains details about a single value in a product review.""" -type ProductReviewRatingValueMetadata { - """A ratings scale, such as the number of stars awarded.""" - value: String! - """An encoded rating value ID.""" - value_id: String! -} - -"""Contains the completed product review.""" -type CreateProductReviewOutput { - """Product review details.""" - review: ProductReview! -} - -"""Defines a new product review.""" -input CreateProductReviewInput { - """The customer's nickname. Defaults to the customer name, if logged in.""" - nickname: String! - """ - The ratings details by category. For example, Price: 5 stars, Quality: 4 stars, etc. - """ - ratings: [ProductReviewRatingInput]! - """The SKU of the reviewed product.""" - sku: String! - """The summary (title) of the review.""" - summary: String! - """The review text.""" - text: String! -} - -"""Contains the reviewer's rating for a single aspect of a review.""" -input ProductReviewRatingInput { - """An encoded rating ID.""" - id: String! - """An encoded rating value ID.""" - value_id: String! -} - -"""Contains details about a customer's reward points.""" -type RewardPoints { - """The current balance of reward points.""" - balance: RewardPointsAmount - """ - The balance history of reward points. If the ability for customers to view the balance history has been disabled in the Admin, this field will be set to null. - """ - balance_history: [RewardPointsBalanceHistoryItem] - """The current exchange rates for reward points.""" - exchange_rates: RewardPointsExchangeRates - """The subscription status of emails related to reward points.""" - subscription_status: RewardPointsSubscriptionStatus -} - -type RewardPointsAmount { - """The reward points amount in store currency.""" - money: Money! - """The reward points amount in points.""" - points: Float! -} - -""" -Lists the reward points exchange rates. The values depend on the customer group. -""" -type RewardPointsExchangeRates { - """How many points are earned for a given amount spent.""" - earning: RewardPointsRate - """ - How many points must be redeemed to get a given amount of currency discount at the checkout. - """ - redemption: RewardPointsRate -} - -"""Contains details about customer's reward points rate.""" -type RewardPointsRate { - """ - The money value for the exchange rate. For earnings, this is the amount spent to earn the specified points. For redemption, this is the amount of money the number of points represents. - """ - currency_amount: Float! - """ - The number of points for an exchange rate. For earnings, this is the number of points earned. For redemption, this is the number of points needed for redemption. - """ - points: Float! -} - -"""Indicates whether the customer subscribes to reward points emails.""" -type RewardPointsSubscriptionStatus { - """ - Indicates whether the customer subscribes to 'Reward points balance updates' emails. - """ - balance_updates: RewardPointsSubscriptionStatusesEnum! - """ - Indicates whether the customer subscribes to 'Reward points expiration notifications' emails. - """ - points_expiration_notifications: RewardPointsSubscriptionStatusesEnum! -} - -enum RewardPointsSubscriptionStatusesEnum { - SUBSCRIBED - NOT_SUBSCRIBED -} - -"""Contain details about the reward points transaction.""" -type RewardPointsBalanceHistoryItem { - """The award points balance after the completion of the transaction.""" - balance: RewardPointsAmount - """The reason the balance changed.""" - change_reason: String! - """The date of the transaction.""" - date: String! - """The number of points added or deducted in the transaction.""" - points_change: Float! -} - -"""Contains the customer cart.""" -type ApplyRewardPointsToCartOutput { - """The customer cart after reward points are applied.""" - cart: Cart! -} - -"""Contains the customer cart.""" -type RemoveRewardPointsFromCartOutput { - """The customer cart after reward points are removed.""" - cart: Cart! -} - -"""Contains information needed to start a return request.""" -input RequestReturnInput { - """ - Text the buyer entered that describes the reason for the refund request. - """ - comment_text: String - """ - The email address the buyer enters to receive notifications about the status of the return. - """ - contact_email: String - """An array of items to be returned.""" - items: [RequestReturnItemInput]! - """The unique ID for a `Order` object.""" - order_uid: ID! -} - -"""Contains details about an item to be returned.""" -input RequestReturnItemInput { - """Details about a custom attribute that was entered.""" - entered_custom_attributes: [EnteredCustomAttributeInput] - """The unique ID for a `OrderItemInterface` object.""" - order_item_uid: ID! - """The quantity of the item to be returned.""" - quantity_to_return: Float! - """ - An array of selected custom option IDs associated with the item to be returned. For example, the IDs for the selected color and size of a configurable product. - """ - selected_custom_attributes: [SelectedCustomAttributeInput] -} - -"""Contains details about a custom text attribute that the buyer entered.""" -input EnteredCustomAttributeInput { - """A string that identifies the entered custom attribute.""" - attribute_code: String! - """The text or other entered value.""" - value: String! -} - -"""Contains details about an attribute the buyer selected.""" -input SelectedCustomAttributeInput { - """A string that identifies the selected attribute.""" - attribute_code: String! - """ - The unique ID for a `CustomAttribute` object of a selected custom attribute. - """ - value: ID! -} - -"""Contains the response to a return request.""" -type RequestReturnOutput { - """Details about a single return request.""" - return: Return - """An array of return requests.""" - returns( - """ - Specifies the maximum number of results to return at once. The default is 20. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default is 1.""" - currentPage: Int = 1 - ): Returns -} - -"""Defines a return comment.""" -input AddReturnCommentInput { - """The text added to the return request.""" - comment_text: String! - """The unique ID for a `Return` object.""" - return_uid: ID! -} - -"""Contains details about the return request.""" -type AddReturnCommentOutput { - """The modified return.""" - return: Return -} - -"""Defines tracking information to be added to the return.""" -input AddReturnTrackingInput { - """The unique ID for a `ReturnShippingCarrier` object.""" - carrier_uid: ID! - """The unique ID for a `Returns` object.""" - return_uid: ID! - """The shipping tracking number for this return request.""" - tracking_number: String! -} - -"""Contains the response after adding tracking information.""" -type AddReturnTrackingOutput { - """Details about the modified return.""" - return: Return - """Details about shipping for a return.""" - return_shipping_tracking: ReturnShippingTracking -} - -"""Defines the tracking information to delete.""" -input RemoveReturnTrackingInput { - """The unique ID for a `ReturnShippingTracking` object.""" - return_shipping_tracking_uid: ID! -} - -"""Contains the response after deleting tracking information.""" -type RemoveReturnTrackingOutput { - """Contains details about the modified return.""" - return: Return -} - -"""Contains a list of customer return requests.""" -type Returns { - """A list of return requests.""" - items: [Return] - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The total number of return requests.""" - total_count: Int -} - -"""Contains details about a return.""" -type Return { - """A list of shipping carriers available for returns.""" - available_shipping_carriers: [ReturnShippingCarrier] - """A list of comments posted for the return request.""" - comments: [ReturnComment] - """The date the return was requested.""" - created_at: String! - """Data from the customer who created the return request.""" - customer: ReturnCustomer! - """A list of items being returned.""" - items: [ReturnItem] - """A human-readable return number.""" - number: String! - """The order associated with the return.""" - order: CustomerOrder - """Shipping information for the return.""" - shipping: ReturnShipping - """The status of the return request.""" - status: ReturnStatus - """The unique ID for a `Return` object.""" - uid: ID! -} - -"""The customer information for the return.""" -type ReturnCustomer { - """The email address of the customer.""" - email: String! - """The first name of the customer.""" - firstname: String - """The last name of the customer.""" - lastname: String -} - -"""Contains details about a product being returned.""" -type ReturnItem { - """Return item custom attributes that are visible on the storefront.""" - custom_attributes: [ReturnCustomAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") - """Custom attributes that are visible on the storefront.""" - custom_attributesV2: [AttributeValueInterface] - """ - Provides access to the product being returned, including information about selected and entered options. - """ - order_item: OrderItemInterface! - """The quantity of the item the merchant authorized to be returned.""" - quantity: Float! - """The quantity of the item requested to be returned.""" - request_quantity: Float! - """The return status of the item.""" - status: ReturnItemStatus! - """The unique ID for a `ReturnItem` object.""" - uid: ID! -} - -"""Return Item attribute metadata.""" -type ReturnItemAttributeMetadata implements CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """The template used for the input of the attribute (e.g., 'date').""" - input_filter: InputFilterEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """The number of lines of the attribute value.""" - multiline_count: Int - """Attribute options.""" - options: [CustomAttributeOptionInterface]! - """The position of the attribute in the form.""" - sort_order: Int - """The validation rules of the attribute value.""" - validate_rules: [ValidationRule] -} - -"""Contains details about a `ReturnCustomerAttribute` object.""" -type ReturnCustomAttribute { - """A description of the attribute.""" - label: String! - """The unique ID for a `ReturnCustomAttribute` object.""" - uid: ID! - """A JSON-encoded value of the attribute.""" - value: String! -} - -"""Contains details about a return comment.""" -type ReturnComment { - """The name or author who posted the comment.""" - author_name: String! - """The date and time the comment was posted.""" - created_at: String! - """The contents of the comment.""" - text: String! - """The unique ID for a `ReturnComment` object.""" - uid: ID! -} - -"""Contains details about the return shipping address.""" -type ReturnShipping { - """The merchant-defined return shipping address.""" - address: ReturnShippingAddress - """ - The unique ID for a `ReturnShippingTracking` object. If a single UID is specified, the array contains a single tracking record. Otherwise, array contains all tracking information. - """ - tracking(uid: ID): [ReturnShippingTracking] -} - -"""Contains details about the carrier on a return.""" -type ReturnShippingCarrier { - """A description of the shipping carrier.""" - label: String! - """ - The unique ID for a `ReturnShippingCarrier` object assigned to the shipping carrier. - """ - uid: ID! -} - -"""Contains shipping and tracking details.""" -type ReturnShippingTracking { - """Contains details of a shipping carrier.""" - carrier: ReturnShippingCarrier! - """Details about the status of a shipment.""" - status: ReturnShippingTrackingStatus - """A tracking number assigned by the carrier.""" - tracking_number: String! - """ - The unique ID for a `ReturnShippingTracking` object assigned to the tracking item. - """ - uid: ID! -} - -"""Contains the status of a shipment.""" -type ReturnShippingTrackingStatus { - """Text that describes the status.""" - text: String! - """Indicates whether the status type is informational or an error.""" - type: ReturnShippingTrackingStatusType! -} - -enum ReturnShippingTrackingStatusType { - INFORMATION - ERROR -} - -""" -Contains details about the shipping address used for receiving returned items. -""" -type ReturnShippingAddress { - """The city for product returns.""" - city: String! - """The merchant's contact person.""" - contact_name: String - """An object that defines the country for product returns.""" - country: Country! - """The postal code for product returns.""" - postcode: String! - """An object that defines the state or province for product returns.""" - region: Region! - """The street address for product returns.""" - street: [String]! - """The telephone number for product returns.""" - telephone: String -} - -enum ReturnStatus { - PENDING - AUTHORIZED - PARTIALLY_AUTHORIZED - RECEIVED - PARTIALLY_RECEIVED - APPROVED - PARTIALLY_APPROVED - REJECTED - PARTIALLY_REJECTED - DENIED - PROCESSED_AND_CLOSED - CLOSED -} - -enum ReturnItemStatus { - PENDING - AUTHORIZED - RECEIVED - APPROVED - REJECTED - DENIED -} - -"""Defines the wish list visibility types.""" -enum WishlistVisibilityEnum { - PUBLIC - PRIVATE -} - -"""Contains the wish list.""" -type CreateWishlistOutput { - """The newly-created wish list""" - wishlist: Wishlist! -} - -""" -Contains the status of the request to delete a wish list and an array of the customer's remaining wish lists. -""" -type DeleteWishlistOutput { - """Indicates whether the wish list was deleted.""" - status: Boolean! - """A list of undeleted wish lists.""" - wishlists: [Wishlist]! -} - -"""Contains the source and target wish lists after copying products.""" -type CopyProductsBetweenWishlistsOutput { - """The destination wish list containing the copied products.""" - destination_wishlist: Wishlist! - """The wish list that the products were copied from.""" - source_wishlist: Wishlist! - """An array of errors encountered while copying products in a wish list.""" - user_errors: [WishListUserInputError]! -} - -"""Specifies the IDs of items to copy and their quantities.""" -input WishlistItemCopyInput { - """ - The quantity of this item to copy to the destination wish list. This value can't be greater than the quantity in the source wish list. - """ - quantity: Float - """The unique ID of the `WishlistItemInterface` object to be copied.""" - wishlist_item_id: ID! -} - -"""Specifies the IDs of the items to move and their quantities.""" -input WishlistItemMoveInput { - """ - The quantity of this item to move to the destination wish list. This value can't be greater than the quantity in the source wish list. - """ - quantity: Float - """The unique ID of the `WishlistItemInterface` object to be moved.""" - wishlist_item_id: ID! -} - -"""Defines the name and visibility of a new wish list.""" -input CreateWishlistInput { - """The name of the new wish list.""" - name: String! - """Indicates whether the wish list is public or private.""" - visibility: WishlistVisibilityEnum! -} - -"""Contains the name and visibility of an updated wish list.""" -type UpdateWishlistOutput { - """The wish list name.""" - name: String! - """The unique ID of a `Wishlist` object.""" - uid: ID! - """Indicates whether the wish list is public or private.""" - visibility: WishlistVisibilityEnum! -} - -"""Contains the source and target wish lists after moving products.""" -type MoveProductsBetweenWishlistsOutput { - """ - The destination wish list after receiving products moved from the source wish list. - """ - destination_wishlist: Wishlist! - """The source wish list after moving products from it.""" - source_wishlist: Wishlist! - """An array of errors encountered while moving products to a wish list.""" - user_errors: [WishListUserInputError]! -} - -type SearchTerm { - """Containes the popularity of the selected Search Term""" - popularity: Int - """Containes the query_text of the selected Search Term""" - query_text: String - """Containes the Url of the selected Search Term""" - redirect: String -} - -"""Defines the referenced product and the email sender and recipients.""" -input SendEmailToFriendInput { - """The ID of the product that the sender is referencing.""" - product_id: Int! - """An array containing information about each recipient.""" - recipients: [SendEmailToFriendRecipientInput]! - """Information about the customer and the content of the message.""" - sender: SendEmailToFriendSenderInput! -} - -"""Contains details about the sender.""" -input SendEmailToFriendSenderInput { - """The email address of the sender.""" - email: String! - """The text of the message to be sent.""" - message: String! - """The name of the sender.""" - name: String! -} - -"""Contains details about a recipient.""" -input SendEmailToFriendRecipientInput { - """The email address of the recipient.""" - email: String! - """The name of the recipient.""" - name: String! -} - -"""Contains information about the sender and recipients.""" -type SendEmailToFriendOutput { - """An array containing information about each recipient.""" - recipients: [SendEmailToFriendRecipient] - """Information about the customer and the content of the message.""" - sender: SendEmailToFriendSender -} - -"""An output object that contains information about the sender.""" -type SendEmailToFriendSender { - """The email address of the sender.""" - email: String! - """The text of the message to be sent.""" - message: String! - """The name of the sender.""" - name: String! -} - -"""An output object that contains information about the recipient.""" -type SendEmailToFriendRecipient { - """The email address of the recipient.""" - email: String! - """The name of the recipient.""" - name: String! -} - -""" -Contains details about the configuration of the Email to a Friend feature. -""" -type SendFriendConfiguration { - """Indicates whether the Email to a Friend feature is enabled.""" - enabled_for_customers: Boolean! - """Indicates whether the Email to a Friend feature is enabled for guests.""" - enabled_for_guests: Boolean! -} - -""" -Deprecated. Use `TierPrice` instead. Defines a tier price, which is a quantity discount offered to a specific customer group. -""" -type ProductTierPrices { - """The ID of the customer group.""" - customer_group_id: String @deprecated(reason: "Not relevant for the storefront.") - """The percentage discount of the item.""" - percentage_value: Float @deprecated(reason: "Use `TierPrice.discount` instead.") - """ - The number of items that must be purchased to qualify for tier pricing. - """ - qty: Float @deprecated(reason: "Use `TierPrice.quantity` instead.") - """The price of the fixed price item.""" - value: Float @deprecated(reason: "Use `TierPrice.final_price` instead.") - """The ID assigned to the website.""" - website_id: Float @deprecated(reason: "Not relevant for the storefront.") -} - -"""Defines a price based on the quantity purchased.""" -type TierPrice { - """The price discount that this tier represents.""" - discount: ProductDiscount - """The price of the product at this tier.""" - final_price: Money - """ - The minimum number of items that must be purchased to qualify for this price tier. - """ - quantity: Float -} - -interface SwatchLayerFilterItemInterface { - """Data required to render a swatch filter item.""" - swatch_data: SwatchData -} - -type SwatchLayerFilterItem implements LayerFilterItemInterface & SwatchLayerFilterItemInterface { - """The count of items per filter.""" - items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") - """The label for a filter.""" - label: String @deprecated(reason: "Use `AggregationOption.label` instead.") - """Data required to render a swatch filter item.""" - swatch_data: SwatchData - """The value of a filter request variable to be used in query.""" - value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") -} - -"""Describes the swatch type and a value.""" -type SwatchData { - """The type of swatch filter item: 1 - text; 2 - image.""" - type: String - """The value for the swatch item. It could be text or an image link.""" - value: String -} - -interface SwatchDataInterface { - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -type ImageSwatchData implements SwatchDataInterface { - """The URL assigned to the thumbnail of the swatch image.""" - thumbnail: String - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -type TextSwatchData implements SwatchDataInterface { - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -type ColorSwatchData implements SwatchDataInterface { - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -"""Swatch attribute metadata input types.""" -enum SwatchInputTypeEnum { - BOOLEAN - DATE - DATETIME - DROPDOWN - FILE - GALLERY - HIDDEN - IMAGE - MEDIA_IMAGE - MULTILINE - MULTISELECT - PRICE - SELECT - TEXT - TEXTAREA - UNDEFINED - VISUAL - WEIGHT -} - -enum TaxWrappingEnum { - DISPLAY_EXCLUDING_TAX - DISPLAY_INCLUDING_TAX - DISPLAY_TYPE_BOTH -} - -""" -Indicates whether the request succeeded and returns the remaining customer payment tokens. -""" -type DeletePaymentTokenOutput { - """A container for the customer's remaining payment tokens.""" - customerPaymentTokens: CustomerPaymentTokens - """Indicates whether the request succeeded.""" - result: Boolean! -} - -"""Contains payment tokens stored in the customer's vault.""" -type CustomerPaymentTokens { - """An array of payment tokens.""" - items: [PaymentToken]! -} - -"""The stored payment method available to the customer.""" -type PaymentToken { - """A description of the stored account details.""" - details: String - """The payment method code associated with the token.""" - payment_method_code: String! - """The public hash of the token.""" - public_hash: String! - """Specifies the payment token type.""" - type: PaymentTokenTypeEnum! -} - -"""The list of available payment token types.""" -enum PaymentTokenTypeEnum { - """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" - card - """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" - account -} - -"""A single FPT that can be applied to a product price.""" -type FixedProductTax { - """The amount of the Fixed Product Tax.""" - amount: Money - """The display label assigned to the Fixed Product Tax.""" - label: String -} - -"""Lists display settings for the Fixed Product Tax.""" -enum FixedProductTaxDisplaySettings { - """ - The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to 'Including FPT only'. - """ - INCLUDE_FPT_WITHOUT_DETAILS - """ - The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to 'Including FPT and FPT description'. - """ - INCLUDE_FPT_WITH_DETAILS - """ - The displayed price does not include the FPT amount. The values of `ProductPrice.fixed_product_taxes` and the price including the FPT are displayed separately. This value corresponds to 'Excluding FPT, Including FPT description and final price.' - """ - EXCLUDE_FPT_AND_INCLUDE_WITH_DETAILS - """ - The displayed price does not include the FPT amount. The values from `ProductPrice.fixed_product_taxes` are not displayed. This value corresponds to 'Excluding FPT'. - """ - EXCLUDE_FPT_WITHOUT_DETAILS - """ - The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query. - """ - FPT_DISABLED -} - -type UiAttributeTypeFixedProductTax implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Contains details about gift cards added to a requisition list.""" -type GiftCardRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """An array that defines gift card properties.""" - gift_card_options: GiftCardOptions! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -input BraintreeInput { - """ - Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway. - """ - device_data: String - """ - States whether the payment details (Credit/Debit Card, PayPal Account) entered by a customer should be tokenized for later usage. Required only if Vault is enabled for the relevant Braintree payment integration. - """ - is_active_payment_token_enabler: Boolean! - """ - The one-time payment token generated by Braintree payment gateway based on payment details (Card, PayPal). Required field to make sale transaction. - """ - payment_method_nonce: String! -} - -input BraintreeCcVaultInput { - device_data: String - public_hash: String! -} - -input BraintreeVaultInput { - device_data: String - public_hash: String! -} \ No newline at end of file diff --git a/.mesh/sources/AdobeCommerceAPI/introspectionSchema.js b/.mesh/sources/AdobeCommerceAPI/introspectionSchema.js deleted file mode 100644 index 3f50ef1d..00000000 --- a/.mesh/sources/AdobeCommerceAPI/introspectionSchema.js +++ /dev/null @@ -1,126338 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -// @ts-nocheck -var graphql_1 = require("graphql"); -var schemaAST = { - "kind": "Document", - "definitions": [ - { - "kind": "SchemaDefinition", - "operationTypes": [ - { - "kind": "OperationTypeDefinition", - "operation": "query", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Query" - } - } - }, - { - "kind": "OperationTypeDefinition", - "operation": "mutation", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Mutation" - } - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Query" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributesForm" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Form code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "formCode" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributesFormOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Returns a list of attributes metadata for a given entity type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributesList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Entity type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entityType" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies which filter inputs to search for and return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributesMetadataOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return details about custom EAV attributes, and optionally, system attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributesMetadata" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity to search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entityType" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute IDs to search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributeUids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to return matching system attributes as well.", - "block": true - }, - "name": { - "kind": "Name", - "value": "showSystemAttributes" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributesMetadata" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `customAttributeMetadataV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Get a list of available store views and their config information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "availableStores" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter store views by the current store group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "useCurrentGroup" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StoreConfig" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return information about the specified shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the cart to query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a list of categories that match the specified filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies which Category filter inputs to search for and return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryResult" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Search for categories that match the criteria specified in the `search` and `filter` attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The category ID to use as the root of the search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryTree" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `categories` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return an array of categories based on the specified filters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categoryList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies which Category filter inputs to search for and return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryTree" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `categories` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return Terms and Conditions configuration information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "checkoutAgreements" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CheckoutAgreement" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return information about CMS blocks.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cmsBlocks" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of CMS block IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "identifiers" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CmsBlocks" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return details about a CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cmsPage" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The identifier of the CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "identifier" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CmsPage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return detailed information about the customer's company within the current company context.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Company" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return products that have been added to the specified compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "compareList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the compare list to be queried.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompareList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The countries query provides information for all countries.", - "block": true - }, - "name": { - "kind": "Name", - "value": "countries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Country" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The countries query provides information for a single country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Country" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return information about the store's currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currency" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Currency" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return the attribute type, given an attribute code and entity type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customAttributeMetadata" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the attribute code and entity type to search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributes" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadata" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `customAttributeMetadataV2` query instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve EAV attributes metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customAttributeMetadataV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeInput" - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributesMetadataOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return detailed information about a customer account.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return information about the customer's shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customerCart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a list of downloadable products the customer has purchased.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customerDownloadableProducts" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerDownloadableProducts" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "customerOrders" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrders" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `customer` query instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a list of customer payment tokens stored in the vault.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customerPaymentTokens" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerPaymentTokens" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a list of dynamic blocks filtered by type, location, or UIDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamicBlocks" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the filter for returning matching dynamic blocks.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DynamicBlocksFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DynamicBlocks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "getHostedProUrl" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the cart ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "HostedProUrlInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "HostedProUrl" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "getPayflowLinkToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the requirements to receive a payment token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowLinkTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowLinkToken" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieves the payment configuration for a given location", - "block": true - }, - "name": { - "kind": "Name", - "value": "getPaymentConfig" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the origin location for that payment request", - "block": true - }, - "name": { - "kind": "Name", - "value": "location" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentLocation" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentConfigOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieves the payment details for the order", - "block": true - }, - "name": { - "kind": "Name", - "value": "getPaymentOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer cart ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Gets the payment SDK urls and values", - "block": true - }, - "name": { - "kind": "Name", - "value": "getPaymentSDK" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the origin location for that payment request", - "block": true - }, - "name": { - "kind": "Name", - "value": "location" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentLocation" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GetPaymentSDKOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieves the vault configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "getVaultConfig" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "VaultConfigOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return details about a specific gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftCardAccount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the gift card code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardAccountInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardAccount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return the specified gift registry. Some details will not be available to guests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the registry to search for.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Search for gift registries by specifying a registrant email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryEmailSearch" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The registrant's email.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistrySearchResult" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Search for gift registries by specifying a registry URL key.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryIdSearch" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistrySearchResult" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Search for gift registries by specifying the registrant name and registry type ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryTypeSearch" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstName" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastName" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The type UID of the registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryTypeUid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistrySearchResult" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Get a list of available gift registry types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryTypes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve guest order details based on number, email and postcode.", - "block": true - }, - "name": { - "kind": "Name", - "value": "guestOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderInformationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve guest order details based on token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "guestOrderByToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Check whether the specified email can be used to register a company admin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "isCompanyAdminEmailAvailable" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IsCompanyAdminEmailAvailableOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Check whether the specified email can be used to register a new company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "isCompanyEmailAvailable" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IsCompanyEmailAvailableOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Check whether the specified role name is valid for the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "isCompanyRoleNameAvailable" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IsCompanyRoleNameAvailableOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Check whether the specified email can be used to register a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "isCompanyUserEmailAvailable" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IsCompanyUserEmailAvailableOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Check whether the specified email has already been used to create a customer account.", - "block": true - }, - "name": { - "kind": "Name", - "value": "isEmailAvailable" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address to check.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IsEmailAvailableOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve the specified negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiableQuote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve the specified negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiableQuoteTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "templateId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a list of negotiable quote templates that can be viewed by the logged-in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiableQuoteTemplates" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The filter to use to determine which negotiable quote templates to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The field to use for sorting results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplatesOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a list of negotiable quotes that can be viewed by the logged-in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiableQuotes" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The filter to use to determine which negotiable quotes to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The field to use for sorting results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuotesOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The pickup locations query searches for locations that match the search request requirements.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pickupLocations" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Perform search by location using radius and search term.", - "block": true - }, - "name": { - "kind": "Name", - "value": "area" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AreaInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Apply filters by attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PickupLocationFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which attribute to sort on, and whether to return the results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PickupLocationSortInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of pickup locations to return at once. The attribute is optional.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Information about products which should be delivered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "productsInfo" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInfoInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PickupLocations" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return the active ratings attributes and the values each rating can have.", - "block": true - }, - "name": { - "kind": "Name", - "value": "productReviewRatingsMetadata" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviewRatingsMetadata" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Search for products that match the criteria specified in the `search` and `filter` attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "One or more keywords to use in a full-text search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "search" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The product attributes to search for and return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductAttributeFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which attributes to sort on, and whether to return the results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductAttributeSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Products" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Returns details about Google reCAPTCHA V3-Invisible configuration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recaptchaV3Config" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReCaptchaConfigurationV3" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return the full details for a specified product, category, or CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "route" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A `url_key` appended by the `url_suffix, if one exists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "searchTerm" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input of Search Term", - "block": true - }, - "name": { - "kind": "Name", - "value": "Search" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchTerm" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return details about the store's configuration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "storeConfig" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StoreConfig" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return the relative URL for a specified product, category or CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "urlResolver" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A `url_key` appended by the `url_suffix, if one exists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EntityUrl" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `route` query instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return the contents of a customer's wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistOutput" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Moved under `Customer.wishlist`." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Mutation" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Accept invitation to the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "acceptCompanyInvitation" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyInvitationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyInvitationOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update an existing negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "acceptNegotiableQuoteTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains the data to update a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AcceptNegotiableQuoteTemplateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addBundleProductsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which bundle products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddBundleProductsToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddBundleProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addConfigurableProductsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which configurable products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddConfigurableProductsToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddConfigurableProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addDownloadableProductsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which downloadable products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddDownloadableProductsToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddDownloadableProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add registrants to the specified gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addGiftRegistryRegistrants" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array registrants to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "registrants" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddGiftRegistryRegistrantInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddGiftRegistryRegistrantsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add any type of product to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addProductsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The cart ID of the shopper.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines the products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add products to the specified compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addProductsToCompareList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which products to add to an existing compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddProductsToCompareListInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompareList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add items to the specified requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addProductsToRequisitionList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products to be added to the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemsInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddProductsToRequisitionListOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add one or more products to the specified wish list. This mutation supports all product types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addProductsToWishlist" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products to add to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddProductsToWishlistOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add a comment to an existing purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addPurchaseOrderComment" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddPurchaseOrderCommentInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddPurchaseOrderCommentOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add purchase order items to the shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addPurchaseOrderItemsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddPurchaseOrderItemsToCartInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add items in the requisition list to the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addRequisitionListItemsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the requisition list will be added to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItemUids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddRequisitionListItemsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add a comment to an existing return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addReturnComment" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines a return comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddReturnCommentInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddReturnCommentOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add tracking information to the return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addReturnTracking" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines tracking information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddReturnTrackingInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddReturnTrackingOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addSimpleProductsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which simple products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddSimpleProductsToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddSimpleProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addVirtualProductsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which virtual products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddVirtualProductsToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddVirtualProductsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add items in the specified wishlist to the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addWishlistItemsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the wish list", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of IDs representing products to be added to the cart. If no IDs are specified, all items in the wishlist will be added to the cart", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItemIds" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddWishlistItemsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Apply a pre-defined coupon code to the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applyCouponToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the coupon code to apply to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyCouponToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyCouponToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Apply a pre-defined coupon code to the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applyCouponsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the coupon code to apply to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyCouponsToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyCouponToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Apply a pre-defined gift card code to the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applyGiftCardToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the gift card code and cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyGiftCardToCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyGiftCardToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Apply all available points, up to the cart total. Partial redemption is not available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applyRewardPointsToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "cartId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyRewardPointsToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Apply store credit to the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applyStoreCreditToCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the cart ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyStoreCreditToCartInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyStoreCreditToCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Approve purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "approvePurchaseOrders" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign the specified compare list to the logged in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "assignCompareListToCustomer" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the compare list to be assigned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AssignCompareListToCustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign a logged-in customer to the specified guest shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "assignCustomerToGuestCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Cancel a negotiable quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancelNegotiableQuoteTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that cancels a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CancelNegotiableQuoteTemplateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Cancel the specified customer order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancelOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CancelOrderInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CancelOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Cancel purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancelPurchaseOrders" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Change the password for the logged-in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "changeCustomerPassword" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's original password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPassword" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's updated password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "newPassword" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove all items from the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "clearCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines cart ID of the shopper.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ClearCartInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ClearCartOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove all items from the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "clearCustomerCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The masked ID of the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ClearCustomerCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Mark a negotiable quote as closed. The negotiable quote is still visible on the storefront.", - "block": true - }, - "name": { - "kind": "Name", - "value": "closeNegotiableQuotes" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that closes a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuotesInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuotesOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Confirms the email address for a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "confirmEmail" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object to identify the customer to confirm the email.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfirmEmailInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Send a 'Contact Us' email to the merchant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "contactUs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines shopper information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ContactUsInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ContactUsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Copy items from one requisition list to another.", - "block": true - }, - "name": { - "kind": "Name", - "value": "copyItemsBetweenRequisitionLists" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the source requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sourceRequisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the destination requisition list. If null, a new requisition list will be created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destinationRequisitionListUid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products to copy.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItem" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CopyItemsBetweenRequisitionListsInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CopyItemsFromRequisitionListsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Copy products from one wish list to another. The original wish list is unchanged.", - "block": true - }, - "name": { - "kind": "Name", - "value": "copyProductsBetweenWishlists" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the original wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sourceWishlistUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the target wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destinationWishlistUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to copy.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemCopyInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CopyProductsBetweenWishlistsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates Client Token for Braintree Javascript SDK initialization.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createBraintreeClientToken" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates Client Token for Braintree PayPal Javascript SDK initialization.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createBraintreePayPalClientToken" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates Client Token for Braintree PayPal Vault Javascript SDK initialization.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createBraintreePayPalVaultClientToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeVaultInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a company at the request of either a customer or a guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCompany" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateCompanyOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a new company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCompanyRole" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRoleCreateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateCompanyRoleOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a new team for the customer's company within the current company context.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCompanyTeam" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeamCreateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateCompanyTeamOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a new company user at the request of an existing customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCompanyUser" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserCreateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateCompanyUserOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a new compare list. The compare list is saved for logged in customers.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCompareList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateCompareListInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompareList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Use `createCustomerV2` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCustomer" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the customer to be created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a billing or shipping address for a customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCustomerAddress" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a customer account.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createCustomerV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the customer to be created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerCreateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create an empty shopping cart for a guest or logged in user", - "block": true - }, - "name": { - "kind": "Name", - "value": "createEmptyCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An optional input object that assigns the specified ID to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "createEmptyCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `Mutation.createGuestCart` or `Query.customerCart` for logged in customer" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a gift registry on behalf of the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createGiftRegistry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines a new gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistry" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateGiftRegistryInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateGiftRegistryOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a new shopping cart", - "block": true - }, - "name": { - "kind": "Name", - "value": "createGuestCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateGuestCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateGuestCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Initiate a transaction and receive a token. Use this mutation for Payflow Pro and Payments Pro payment methods", - "block": true - }, - "name": { - "kind": "Name", - "value": "createPayflowProToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the requirements to fetch payment token information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowProTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePayflowProTokenOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates a payment order for further payment processing", - "block": true - }, - "name": { - "kind": "Name", - "value": "createPaymentOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Contains payment order details that are used while processing the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePaymentOrderInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePaymentOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Initiate an Express Checkout transaction and receive a token. Use this mutation for Express Checkout and Payments Standard payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createPaypalExpressToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the requirements to receive a payment token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaypalExpressTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaypalExpressTokenOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a product review for the specified product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createProductReview" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains the details necessary to create a product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateProductReviewInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateProductReviewOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createPurchaseOrderApprovalRule" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRule" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create an empty requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createRequisitionList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateRequisitionListInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateRequisitionListOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates a vault payment token", - "block": true - }, - "name": { - "kind": "Name", - "value": "createVaultCardPaymentToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Describe the variables needed to create a vault card payment token", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateVaultCardPaymentTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateVaultCardPaymentTokenOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates a vault card setup token", - "block": true - }, - "name": { - "kind": "Name", - "value": "createVaultCardSetupToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Describe the variables needed to create a vault card setup token", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateVaultCardSetupTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateVaultCardSetupTokenOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a new wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createWishlist" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines a new wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateWishlistInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateWishlistOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCompanyRole" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteCompanyRoleOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCompanyTeam" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteCompanyTeamOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCompanyUser" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteCompanyUserOutput" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use deleteCompanyUserV2 instead. The current method only deactivates the user account associated with the company." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCompanyUserV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteCompanyUserOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCompareList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the compare list to be deleted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteCompareListOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete customer account", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCustomer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the billing or shipping address of a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteCustomerAddress" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the customer address to be deleted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete a negotiable quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteNegotiableQuoteTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that cancels a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteTemplateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete a negotiable quote. The negotiable quote will not be displayed on the storefront.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteNegotiableQuotes" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that deletes a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuotesInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuotesOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete a customer's payment token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deletePaymentToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The reusable payment token securely stored in the vault.", - "block": true - }, - "name": { - "kind": "Name", - "value": "public_hash" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeletePaymentTokenOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete existing purchase order approval rules.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deletePurchaseOrderApprovalRule" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteRequisitionList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteRequisitionListOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete items from a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteRequisitionListItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of UIDs representing products to be removed from the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItemUids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteRequisitionListItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified wish list. You cannot delete the customer's default (first) wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteWishlist" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the wish list to delete.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteWishlistOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Negotiable Quote resulting from duplication operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "duplicateNegotiableQuote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines ID of the quote to be duplicated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DuplicateNegotiableQuoteInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DuplicateNegotiableQuoteOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Estimate shipping method(s) for cart based on address", - "block": true - }, - "name": { - "kind": "Name", - "value": "estimateShippingMethods" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies details for estimation of available shipping methods", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EstimateTotalsInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AvailableShippingMethod" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Estimate totals for cart based on the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "estimateTotals" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies details for cart totals estimation", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EstimateTotalsInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EstimateTotalsOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Generate a token for specified customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "generateCustomerToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "password" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerToken" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Request a customer token so that an administrator can perform remote shopping assistance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "generateCustomerTokenAsAdmin" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the customer email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GenerateCustomerTokenAsAdminInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GenerateCustomerTokenAsAdminOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Generate a negotiable quote from an accept quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "generateNegotiableQuoteFromTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains the data to generate a negotiable quote from quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GenerateNegotiableQuoteFromTemplateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GenerateNegotiableQuoteFromTemplateOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Handle a payment response and save the payment in Quote. Use this mutation for Payflow Pro and Payments Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "handlePayflowProResponse" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that includes the payload returned by PayPal and the cart ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowProResponseInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowProResponseOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Transfer the contents of a guest cart into the cart of a logged-in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "mergeCarts" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The guest's cart ID before they login.", - "block": true - }, - "name": { - "kind": "Name", - "value": "source_cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The cart ID after the guest logs in.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destination_cart_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Move all items from the cart to a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "moveCartItemsToGiftRegistry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the cart containing items to be moved to a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the target gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MoveCartItemsToGiftRegistryOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Move Items from one requisition list to another.", - "block": true - }, - "name": { - "kind": "Name", - "value": "moveItemsBetweenRequisitionLists" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the source requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sourceRequisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the destination requisition list. If null, a new requisition list will be created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destinationRequisitionListUid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products to move.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItem" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MoveItemsBetweenRequisitionListsInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MoveItemsBetweenRequisitionListsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Move negotiable quote item to requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "moveLineItemToRequisitionList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the quote item and requisition list moved to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MoveLineItemToRequisitionListInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MoveLineItemToRequisitionListOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Move products from one wish list to another.", - "block": true - }, - "name": { - "kind": "Name", - "value": "moveProductsBetweenWishlists" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the original wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sourceWishlistUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the target wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destinationWishlistUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to move.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemMoveInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MoveProductsBetweenWishlistsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Open an existing negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "openNegotiableQuoteTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains the data to open a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OpenNegotiableQuoteTemplateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Convert a negotiable quote into an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "placeNegotiableQuoteOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceNegotiableQuoteOrderInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceNegotiableQuoteOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Convert the quote into an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "placeOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the shopper's cart ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Convert the purchase order into an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "placeOrderForPurchaseOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderForPurchaseOrderInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderForPurchaseOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Place a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "placePurchaseOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlacePurchaseOrderInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlacePurchaseOrderOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Redeem a gift card for store credit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redeemGiftCardBalanceAsStoreCredit" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the gift card code to redeem.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardAccountInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardAccount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Reject purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rejectPurchaseOrders" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeCouponFromCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which coupon code to remove from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveCouponFromCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveCouponFromCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeCouponsFromCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which coupon code to remove from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveCouponsFromCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveCouponFromCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Removes a gift card from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeGiftCardFromCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies which gift card code to remove from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveGiftCardFromCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveGiftCardFromCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeGiftRegistry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry to delete.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveGiftRegistryOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the specified items from a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeGiftRegistryItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of item IDs to remove from the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "itemsUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveGiftRegistryItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Removes registrants from a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeGiftRegistryRegistrants" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of registrant IDs to remove.", - "block": true - }, - "name": { - "kind": "Name", - "value": "registrantsUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveGiftRegistryRegistrantsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Delete the entire quantity of a specified item from the cart. If you remove all items from the cart, the cart continues to exist.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeItemFromCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which products to remove from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveItemFromCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveItemFromCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove one or more products from a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeNegotiableQuoteItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that removes one or more items from a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveNegotiableQuoteItemsInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveNegotiableQuoteItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove one or more products from a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeNegotiableQuoteTemplateItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that removes one or more items from a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveNegotiableQuoteTemplateItemsInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove products from the specified compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeProductsFromCompareList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which products to remove from a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveProductsFromCompareListInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompareList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove one or more products from the specified wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeProductsFromWishlist" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of item IDs representing products to be removed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItemsIds" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveProductsFromWishlistOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove a tracked shipment from a return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeReturnTracking" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that removes tracking information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveReturnTrackingInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveReturnTrackingOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Cancel the application of reward points to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeRewardPointsFromCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "cartId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveRewardPointsFromCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove store credit that has been applied to the specified cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeStoreCreditFromCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the cart ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveStoreCreditFromCartInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RemoveStoreCreditFromCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Rename negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "renameNegotiableQuote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the quote item name and comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RenameNegotiableQuoteInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RenameNegotiableQuoteOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add all products from a customer's previous order to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reorderItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "orderNumber" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReorderItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Request a new negotiable quote on behalf of the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requestNegotiableQuote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains a request to initiate a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestNegotiableQuoteInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestNegotiableQuoteOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Request a new negotiable quote on behalf of the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requestNegotiableQuoteTemplateFromQuote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains a request to initiate a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestNegotiableQuoteTemplateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Request an email with a reset password token for the registered customer identified by the specified email.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requestPasswordResetEmail" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Initiates a buyer's request to return items for replacement or refund.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requestReturn" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains the fields needed to start a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestReturnInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestReturnOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "resetPassword" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A runtime token generated by the `requestPasswordResetEmail` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "resetPasswordToken" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's new password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "newPassword" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Revoke the customer token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "revokeCustomerToken" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RevokeCustomerTokenOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Send a message on behalf of a customer to the specified email addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sendEmailToFriend" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines sender, recipients, and product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendEmailToFriendInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendEmailToFriendOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Send the negotiable quote to the seller for review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sendNegotiableQuoteForReview" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that sends a request for the merchant to review a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendNegotiableQuoteForReviewInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendNegotiableQuoteForReviewOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Set the billing address on a specific cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setBillingAddressOnCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the billing address to be assigned to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetBillingAddressOnCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetBillingAddressOnCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Set gift options, including gift messages, gift wrapping, gift receipts, and printed cards.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setGiftOptionsOnCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the selected gift options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetGiftOptionsOnCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetGiftOptionsOnCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign the email address of a guest to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setGuestEmailOnCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines a guest email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetGuestEmailOnCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetGuestEmailOnCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add buyer's note to a negotiable quote item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setLineItemNote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the quote item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LineItemNoteInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetLineItemNoteOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign a billing address to a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setNegotiableQuoteBillingAddress" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the billing address to be assigned to a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteBillingAddressInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteBillingAddressOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Set the payment method on a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setNegotiableQuotePaymentMethod" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the payment method for the specified negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuotePaymentMethodInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuotePaymentMethodOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign a previously-defined address as the shipping address for a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setNegotiableQuoteShippingAddress" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the shipping address to be assigned to a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingAddressInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingAddressOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign the shipping methods on the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setNegotiableQuoteShippingMethods" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the shipping methods to be assigned to a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingMethodsInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingMethodsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Assign a previously-defined address as the shipping address for a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setNegotiableQuoteTemplateShippingAddress" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the shipping address to be assigned to a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteTemplateShippingAddressInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Set the cart payment method and convert the cart into an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setPaymentMethodAndPlaceOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetPaymentMethodAndPlaceOrderInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderOutput" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Should use setPaymentMethodOnCart and placeOrder mutations in single request." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Apply a payment method to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setPaymentMethodOnCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which payment method to apply to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetPaymentMethodOnCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetPaymentMethodOnCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add buyer's note to a negotiable quote template item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setQuoteTemplateLineItemNote" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the quote template item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "QuoteTemplateLineItemNoteInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Set one or more shipping addresses on a specific cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setShippingAddressesOnCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines one or more shipping addresses to be assigned to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetShippingAddressesOnCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetShippingAddressesOnCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Set one or more delivery methods on a cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "setShippingMethodsOnCart" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that applies one or more shipping methods to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetShippingMethodsOnCartInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SetShippingMethodsOnCartOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Send an email about the gift registry to a list of invitees.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shareGiftRegistry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The sender's email address and gift message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShareGiftRegistrySenderInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing invitee names and email addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "invitees" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShareGiftRegistryInviteeInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShareGiftRegistryOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Accept an existing negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "submitNegotiableQuoteTemplateForReview" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains the data to update a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SubmitNegotiableQuoteTemplateForReviewInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Subscribe the specified email to the store's newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subscribeEmailToNewsletter" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address that will receive the store's newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SubscribeEmailToNewsletterOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Synchronizes the payment order details for further payment processing", - "block": true - }, - "name": { - "kind": "Name", - "value": "syncPaymentOrder" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Describes the variables needed to synchronize the payment order details", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SyncPaymentOrderInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Modify items in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCartItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines products to be updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCartItemsInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCartItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update company information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCompany" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUpdateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCompanyOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update company role information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCompanyRole" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRoleUpdateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCompanyRoleOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Change the parent node of a company team within the current company context.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCompanyStructure" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyStructureUpdateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCompanyStructureOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update company team data.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCompanyTeam" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeamUpdateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCompanyTeamOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update an existing company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCompanyUser" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserUpdateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateCompanyUserOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Use `updateCustomerV2` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCustomer" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the customer characteristics to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update the billing or shipping address of a customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCustomerAddress" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that contains changes to the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Change the email address for the logged-in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCustomerEmail" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "password" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update the customer's personal information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateCustomerV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the customer characteristics to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerUpdateInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update the specified gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateGiftRegistry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an existing gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which fields to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistry" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update the specified items in the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateGiftRegistryItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to be updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryItemInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Modify the properties of one or more gift registry registrants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateGiftRegistryRegistrants" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of registrants to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "registrants" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryRegistrantInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryRegistrantsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Change the quantity of one or more items in an existing negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateNegotiableQuoteQuantities" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that changes the quantity of one or more items in a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteQuantitiesInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteItemsQuantityOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Change the quantity of one or more items in an existing negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateNegotiableQuoteTemplateQuantities" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that changes the quantity of one or more items in a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteTemplateQuantitiesInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteTemplateItemsQuantityOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update one or more products in the specified wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateProductsInWishlist" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to be updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemUpdateInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateProductsInWishlistOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update existing purchase order approval rules.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updatePurchaseOrderApprovalRule" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdatePurchaseOrderApprovalRuleInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRule" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Rename a requisition list and change its description.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateRequisitionList" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateRequisitionListInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateRequisitionListOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update items in a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateRequisitionListItems" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Items to be updated in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItems" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateRequisitionListItemsInput" - } - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateRequisitionListItemsOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Change the name and visibility of the specified wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updateWishlist" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the wish list to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name assigned to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the visibility of the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "visibility" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistVisibilityEnum" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateWishlistOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Validate purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "validatePurchaseOrders" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrdersInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrdersOutput" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the comparison operators that can be used in a filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FilterTypeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Equals.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "finset" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "From. Must be used with the `to` field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "from" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Greater than.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gt" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Greater than or equal to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gteq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "In. The value can contain a set of comma-separated values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "like" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Less than.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lt" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Less than or equal to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lteq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "More than or equal to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "moreq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Not equal to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "neq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Not in. The value can contain a set of comma-separated values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "nin" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Not null.", - "block": true - }, - "name": { - "kind": "Name", - "value": "notnull" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Is null.", - "block": true - }, - "name": { - "kind": "Name", - "value": "null" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "To. Must be used with the `from` field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "to" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter that matches the input exactly.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Use this attribute to exactly match the specified string. For example, to filter on a specific category ID, specify a value such as `5`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Use this attribute to filter on an array of values. For example, to filter on category IDs 4, 5, and 6, specify a value of `[\"4\", \"5\", \"6\"]`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter that matches a range of values, such as prices or dates.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FilterRangeTypeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Use this attribute to specify the lowest possible value in the range.", - "block": true - }, - "name": { - "kind": "Name", - "value": "from" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Use this attribute to specify the highest possible value in the range.", - "block": true - }, - "name": { - "kind": "Name", - "value": "to" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter that performs a fuzzy search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Use this attribute to fuzzy match the specified string. For example, to filter on a specific SKU, specify a value such as `24-MB01`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "match" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match.", - "block": true - }, - "name": { - "kind": "Name", - "value": "match_type" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeEnum" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterMatchTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FULL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PARTIAL" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter for an input string.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FilterStringTypeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filters items that are exactly the same as the specified string.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filters items that are exactly the same as entries specified in an array of strings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter that performs a fuzzy search using the specified string.", - "block": true - }, - "name": { - "kind": "Name", - "value": "match" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Provides navigation for the query response.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The specific page to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "current_page" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of items to return per page of results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_size" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of pages in the response.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_pages" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to return results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SortEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ASC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DESC" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Text that can contain HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "html" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a monetary value, including a numeric value and a currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Money" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A three-letter currency code, such as USD or EUR.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currency" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CurrencyEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number expressing a monetary value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The list of available currency codes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CurrencyEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AFN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ALL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AZN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DZD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AOA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ARS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AMD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AWG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AUD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BSD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BHD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BDT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BBD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BYN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BZD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BMD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BTN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BOB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BAM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BWP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BRL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GBP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BGN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BUK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BIF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KHR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CAD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CZK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KYD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GQE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CLP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CNY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "COP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KMF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CDF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CRC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HRK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DKK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DJF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DOP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "XCD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EGP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SVC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ERN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EEK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ETB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EUR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FKP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FJD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GMD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GEK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GEL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GHS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GIP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GTQ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GNF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GYD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HTG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HNL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HKD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HUF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ISK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IDR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IRR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IQD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ILS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "JMD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "JPY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "JOD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KZT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KES" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KWD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KGS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LAK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LVL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LBP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LSL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LRD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LYD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LTL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MOP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MKD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MGA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MWK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MYR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MVR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LSM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MRO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MUR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MXN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MDL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MAD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MZN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MMK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NAD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NPR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ANG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "YTL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NZD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NIC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NGN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KPW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OMR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PKR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PAB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PGK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PYG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PEN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PHP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PLN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "QAR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RHD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RON" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RUB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RWF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SHP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "STD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SAR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RSD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SCR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SLL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SGD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SKK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SBD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SOS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ZAR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "KRW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LKR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SDG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SRD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SZL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SEK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CHF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SYP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TWD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TJS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TZS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "THB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TOP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TTD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TMM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "USD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UGX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UAH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UYU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UZS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VUV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VEB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VEF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CHE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CHW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "XOF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WST" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "YER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ZMK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ZWD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TRY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AZM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ROL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TRL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "XPF" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a customer-entered option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Text the customer entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "BatchMutationStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SUCCESS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FAILURE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MIXED_RESULTS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "ErrorInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The returned error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an error message when an invalid UID was specified.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NoSuchEntityUidError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The returned error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The specified invalid unique ID of an object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ErrorInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an error message when an internal error occurred.", - "block": true - }, - "name": { - "kind": "Name", - "value": "InternalError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The returned error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ErrorInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an array of custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomAttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Attribute" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the attribute, including the code and type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Attribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute options list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The data type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the storefront properties configured for the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "storefront_properties" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StorefrontProperties" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates where an attribute can be displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "StorefrontProperties" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative position of the attribute in the layered navigation block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute is filterable with results, without results, or not at all.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_in_layered_navigation" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UseInLayeredNavigationOptions" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute is displayed in product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_in_product_listing" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute can be used in layered navigation on search results pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_in_search_results_layered_navigation" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute is displayed on product pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "visible_on_catalog_pages" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines whether the attribute is filterable in layered navigation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UseInLayeredNavigationOptions" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FILTERABLE_WITH_RESULTS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FILTERABLE_NO_RESULT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if option is set to be used as default value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute option value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the attribute characteristics to search for the `attribute_code` and `entity_type` to search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata of EAV attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributesMetadataOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Errors of retrieving certain attributes metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Requested attributes metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute metadata retrieval error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeMetadataError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute metadata retrieval error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute metadata retrieval error type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataErrorType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute metadata retrieval error types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeMetadataErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The requested entity was not found.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ENTITY_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The requested attribute was not found.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ATTRIBUTE_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The filter cannot be applied as it does not belong to the entity", - "block": true - }, - "name": { - "kind": "Name", - "value": "FILTER_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Not categorized error, see the error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An interface containing fields that define the EAV attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Default attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend class of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_class" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFrontendInputEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value must be unique.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_unique" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - } - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is the option value default.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute option value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Base EAV implementation of CustomAttributeOptionInterface.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeOptionMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is the option value default.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute option value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Base EAV implementation of CustomAttributeMetadataInterface.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Default attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend class of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_class" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFrontendInputEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value must be unique.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_unique" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "List of all entity types. Populated by the modules introducing EAV entities.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CATALOG_PRODUCT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CATALOG_CATEGORY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER_ADDRESS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RMA_ITEM" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "EAV attribute frontend input types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeFrontendInputEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BOOLEAN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATETIME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FILE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GALLERY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HIDDEN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IMAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MEDIA_IMAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MULTILINE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MULTISELECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SELECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXTAREA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEIGHT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata of EAV attributes associated to form", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributesFormOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Errors of retrieving certain attributes metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Requested attributes metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AttributeValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AttributeSelectedOptions" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "selected_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeSelectedOptionInterface" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "AttributeSelectedOptionInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute selected option label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute selected option value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AttributeSelectedOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute selected option label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute selected option value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeSelectedOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the value for attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeValueInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The code of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing selected options for a select or multiselect attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeInputSelectedOption" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The value assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies selected option for a select or multiselect attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeInputSelectedOption" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute option value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the filters used for attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be compared against another or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_comparable" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be filtered or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_filterable" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be filtered in search or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_filterable_in_search" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can use HTML on front or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed_on_front" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be searched or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_searchable" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a customer or customer address attribute is used for customer segment or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_used_for_customer_segment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be used for price rules or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_used_for_price_rules" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is used for promo rules or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_used_for_promo_rules" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is visible in advanced search or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible_in_advanced_search" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is visible on front or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible_on_front" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute has WYSIWYG enabled or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_wysiwyg_enabled" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is used in product listing or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "used_in_product_listing" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a store's configuration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "StoreConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains scripts that must be included in the HTML before the closing `` tag.", - "block": true - }, - "name": { - "kind": "Name", - "value": "absolute_footer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if the gift sender has the option to send a gift receipt. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_gift_receipt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether gift wrapping can be added for the entire order. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_gift_wrapping_on_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether gift wrapping can be added for individual order items. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_gift_wrapping_on_order_items" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether guest users can write product reviews. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_guests_to_write_product_reviews" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the Allow Gift Messages for Order Items option", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_items" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the Allow Gift Messages on Order Level option", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if a printed card can accompany an order. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_printed_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to enable autocomplete on login and forgot password forms.", - "block": true - }, - "name": { - "kind": "Name", - "value": "autocomplete_on_storefront" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The base currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_currency_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A fully-qualified URL that is used to create relative links to the `base_url`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_link_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The fully-qualified URL that specifies the location of media files.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_media_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The fully-qualified URL that specifies the location of static view files.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_static_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The store’s fully-qualified base URL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree 3D Secure, should 3D Secure be used for specific countries.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_3dsecure_allowspecific" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree 3D Secure, always request 3D Secure flag.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_3dsecure_always_request_3ds" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree 3D Secure, the specific countries to use 3D Secure in, to be used if allow specific is status is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_3dsecure_specificcountry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree 3D Secure, threshold above which 3D Secure should be requested.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_3dsecure_threshold_amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree 3D Secure enabled/active status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_3dsecure_verify_3dsecure" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree ACH vault status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_ach_direct_debit_vault_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Apple Pay merchant name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_applepay_merchant_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Apple Pay vault status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_applepay_vault_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree cc vault status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_cc_vault_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree cc vault CVV re-verification enabled status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_cc_vault_cvv" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree environment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_environment" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Google Pay button color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_googlepay_btn_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Google Pay Card types supported.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_googlepay_cctypes" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Google Pay merchant ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_googlepay_merchant_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Google Pay vault status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_googlepay_vault_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Local Payment Methods allowed payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_local_payment_allowed_methods" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Local Payment Methods fallback button text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_local_payment_fallback_button_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Local Payment Methods redirect URL on failed payment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_local_payment_redirect_on_fail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree Merchant Account ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_merchant_account_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit mini-cart & cart button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_credit_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit mini-cart & cart button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_credit_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit mini-cart & cart button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_credit_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit mini-cart & cart button show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_credit_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging mini-cart & cart style layout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_messaging_layout" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging mini-cart & cart style logo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_messaging_logo" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging mini-cart & cart style logo position.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_messaging_logo_position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging mini-cart & cart show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_messaging_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging checkout style text color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_messaging_text_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later mini-cart & cart button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paylater_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later mini-cart & cart button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paylater_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later mini-cart & cart button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paylater_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later mini-cart & cart button show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paylater_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal mini-cart & cart button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paypal_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal mini-cart & cart button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paypal_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal mini-cart & cart button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paypal_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal mini-cart & cart button show.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_cart_type_paypal_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit checkout button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_credit_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit checkout button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_credit_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit checkout button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_credit_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit checkout button show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_credit_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging checkout style layout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_messaging_layout" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging checkout style logo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_messaging_logo" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging checkout style logo position.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_messaging_logo_position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging checkout show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_messaging_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging checkout style text color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_messaging_text_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later checkout button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paylater_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later checkout button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paylater_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later checkout button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paylater_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later checkout button show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paylater_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal checkout button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paypal_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal checkout button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paypal_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal checkout button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paypal_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal checkout button show.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_checkout_type_paypal_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit PDP button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_credit_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit PDP button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_credit_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit PDP button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_credit_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit PDP button show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_credit_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging PDP style layout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_messaging_layout" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging PDP style logo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_messaging_logo" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging PDP style logo position.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_messaging_logo_position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging PDP show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_messaging_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later messaging PDP style text color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_messaging_text_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later PDP button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paylater_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later PDP button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paylater_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later PDP button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paylater_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Pay Later PDP button show status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paylater_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal PDP button style color.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paypal_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal PDP button style label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paypal_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal PDP button style shape.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paypal_shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal PDP button show.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_button_location_productpage_type_paypal_show" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal Credit Merchant Name on the FCA Register.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_credit_uk_merchant_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Should display Braintree PayPal in mini-cart & cart?", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_display_on_shopping_cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal merchant's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_merchant_country" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal override for Merchant Name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_merchant_name_override" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Does Braintree PayPal require the customer's billing address?", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_require_billing_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Does Braintree PayPal require the order line items?", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_send_cart_line_items" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Braintree PayPal vault status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "braintree_paypal_vault_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/cart/delete_quote_after", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_expires_in_days" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if gift wrapping prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_printed_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/cart_link/use_qty", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_summary_display_quantity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default sort order of the search results list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "catalog_default_sort_by" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Corresponds to the 'Display Prices In Product Lists' field in the Admin. It indicates how FPT information is displayed on category pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_fixed_product_tax_display_setting" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FixedProductTaxDisplaySettings" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The suffix applied to category pages, such as `.htm` or `.html`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether only specific countries can use this payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_enable_for_specific_countries" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the Check/Money Order payment method is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the party to whom the check must be payable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_make_check_payable_to" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum order amount required to qualify for the Check/Money Order payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_max_order_total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum order amount required to qualify for the Check/Money Order payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_min_order_total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of new orders placed using the Check/Money Order payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_new_order_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of specific countries allowed to use the Check/Money Order payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_payment_from_specific_countries" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full street address or PO Box where the checks are mailed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_send_check_to" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number indicating the position of the Check/Money Order payment method in the list of available payment methods during checkout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title of the Check/Money Order payment method displayed on the storefront.", - "block": true - }, - "name": { - "kind": "Name", - "value": "check_money_order_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the CMS page that identifies the home page for the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cms_home_page" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A specific CMS page that displays when cookies are not enabled for the browser.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cms_no_cookies" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A specific CMS page that displays when a 404 'Page Not Found' error occurs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cms_no_route" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A code assigned to the store to identify it.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `store_code` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_thumbnail_source" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the Contact Us form in enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "contact_enabled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The copyright statement that appears at the bottom of each page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "copyright" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - general/region/state_required", - "block": true - }, - "name": { - "kind": "Name", - "value": "countries_with_required_region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if the new accounts need confirmation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "create_account_confirmation" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Customer access token lifetime.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_access_token_lifetime" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - general/country/default", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_country" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description that provides a summary of your site for search engine listings. It should not be more than 160 characters in length.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default display currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_display_currency_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A series of keywords that describe your store, each separated by a comma.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_keywords" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title that appears at the title bar of each page when viewed in a browser.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Controls the display of the demo store notice at the top of the page. Options: 0 (No) or 1 (Yes).", - "block": true - }, - "name": { - "kind": "Name", - "value": "demonotice" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - general/region/display_all", - "block": true - }, - "name": { - "kind": "Name", - "value": "display_state_if_optional" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether customers can have multiple wish lists. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "enable_multiple_wishlists" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The landing page that is associated with the base URL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "front" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default number of products per page in Grid View.", - "block": true - }, - "name": { - "kind": "Name", - "value": "grid_per_page" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of numbers that define how many products can be displayed in Grid View.", - "block": true - }, - "name": { - "kind": "Name", - "value": "grid_per_page_values" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Scripts that must be included in the HTML before the closing `` tag.", - "block": true - }, - "name": { - "kind": "Name", - "value": "head_includes" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The small graphic image (favicon) that appears in the address bar and tab of the browser.", - "block": true - }, - "name": { - "kind": "Name", - "value": "head_shortcut_icon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The path to the logo that appears in the header.", - "block": true - }, - "name": { - "kind": "Name", - "value": "header_logo_src" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `store_code` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the store view has been designated as the default within the store group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default_store" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the store group has been designated as the default within the website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default_store_group" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/options/guest_checkout", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_guest_checkout_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether negotiable quote functionality is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_negotiable_quote_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/options/onepage_checkout_enabled", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_one_page_checkout_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether requisition lists are enabled. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_requisition_list_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The format of the search results list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "list_mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default number of products per page in List View.", - "block": true - }, - "name": { - "kind": "Name", - "value": "list_per_page" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of numbers that define how many products can be displayed in List View.", - "block": true - }, - "name": { - "kind": "Name", - "value": "list_per_page_values" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The store locale.", - "block": true - }, - "name": { - "kind": "Name", - "value": "locale" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Alt text that is associated with the logo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "logo_alt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The height of the logo image, in pixels.", - "block": true - }, - "name": { - "kind": "Name", - "value": "logo_height" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The width of the logo image, in pixels.", - "block": true - }, - "name": { - "kind": "Name", - "value": "logo_width" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether reward points functionality is enabled. Possible values: 1 (Enabled) and 0 (Disabled).", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_general_is_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether reward points functionality is enabled on the storefront. Possible values: 1 (Enabled) and 0 (Disabled).", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_general_is_enabled_on_front" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum point balance customers must have before they can redeem them. A null value indicates no minimum.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_general_min_points_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "When enabled, customers can see a detailed history of their reward points. Possible values: 1 (Enabled) and 0 (Disabled).", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_general_publish_history" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points for a referral when an invitee registers on the site.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_invitation_customer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of registration referrals that will qualify for rewards. A null value indicates no limit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_invitation_customer_limit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points for a referral, when an invitee places their first order on the site.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_invitation_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of order conversions that can earn points for the customer who sends the invitation. A null value indicates no limit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_invitation_order_limit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points earned by registered customers who subscribe to a newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_newsletter" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates customers earn points for shopping according to the reward point exchange rate. In Luma, this also controls whether to show a message in the shopping cart about the rewards points earned for the purchase, as well as the customer’s current reward point balance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points customer gets for registering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_register" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points for writing a review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_review" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of reviews that will qualify for the rewards. A null value indicates no limit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_reward_points_review_limit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether wishlists are enabled (1) or disabled (0).", - "block": true - }, - "name": { - "kind": "Name", - "value": "magento_wishlist_general_is_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/options/max_items_display_count", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_items_in_order_summary" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If multiple wish lists are enabled, the maximum number of wish lists the customer can have.", - "block": true - }, - "name": { - "kind": "Name", - "value": "maximum_number_of_wishlists" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/sidebar/display", - "block": true - }, - "name": { - "kind": "Name", - "value": "minicart_display" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - checkout/sidebar/count", - "block": true - }, - "name": { - "kind": "Name", - "value": "minicart_max_items" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum number of characters required for a valid password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "minimum_password_length" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether newsletters are enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "newsletter_enabled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default page that displays when a 404 'Page not Found' error occurs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "no_route" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - general/country/optional_zip_countries", - "block": true - }, - "name": { - "kind": "Name", - "value": "optional_zip_countries" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether orders can be cancelled by customers or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_cancellation_enabled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing available cancellation reasons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_cancellation_reasons" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CancellationReason" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Payflow Pro vault status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_payflowpro_cc_vault_active" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default price of a printed card that accompanies an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "printed_card_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Corresponds to the 'Display Prices On Product View Page' field in the Admin. It indicates how FPT information is displayed on product pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_fixed_product_tax_display_setting" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FixedProductTaxDisplaySettings" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether product reviews are enabled. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_reviews_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The suffix applied to product pages, such as `.htm` or `.html`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether quick order functionality is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quickorder_active" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of different character classes (lowercase, uppercase, digits, special characters) required in a password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required_character_classes_number" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether RMA is enabled on the storefront. Possible values: enabled/disabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "returns_enabled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the root category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "root_category_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `root_category_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "root_category_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Corresponds to the 'Display Prices In Sales Modules' field in the Admin. It indicates how FPT information is displayed on cart, checkout, and order pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sales_fixed_product_tax_display_setting" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FixedProductTaxDisplaySettings" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if gift wrapping prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "sales_gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if printed card prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No).", - "block": true - }, - "name": { - "kind": "Name", - "value": "sales_printed_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A secure fully-qualified URL that is used to create relative links to the `base_url`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_base_link_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The secure fully-qualified URL that specifies the location of media files.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_base_media_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The secure fully-qualified URL that specifies the location of static view files.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_base_static_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The store’s fully-qualified secure base URL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_base_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Email to a Friend configuration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "send_friend" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendFriendConfiguration" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/full_summary", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_full_summary" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/grandtotal", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_grand_total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/price", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/shipping", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_shipping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/subtotal", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_subtotal" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/gift_wrapping", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_tax_gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TaxWrappingEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extended Config Data - tax/cart_display/zero_tax", - "block": true - }, - "name": { - "kind": "Name", - "value": "shopping_cart_display_zero_tax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes).", - "block": true - }, - "name": { - "kind": "Name", - "value": "show_cms_breadcrumbs" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID assigned to the store group. In the Admin, this is called the Store Name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_group_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the store group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_group_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the store view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The store view sort order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The time zone of the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "timezone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A prefix that appears before the title to create a two- or three-part title.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title_prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The character that separates the category name and subcategory in the browser title bar.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title_separator" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A suffix that appears after the title to create a two- or three-part title.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the store code should be used in the URL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_store_in_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for the website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the website store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unit of weight.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight_unit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Text that appears in the header of the page and includes the name of the logged in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "welcome" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether only specific countries can use this payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_enable_for_specific_countries" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the Zero Subtotal payment method is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of new orders placed using the Zero Subtotal payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_new_order_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "When the new order status is 'Processing', this can be set to `authorize_capture` to automatically invoice all items that have a zero balance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_payment_action" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of specific countries allowed to use the Zero Subtotal payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_payment_from_specific_countries" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number indicating the position of the Zero Subtotal payment method in the list of available payment methods during checkout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title of the Zero Subtotal payment method displayed on the storefront.", - "block": true - }, - "name": { - "kind": "Name", - "value": "zero_subtotal_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CmsPage" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The content of the CMS page in raw HTML.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The heading that displays at the top of the CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content_heading" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a CMS page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "identifier" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief description of the page for search results listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief description of the page for search results listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keywords" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A page title that is indexed by search engines and appears in search results listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The design layout of the page, indicating the number of columns and navigation features used on the page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_layout" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name that appears in the breadcrumb trail navigation and in the browser title bar and tab.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL key of the CMS page, which is often based on the `content_heading`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array CMS block items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CmsBlocks" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of CMS blocks.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CmsBlock" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a specific CMS block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CmsBlock" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The content of the CMS block in raw HTML.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The CMS block identifier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "identifier" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title assigned to the CMS block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. It should not be used on the storefront. Contains information about a website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Website" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A code assigned to the website to identify it.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default group ID of the website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_group_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether this is the default website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The website name. Websites use this name to identify it easier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute to use for sorting websites.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of custom and system attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributesMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataInterface" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An interface containing fields that define attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeMetadataInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute labels defined for the current store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_labels" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StoreLabels" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The data type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ObjectDataTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute is a system attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_system" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative position of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Frontend UI properties of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines frontend UI properties of an attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeOptionsInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines selectable input types of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectableInputTypeInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates if option is set to be used as default value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AttributeOptions" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionsInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeSelect" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionsInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectableInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeMultiSelect" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionsInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectableInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeBoolean" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionsInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectableInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeAny" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeTextarea" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeTextEditor" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the store code and label of an attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "StoreLabels" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The assigned store code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ObjectDataTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "STRING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FLOAT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BOOLEAN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "COMPLEX" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BOOLEAN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATETIME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GALLERY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IMAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MEDIA_IMAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MULTISELECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SELECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXTAREA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXTEDITOR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEIGHT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PAGEBUILDER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FIXED_PRODUCT_TAX" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains custom attribute value and metadata details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute metadata details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_metadata" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute value represented as entered data using input type like text field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_attribute_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredAttributeValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute value represented as selected options using input type like select.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_attribute_options" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedAttributeOption" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "SelectedAttributeOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected attribute option details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_option" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeOptionInterface" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "EnteredAttributeValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains fields that are common to all types of products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "This enumeration states whether a product stock status is in stock or out of stock", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductStockStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IN_STOCK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OUT_OF_STOCK" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `ProductPrice` instead. Defines the price of a product as well as any tax-related adjustments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Price" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that provides information about tax, weee, or weee_tax adjustments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "adjustments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceAdjustment" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `ProductPrice` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of a product plus a three-letter currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `ProductPrice` instead." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceAdjustment" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the price adjustment and its currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the adjustment involves tax, weee, or weee_tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceAdjustmentCodesEnum" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`PriceAdjustment` is deprecated." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the entity described by the code attribute is included or excluded from the adjustment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceAdjustmentDescriptionEnum" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`PriceAdjustment` is deprecated." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "`PriceAdjustment.code` is deprecated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceAdjustmentCodesEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TAX" - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`PriceAdjustmentCodesEnum` is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog." - } - } - ] - } - ] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEEE" - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "WEEE code is deprecated. Use `fixed_product_taxes.label` instead." - } - } - ] - } - ] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEEE_TAX" - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `fixed_product_taxes` instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog." - } - } - ] - } - ] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "`PriceAdjustmentDescriptionEnum` is deprecated. States whether a price adjustment is included or excluded.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceAdjustmentDescriptionEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INCLUDED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EXCLUDED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FIXED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PERCENT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DYNAMIC" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the customizable date type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableDateTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE_TIME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TIME" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `PriceRange` instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductPrices" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `to` value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "maximalPrice" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Price" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `PriceRange.maximum_price` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `from` value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "minimalPrice" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Price" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `PriceRange.minimum_price` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The base price of a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "regularPrice" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Price" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `regular_price` from `PriceRange.minimum_price` or `PriceRange.maximum_price` instead." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceRange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The highest possible price for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "maximum_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrice" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The lowest possible price for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "minimum_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrice" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Represents a product price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductPrice" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price discount. Represents the difference between the regular and final price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductDiscount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final price of the product after applying discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "final_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of the multiple Fixed Product Taxes that can be applied to a product price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fixed_product_taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FixedProductTax" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The regular price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "regular_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the discount applied to a product price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductDiscount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The actual value of the discount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount_off" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discount expressed a percentage.", - "block": true - }, - "name": { - "kind": "Name", - "value": "percent_off" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation of `ProductLinksInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductLinks" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of related, associated, upsell, or crosssell.", - "block": true - }, - "name": { - "kind": "Name", - "value": "link_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the linked product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "linked_product_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable).", - "block": true - }, - "name": { - "kind": "Name", - "value": "linked_product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position within the list of product links.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The identifier of the linked product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about linked products, including the link type and product type of each item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of related, associated, upsell, or crosssell.", - "block": true - }, - "name": { - "kind": "Name", - "value": "link_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the linked product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "linked_product_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable).", - "block": true - }, - "name": { - "kind": "Name", - "value": "linked_product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position within the list of product links.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The identifier of the linked product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains attributes specific to tangible products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PhysicalProductInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a text area that is defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableAreaOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that defines a text area.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableAreaValue" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized text area.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableAreaValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of characters that can be entered for this customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_characters" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableAreaValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the hierarchy of categories.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CategoryTree" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "automatic_sorting" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "available_sort_by" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of breadcrumb items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "breadcrumbs" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Breadcrumb" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A tree of child categories.", - "block": true - }, - "name": { - "kind": "Name", - "value": "children" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryTree" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "children_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a category CMS block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cms_block" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CmsBlock" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the category was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "custom_layout_update_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute to use for sorting.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_sort_by" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An optional description of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "display_mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "filter_price_range" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An ID that uniquely identifies the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "include_in_menu" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "is_anchor" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "landing_page" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The depth of the category within the tree.", - "block": true - }, - "name": { - "kind": "Name", - "value": "level" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "meta_keywords" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full category path.", - "block": true - }, - "name": { - "kind": "Name", - "value": "path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The category path within the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "path_in_store" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position of the category relative to other categories at the same level in tree.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The attributes to sort on, and whether to return the results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductAttributeSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryProducts" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the category is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the category was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL key assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL path assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the category URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a collection of `CategoryTree` objects and pagination information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CategoryResult" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of categories that match the filter criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryTree" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that includes the `page_info` and `currentPage` values specified in the query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of categories that match the criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a date picker that is defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableDateOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that defines a date field in a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableDateValue" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized date picker.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableDateValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "DATE, DATE_TIME or TIME", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableDateTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableDateValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a drop down menu that is defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableDropDownOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines the set of options for a drop down menu.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableDropDownValue" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized drop down menu.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableDropDownValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableDropDownValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a multiselect that is defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableMultipleOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines the set of options for a multiselect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableMultipleValue" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized multiselect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableMultipleValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableMultipleValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a text field that is defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableFieldOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that defines a text field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableFieldValue" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized text field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableFieldValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of characters that can be entered for this customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_characters" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the custom value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableFieldValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a file picker that is defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableFileOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that defines a file value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableFileValue" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized file picker.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableFileValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file extension to accept.", - "block": true - }, - "name": { - "kind": "Name", - "value": "file_extension" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum width of an image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image_size_x" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum height of an image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image_size_y" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableFileValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains basic information about a product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the image is hidden from view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "disabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The media item's position after it has been sorted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL of the product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains product image information, including the image URL and label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductImage" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the image is hidden from view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "disabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The media item's position after it has been sorted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL of the product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a product video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductVideo" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the image is hidden from view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "disabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The media item's position after it has been sorted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL of the product image or video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a `ProductMediaGalleryEntriesVideoContent` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_content" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductMediaGalleryEntriesVideoContent" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains basic information about a customizable option. It can be implemented by several types of configurable options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about customizable product options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the full set of attributes that can be returned in a category search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CategoryInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "automatic_sorting" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "available_sort_by" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of breadcrumb items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "breadcrumbs" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Breadcrumb" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "children_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a category CMS block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cms_block" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CmsBlock" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the category was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "custom_layout_update_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute to use for sorting.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_sort_by" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An optional description of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "display_mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "filter_price_range" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An ID that uniquely identifies the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "include_in_menu" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "is_anchor" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "landing_page" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The depth of the category within the tree.", - "block": true - }, - "name": { - "kind": "Name", - "value": "level" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "meta_keywords" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full category path.", - "block": true - }, - "name": { - "kind": "Name", - "value": "path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The category path within the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "path_in_store" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position of the category relative to other categories at the same level in tree.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The attributes to sort on, and whether to return the results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductAttributeSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryProducts" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the category is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the category was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL key assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL path assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the category URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about an individual category that comprises a breadcrumb.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Breadcrumb" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `category_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The category level.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_level" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Breadcrumb` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL key of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL path of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a set of radio buttons that are defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableRadioOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines a set of radio buttons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableRadioValue" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized set of radio buttons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableRadioValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the radio button is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableRadioValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about a set of checkbox values that are defined as part of a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableCheckboxOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Option ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the option is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines a set of checkbox values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableCheckboxValue" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the price and sku of a product whose page contains a customized set of checkbox values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableCheckboxValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price assigned to this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The Stock Keeping Unit for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which the checkbox value is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomizableCheckboxValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a virtual product, which is a non-tangible product that does not require shipping and is not kept in inventory.", - "block": true - }, - "name": { - "kind": "Name", - "value": "VirtualProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a simple product, which is tangible and is usually sold in single units or in fixed quantities.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SimpleProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PhysicalProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a `products` query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Products" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A bucket that contains the attribute code and label for each filterable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "aggregations" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AggregationsFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Aggregation" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Layered navigation filters array.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filters" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LayerFilter" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `aggregations` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products that match the specified search criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that includes the page_info and currentPage values specified in the query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that includes the default sort field and all available sort fields.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_fields" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortFields" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of search suggestions for case when search query have no results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suggestions" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchSuggestion" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of products that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that specifies the filters used in product aggregations.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AggregationsFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter category aggregations in layered navigation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AggregationsCategoryFilterInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Filter category aggregations in layered navigation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AggregationsCategoryFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to include only direct subcategories or all children categories at all levels.", - "block": true - }, - "name": { - "kind": "Name", - "value": "includeDirectChildrenOnly" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the products assigned to a category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CategoryProducts" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products that are assigned to the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductAttributeFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Brand", - "block": true - }, - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Gemstone Addon", - "block": true - }, - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Recyclable Material", - "block": true - }, - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: use `category_uid` to filter product by category ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter product by the unique ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter product by category URL path.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_url_path" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Color", - "block": true - }, - "name": { - "kind": "Name", - "value": "color" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Description", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Color", - "block": true - }, - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Material", - "block": true - }, - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Style", - "block": true - }, - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Format", - "block": true - }, - "name": { - "kind": "Name", - "value": "format" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Has Video", - "block": true - }, - "name": { - "kind": "Name", - "value": "has_video" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Product Name", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Price", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterRangeTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Short Description", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: SKU", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CategoryFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the unique category ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: use 'category_uid' to filter uniquely identifiers of categories.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ids" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the display name of the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the unique parent category ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_category_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the unique parent category ID for a `CategoryInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the part of the URL that identifies the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the URL path for the category.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_path" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The category ID the product belongs to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "category_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of a custom layout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_layout" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "XML code that is applied as a layout update to the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_layout_update" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether additional attributes have been created for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "has_options" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to a product image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image_label" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The numeric maximal price of the product. Do not include the currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The numeric minimal price of the product. Do not include the currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "news_from_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "news_to_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The keyword required to perform a logical OR comparison.", - "block": true - }, - "name": { - "kind": "Name", - "value": "or" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product has required options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required_options" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to a product's small image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image_label" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product. Do not include the currency code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The end date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to a product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail_label" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an image in base64 format and basic information about the image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductMediaGalleryEntriesContent" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The image in base64 format.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base64_encoded_data" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of the image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The MIME type of the file, such as image/png.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a link to a video file and basic information about the video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductMediaGalleryEntriesVideoContent" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Must be external-video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A description of the video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Optional data about the video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_metadata" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Describes the video source.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_provider" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title of the video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL to the video.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `ProductAttributeSortInput` instead. Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of a custom layout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_layout" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "XML code that is applied as a layout update to the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_layout_update" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether additional attributes have been created for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "has_options" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to a product image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image_label" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "news_from_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "news_to_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product has required options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required_options" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to a product's small image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image_label" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The end date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the criteria to sort swatches.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to a product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail_label" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductAttributeSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Brand", - "block": true - }, - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Product Name", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sort by the position assigned to each product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute label: Price", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sort by the search relevance score (default).", - "block": true - }, - "name": { - "kind": "Name", - "value": "relevance" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines characteristics about images and videos associated with a specific product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the content of the media gallery item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductMediaGalleryEntriesContent" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the image is hidden from view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "disabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The path of the image on the server.", - "block": true - }, - "name": { - "kind": "Name", - "value": "file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The identifier assigned to the object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The alt text displayed on the storefront when the user points to the image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Either `image` or `video`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The media item's position after it has been sorted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Array of image types. It can have the following values: image, small_image, thumbnail.", - "block": true - }, - "name": { - "kind": "Name", - "value": "types" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `MediaGalleryEntry` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the content of a video item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "video_content" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductMediaGalleryEntriesVideoContent" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information for rendering layered navigation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "LayerFilter" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of filter items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter_items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LayerFilterItemInterface" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `Aggregation.options` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The count of filter items in filter group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter_items_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `Aggregation.count` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of a layered navigation filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `Aggregation.label` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The request variable name for a filter query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "request_var" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `Aggregation.attribute_code` instead." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "LayerFilterItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The count of items per filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.count` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for a filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.label` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of a filter request variable to be used in query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_string" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.value` instead." - } - } - ] - } - ] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "LayerFilterItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The count of items per filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.count` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for a filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.label` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of a filter request variable to be used in query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_string" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.value` instead." - } - } - ] - } - ] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LayerFilterItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information for each filterable option (such as price, category `UID`, and custom attributes).", - "block": true - }, - "name": { - "kind": "Name", - "value": "Aggregation" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute code of the aggregation group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of options in the aggregation group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The aggregation display name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Array of options for the aggregation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AggregationOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative position of the attribute in a layered navigation block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A string that contains search suggestion", - "block": true - }, - "name": { - "kind": "Name", - "value": "SearchSuggestion" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The search suggestion of existing product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "search" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines aggregation option fields.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AggregationOptionInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items that match the aggregation option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display label for an aggregation option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID that represents the value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation of `AggregationOptionInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AggregationOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items that match the aggregation option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display label for an aggregation option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID that represents the value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AggregationOptionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a possible sort field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SortField" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the sort field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute code of the sort field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a default value for sort fields and all available sort fields.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SortFields" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The default sort field value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of possible sort fields.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortField" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a simple product wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SimpleWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a virtual product wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "VirtualWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Swatch attribute metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CatalogAttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "To which catalog types an attribute can be applied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "apply_to" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CatalogAttributeApplyToEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Default attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend class of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_class" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFrontendInputEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be compared against another or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_comparable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be filtered or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_filterable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be filtered in search or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_filterable_in_search" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can use HTML on front or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed_on_front" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be searched or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_searchable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value must be unique.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_unique" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute can be used for price rules or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_used_for_price_rules" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is used for promo rules or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_used_for_promo_rules" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is visible in advanced search or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible_in_advanced_search" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is visible on front or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible_on_front" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute has WYSIWYG enabled or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_wysiwyg_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Input type of the swatch attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchInputTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether update product preview image or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "update_product_preview_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether use product image for swatch or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_product_image_for_swatch" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether a product or category attribute is used in product listing or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "used_in_product_listing" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CatalogAttributeApplyToEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SIMPLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VIRTUAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BUNDLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DOWNLOADABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CONFIGURABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GROUPED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CATEGORY" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Errors when retrieving custom attributes metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Requested custom attributes", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the `uid`, `relative_url`, and `type` attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "EntityUrl" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `relative_url` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `entity_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirectCode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "This enumeration defines the entity type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CMS_PAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CATEGORY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PWA_404" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains URL rewrite details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UrlRewrite" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of request parameters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parameters" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "HttpQueryParameter" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The request URL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains target path parameters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "HttpQueryParameter" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A parameter name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A parameter value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Default implementation of RoutableInterface. This type is returned when the URL is not linked to an entity.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RoutableUrl" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Routable entities serve as the model for a rendered page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RoutableInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateGuestCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Optional client-generated ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Assigns a specific `cart_id` to the empty cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createEmptyCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID to assign to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the simple and group products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddSimpleProductsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of simple and group items to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SimpleProductCartItemInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a single product to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SimpleProductCartItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines customizable options for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the `sku`, `quantity`, and other relevant information about the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the virtual products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddVirtualProductsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of virtual products to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "VirtualProductCartItemInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a single product to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "VirtualProductCartItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines customizable options for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the `sku`, `quantity`, and other relevant information about the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an item to be added to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of entered options for the base product, such as personalization text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "For a child product, the SKU of its parent product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The amount or number of an item to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the field to use for sorting quote items", - "block": true - }, - "name": { - "kind": "Name", - "value": "SortQuoteItemsEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ITEM_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CREATED_AT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UPDATED_AT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SKU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NAME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DESCRIPTION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEIGHT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "QTY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOM_PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISCOUNT_PERCENT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISCOUNT_AMOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_DISCOUNT_AMOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TAX_PERCENT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TAX_AMOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_TAX_AMOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ROW_TOTAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_ROW_TOTAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ROW_TOTAL_WITH_DISCOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ROW_WEIGHT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_TYPE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_TAX_BEFORE_DISCOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TAX_BEFORE_DISCOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORIGINAL_CUSTOM_PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRICE_INC_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_PRICE_INC_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ROW_TOTAL_INC_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_ROW_TOTAL_INC_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISCOUNT_TAX_COMPENSATION_AMOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FREE_SHIPPING" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the field to use for sorting quote items", - "block": true - }, - "name": { - "kind": "Name", - "value": "QuoteItemsSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote items field to sort by", - "block": true - }, - "name": { - "kind": "Name", - "value": "field" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortQuoteItemsEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the order of quote items' sorting", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customizable option ID of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The string value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_string" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the coupon code to apply to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyCouponToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A valid coupon code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "coupon_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Modifies the specified items in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCartItemsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to be updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemUpdateInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A single item to be updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartItemUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `cart_item_uid` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_item_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_item_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines customizable options for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Gift message details for the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessageInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `GiftWrapping` object to be used for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new quantity of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which items to remove from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveItemFromCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `cart_item_uid` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_item_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required field. The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_item_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies an array of addresses to use for shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetShippingAddressesOnCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipping addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_addresses" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingAddressInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a single shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShippingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An ID from the customer's address book that uniquely identifies the address to be used for shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_address_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Text provided by the shopper.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_notes" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The code of Pickup Location which will be used for In-Store Pickup.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pickup_location_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Sets the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetBillingAddressOnCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "billing_address" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BillingAddressInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BillingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An ID from the customer's address book that uniquely identifies the address to be used for billing.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_address_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to set the billing address to be the same as the existing shipping address on the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "same_as_shipping" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to set the shipping address to be the same as this billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_for_shipping" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the billing or shipping address to be applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The city specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The country code and label for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The custom attribute values of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ZIP or postal code of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that defines the state or province of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An integer that defines the state or province of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Determines whether to save the address in the customer's address book. The default value is true.", - "block": true - }, - "name": { - "kind": "Name", - "value": "save_in_address_book" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the street for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The VAT company number for billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Applies one or shipping methods to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetShippingMethodsOnCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipping methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_methods" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingMethodInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the shipping carrier and method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShippingMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that identifies a commercial carrier or an offline delivery method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that indicates which service a commercial carrier will use to ship items. For offline delivery methods, this value is similar to the label displayed on the checkout page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "method_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Applies a payment method to the quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetPaymentMethodAndPlaceOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method data to apply to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_method" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentMethodInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote to be converted to an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Applies a payment method to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetPaymentMethodOnCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method data to apply to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_method" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentMethodInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_ach_direct_debit" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_ach_direct_debit_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeVaultInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_applepay_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeVaultInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_cc_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeCcVaultInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_googlepay_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeVaultInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_paypal" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "braintree_paypal_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BraintreeVaultInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The internal name for the payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for PayPal Hosted pro payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "hosted_pro" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "HostedProInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for Payflow Express Checkout payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payflow_express" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowExpressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for PayPal Payflow Link and Payments Advanced payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payflow_link" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowLinkInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for PayPal Payflow Pro and Payment Pro payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payflowpro" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowProInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for PayPal Payflow Pro vault payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payflowpro_cc_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "VaultTokenInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for Apple Pay button", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_services_paypal_apple_pay" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplePayMethodInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for Google Pay button", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_services_paypal_google_pay" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GooglePayMethodInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for Hosted Fields", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_services_paypal_hosted_fields" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "HostedFieldsInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for Smart buttons", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_services_paypal_smart_buttons" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SmartButtonMethodInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for vault", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_services_paypal_vault" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "VaultMethodInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for Express Checkout and Payments Standard payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_express" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaypalExpressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order number. Optional for most payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_number" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the guest email and cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetGuestEmailOnCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the final price of items in the cart, including discount and tax information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartPrices" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the names and amounts of taxes applied to each item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartTaxItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartDiscount" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use discounts instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing cart rule discounts, store credit and gift cards applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of prices for the selected gift options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_options" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftOptionsPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total, including discounts, taxes, shipping, and other fees.", - "block": true - }, - "name": { - "kind": "Name", - "value": "grand_total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subtotal without any applied taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subtotal_excluding_tax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subtotal including any applied taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subtotal_including_tax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subtotal with any discounts applied, but not taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subtotal_with_discount_excluding_tax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains tax information about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartTaxItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of tax applied to the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about discounts applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartDiscount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the discount applied to the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the discount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateGuestCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The newly created cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after setting the payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetPaymentMethodOnCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after setting the payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after setting the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetBillingAddressOnCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after setting the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after setting the shipping addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetShippingAddressesOnCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after setting the shipping addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after setting the shipping methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetShippingMethodsOnCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after setting the shipping methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after applying a coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyCouponToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after applying a coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of the request to place an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of place order errors.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Order" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `orderV2` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Full order information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "orderV2" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An error encountered while placing an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceOrderError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An error code that is specific to place order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PlaceOrderErrorCodes" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the contents and other details about a guest or customer cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Cart" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "applied_coupon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AppliedCoupon" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `applied_coupons` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_coupons" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AppliedCoupon" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of gift card items applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_gift_cards" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AppliedGiftCard" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of reward points applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_reward_points" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsAmount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Store credit information applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_store_credit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AppliedStoreCredit" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of available gift wrapping options for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_gift_wrappings" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of available payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_payment_methods" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AvailablePaymentMethod" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address assigned to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "billing_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BillingCartAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the guest or customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered gift message for the cart", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the shopper requested gift receipt for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_receipt_included" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the cart contains only virtual products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_virtual" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products that have been added to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `itemsV2` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "itemsV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "QuoteItemsSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItems" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pricing details for the quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the shopper requested a printed card for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "printed_card_included" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates which payment method was applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_payment_method" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedPaymentMethod" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipping addresses assigned to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_addresses" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingCartAddress" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of items in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of items in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_summary_quantity_including_config" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CartItems" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products that have been added to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata for pagination rendering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "CartAddressInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The city specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the country label and code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressCountry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The custom attribute values of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ZIP or postal code of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region label and code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the street for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique id of the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The VAT company number for billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains shipping addresses and methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShippingCartAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that lists the shipping methods that can be applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_shipping_methods" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AvailableShippingMethod" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "cart_items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemQuantity" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `cart_items_v2` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that lists the items in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items_v2" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The city specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the country label and code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressCountry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The custom attribute values of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Text provided by the shopper.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_notes" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "items_weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "This information should not be exposed on the frontend." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pickup_location_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ZIP or postal code of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region label and code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that describes the selected shipping method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_shipping_method" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedShippingMethod" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the street for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique id of the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The VAT company number for billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BillingCartAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The city specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the country label and code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressCountry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The custom attribute values of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "customer_notes" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field is used only in shipping address." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the customer or guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ZIP or postal code of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region label and code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the street for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique id of the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The VAT company number for billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartAddressInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartItemQuantity" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "cart_item_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the region in a billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartAddressRegion" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The state or province code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display label for the region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a pre-defined region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details the country in a billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartAddressCountry" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The country code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display label for the country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the selected shipping method and carrier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedShippingMethod" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cost of shipping using this shipping method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "base_amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that identifies a commercial carrier or an offline shipping method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for the carrier code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier_title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A shipping method code associated with a carrier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "method_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for the method code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "method_title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cost of shipping using this shipping method, excluding tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_excl_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cost of shipping using this shipping method, including tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_incl_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the possible shipping methods and carriers.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AvailableShippingMethod" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cost of shipping using this shipping method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether this shipping method can be applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "base_amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that identifies a commercial carrier or an offline shipping method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for the carrier code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier_title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Describes an error condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "error_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A shipping method code associated with a carrier. The value could be null if no method is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "method_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for the shipping method code. The value could be null if no method is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "method_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cost of shipping using this shipping method, excluding tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_excl_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cost of shipping using this shipping method, including tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_incl_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describes a payment method that the shopper can use to pay for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AvailablePaymentMethod" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the payment method is an online integration", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_deferred" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method title.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describes the payment method the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedPaymentMethod" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_number" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method title.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the applied coupon code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AppliedCoupon" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The coupon code the shopper applied to the card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the cart from which to remove a coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveCouponFromCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after removing a coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveCouponFromCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after removing a coupon.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after adding simple or group products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddSimpleProductsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after adding virtual products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddVirtualProductsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after updating items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCartItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after updating products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after removing an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveItemFromCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after removing an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after setting the email of a guest.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetGuestEmailOnCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after setting the guest email.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation for simple product cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SimpleCartItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of available gift wrapping options for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the customizable options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered gift message for the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation for virtual product cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "VirtualCartItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing customizable options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An interface for products in a cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CartItemError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An error code that describes the error encountered", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemErrorType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CartItemErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ITEM_QTY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ITEM_INCREMENTS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the discount type and value for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Discount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the discount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of the entity the discount is applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_to" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartDiscountType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The coupon related to the discount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "coupon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AppliedCoupon" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is quote discounting locked for line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_discounting_locked" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A description of the discount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Quote line item discount type. Values: 1 = PERCENTAGE_DISCOUNT; 2 = AMOUNT_DISCOUNT; 3 = PROPOSED_TOTAL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Quote line item discount value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CartDiscountType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ITEM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SHIPPING" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartItemPrices" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of discounts to be applied to the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of FPTs applied to the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fixed_product_taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FixedProductTax" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_including_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the price multiplied by the quantity of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "row_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of `row_total` plus the tax applied to the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "row_total_including_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total of all discounts applied to the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_item_discount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies a customized product that has been placed in a cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a specific `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_option_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `SelectedCustomizableOption.customizable_option_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customizable option is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the selected customizable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value indicating the order to display this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of `CustomizableOptionInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selectable values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "values" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOptionValue" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies the value of the selected customized option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedCustomizableOptionValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a value object that corresponds to the object represented by the `customizable_option_uid` attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_option_value_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `SelectedCustomizableOptionValue.customizable_option_value_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the selected value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the selected customizable value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemSelectedOptionValuePrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The text identifying the selected value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of a selected customizable value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartItemSelectedOptionValuePrice" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the price type is fixed, percent, or dynamic.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that describes the unit of the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "units" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A price value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the order ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Order" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "order_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `order_number` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `Order` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An error encountered while adding an item to the the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CartUserInputError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A cart-specific error code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartUserInputErrorType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after adding products to it.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddProductsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after products have been added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains errors encountered while adding an item to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartUserInputError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CartUserInputErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_SALABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INSUFFICIENT_STOCK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PERMISSION_DENIED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PlaceOrderErrorCodes" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CART_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CART_NOT_ACTIVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GUEST_EMAIL_MISSING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNABLE_TO_PLACE_ORDER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "EstimateTotalsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Customer's address to estimate totals.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EstimateAddressInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the cart to query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Selected shipping method to estimate totals.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_method" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingMethodInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Estimate totals output.", - "block": true - }, - "name": { - "kind": "Name", - "value": "EstimateTotalsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Cart after totals estimation", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about an address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "EstimateAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The two-letter code representing the customer's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name, region code, and region ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressRegionInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines details about an individual checkout agreement.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CheckoutAgreement" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID for a checkout agreement.", - "block": true - }, - "name": { - "kind": "Name", - "value": "agreement_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The checkbox text for the checkout agreement.", - "block": true - }, - "name": { - "kind": "Name", - "value": "checkbox_text" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Required. The text of the agreement.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The height of the text box where the Terms and Conditions statement appears during checkout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content_height" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the `content` text is in HTML format.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether agreements are accepted automatically or manually.", - "block": true - }, - "name": { - "kind": "Name", - "value": "mode" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CheckoutAgreementMode" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name given to the condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates how agreements are accepted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CheckoutAgreementMode" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Conditions are automatically accepted upon checkout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AUTO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Shoppers must manually accept the conditions to place an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MANUAL" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a customer email address to confirm.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfirmEmailInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The key to confirm the email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "confirmation_key" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address to be confirmed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's city or town.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The two-letter code representing the customer's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: use `country_code` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use custom_attributesV2 instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressAttributeInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Custom attributes assigned to the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the address is the default billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_billing" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the address is the default shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_shipping" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The family name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the billing/shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name, region code, and region ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressRegionInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street number and name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Tax/VAT number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the customer's state or province.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAddressRegionInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The state or province name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The address region code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a pre-defined region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the attribute code and value of a customer attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAddressAttributeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The value assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a customer authorization token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerToken" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Generate logout time", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_token_lifetime" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer authorization token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that assigns or updates customer attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's date of birth.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date_of_birth" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: Use `date_of_birth` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dob" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address. Required when creating a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's gender (Male - 1, Female - 2).", - "block": true - }, - "name": { - "kind": "Name", - "value": "gender" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer is subscribed to the company's newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_subscribed" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's family name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's middle name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "password" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Tax/VAT number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxvat" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object for creating a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerCreateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer has enabled remote shopping assistance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_remote_shopping_assistance" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's date of birth.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date_of_birth" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: Use `date_of_birth` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dob" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's gender (Male - 1, Female - 2).", - "block": true - }, - "name": { - "kind": "Name", - "value": "gender" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer is subscribed to the company's newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_subscribed" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's family name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's middle name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's password.", - "block": true - }, - "name": { - "kind": "Name", - "value": "password" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Tax/VAT number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxvat" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object for updating a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer has enabled remote shopping assistance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_remote_shopping_assistance" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's date of birth.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date_of_birth" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: Use `date_of_birth` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dob" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's gender (Male - 1, Female - 2).", - "block": true - }, - "name": { - "kind": "Name", - "value": "gender" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer is subscribed to the company's newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_subscribed" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's family name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's middle name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Tax/VAT number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxvat" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a newly-created or updated customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Customer details after creating or updating a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the result of a request to revoke a customer token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RevokeCustomerTokenOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The result of a request to revoke a customer token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the customer name, addresses, and other details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Customer" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the customer's shipping and billing addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addresses" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddress" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer has enabled remote shopping assistance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_remote_shopping_assistance" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that contains a list of companies user is assigned to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "companies" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserCompaniesInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserCompaniesOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The contents of the customer's compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "compare_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompareList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's confirmation status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "confirmation_status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfirmationStatusEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the account was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Customer's custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "attributeCodes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's date of birth.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date_of_birth" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_billing" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_shipping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's date of birth.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dob" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `date_of_birth` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's email address. Required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's gender (Male - 1, Female - 2).", - "block": true - }, - "name": { - "kind": "Name", - "value": "gender" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about all of the customer's gift registries.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a specific gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "giftRegistryUid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "group_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Customer group should not be exposed in the storefront scenarios." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`id` is not needed as part of `Customer`, because on the server side, it can be identified based on the customer token used for authentication. There is no need to know customer ID on the client side." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Customer's confirmation status (confirmed/confirmation not required - true, unconfirmed - false).", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_confirmed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer is subscribed to the company's newsletter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_subscribed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The job title of a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "job_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's family name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's middle name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "orders" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the filter to use for searching customer orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrdersFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which field to sort on, and whether to return the results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrderSortInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores.", - "block": true - }, - "name": { - "kind": "Name", - "value": "scope" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ScopeTypeEnum" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrders" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrder" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a single purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_approval_rule" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRule" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order approval rule metadata that can be used for rule edit form rendering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_approval_rule_metadata" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleMetadata" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of purchase order approval rules visible to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_approval_rules" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRules" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of purchase orders visible to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_orders" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrdersFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrders" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether purchase order functionality is enabled for the current customer. Global and company-level settings are factored into the result.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_orders_enabled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that contains the customer's requisition lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_lists" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The filter to use to limit the number of requisition lists to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionLists" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the specified return request from the unique ID for a `Return` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Return" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the customer's return requests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "returns" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Returns" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's product reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Customer reward points details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reward_points" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPoints" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The role name and permissions assigned to the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the company user is ACTIVE or INACTIVE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserStatusEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Store credit information applied for the logged in customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_credit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerStoreCredit" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "ID of the company structure", - "block": true - }, - "name": { - "kind": "Name", - "value": "structure_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Value-added tax (VAT) number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxvat" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The team the company user is assigned to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "team" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeam" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The phone number of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return a customer's wish lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `Customer.wishlists` or `Customer.wishlist_v2` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieve the wish list identified by the unique ID for a `Wishlist` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist_v2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlists" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the maximum number of results to return at once. This attribute is optional.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains detailed information about a customer's billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's city or town.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `country_code` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressAttribute" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use custom_attributesV2 instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom attributes assigned to the customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "attributeCodes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`customer_id` is not needed as part of `CustomerAddress`. The `id` is a unique identifier for the addresses." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the address is the customer's default billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_billing" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the address is the customer's default shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_shipping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains any extension attributes for the address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "extension_attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressAttribute" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the person associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a `CustomerAddress` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The family name of the person associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name, region code, and region ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a pre-defined region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street number and name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Value-added tax (VAT) number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the customer's state or province.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAddressRegion" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The state or province name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The address region code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a pre-defined region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the attribute code and value of a customer address attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAddressAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name assigned to the customer address attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value assigned to the customer address attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the result of the `isEmailAvailable` query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "IsEmailAvailableOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the specified email address can be used to create a customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_email_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The list of country codes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Afghanistan", - "block": true - }, - "name": { - "kind": "Name", - "value": "AF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Åland Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "AX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Albania", - "block": true - }, - "name": { - "kind": "Name", - "value": "AL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Algeria", - "block": true - }, - "name": { - "kind": "Name", - "value": "DZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "American Samoa", - "block": true - }, - "name": { - "kind": "Name", - "value": "AS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Andorra", - "block": true - }, - "name": { - "kind": "Name", - "value": "AD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Angola", - "block": true - }, - "name": { - "kind": "Name", - "value": "AO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Anguilla", - "block": true - }, - "name": { - "kind": "Name", - "value": "AI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Antarctica", - "block": true - }, - "name": { - "kind": "Name", - "value": "AQ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Antigua & Barbuda", - "block": true - }, - "name": { - "kind": "Name", - "value": "AG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Argentina", - "block": true - }, - "name": { - "kind": "Name", - "value": "AR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Armenia", - "block": true - }, - "name": { - "kind": "Name", - "value": "AM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Aruba", - "block": true - }, - "name": { - "kind": "Name", - "value": "AW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Australia", - "block": true - }, - "name": { - "kind": "Name", - "value": "AU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Austria", - "block": true - }, - "name": { - "kind": "Name", - "value": "AT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Azerbaijan", - "block": true - }, - "name": { - "kind": "Name", - "value": "AZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bahamas", - "block": true - }, - "name": { - "kind": "Name", - "value": "BS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bahrain", - "block": true - }, - "name": { - "kind": "Name", - "value": "BH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bangladesh", - "block": true - }, - "name": { - "kind": "Name", - "value": "BD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Barbados", - "block": true - }, - "name": { - "kind": "Name", - "value": "BB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Belarus", - "block": true - }, - "name": { - "kind": "Name", - "value": "BY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Belgium", - "block": true - }, - "name": { - "kind": "Name", - "value": "BE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Belize", - "block": true - }, - "name": { - "kind": "Name", - "value": "BZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Benin", - "block": true - }, - "name": { - "kind": "Name", - "value": "BJ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bermuda", - "block": true - }, - "name": { - "kind": "Name", - "value": "BM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bhutan", - "block": true - }, - "name": { - "kind": "Name", - "value": "BT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bolivia", - "block": true - }, - "name": { - "kind": "Name", - "value": "BO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bosnia & Herzegovina", - "block": true - }, - "name": { - "kind": "Name", - "value": "BA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Botswana", - "block": true - }, - "name": { - "kind": "Name", - "value": "BW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bouvet Island", - "block": true - }, - "name": { - "kind": "Name", - "value": "BV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Brazil", - "block": true - }, - "name": { - "kind": "Name", - "value": "BR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "British Indian Ocean Territory", - "block": true - }, - "name": { - "kind": "Name", - "value": "IO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "British Virgin Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "VG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Brunei", - "block": true - }, - "name": { - "kind": "Name", - "value": "BN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Bulgaria", - "block": true - }, - "name": { - "kind": "Name", - "value": "BG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Burkina Faso", - "block": true - }, - "name": { - "kind": "Name", - "value": "BF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Burundi", - "block": true - }, - "name": { - "kind": "Name", - "value": "BI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cambodia", - "block": true - }, - "name": { - "kind": "Name", - "value": "KH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cameroon", - "block": true - }, - "name": { - "kind": "Name", - "value": "CM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Canada", - "block": true - }, - "name": { - "kind": "Name", - "value": "CA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cape Verde", - "block": true - }, - "name": { - "kind": "Name", - "value": "CV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cayman Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "KY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Central African Republic", - "block": true - }, - "name": { - "kind": "Name", - "value": "CF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Chad", - "block": true - }, - "name": { - "kind": "Name", - "value": "TD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Chile", - "block": true - }, - "name": { - "kind": "Name", - "value": "CL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "China", - "block": true - }, - "name": { - "kind": "Name", - "value": "CN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Christmas Island", - "block": true - }, - "name": { - "kind": "Name", - "value": "CX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cocos (Keeling) Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "CC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Colombia", - "block": true - }, - "name": { - "kind": "Name", - "value": "CO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Comoros", - "block": true - }, - "name": { - "kind": "Name", - "value": "KM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Congo-Brazzaville", - "block": true - }, - "name": { - "kind": "Name", - "value": "CG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Congo-Kinshasa", - "block": true - }, - "name": { - "kind": "Name", - "value": "CD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cook Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "CK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Costa Rica", - "block": true - }, - "name": { - "kind": "Name", - "value": "CR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Côte d’Ivoire", - "block": true - }, - "name": { - "kind": "Name", - "value": "CI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Croatia", - "block": true - }, - "name": { - "kind": "Name", - "value": "HR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cuba", - "block": true - }, - "name": { - "kind": "Name", - "value": "CU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cyprus", - "block": true - }, - "name": { - "kind": "Name", - "value": "CY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Czech Republic", - "block": true - }, - "name": { - "kind": "Name", - "value": "CZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Denmark", - "block": true - }, - "name": { - "kind": "Name", - "value": "DK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Djibouti", - "block": true - }, - "name": { - "kind": "Name", - "value": "DJ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Dominica", - "block": true - }, - "name": { - "kind": "Name", - "value": "DM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Dominican Republic", - "block": true - }, - "name": { - "kind": "Name", - "value": "DO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Ecuador", - "block": true - }, - "name": { - "kind": "Name", - "value": "EC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Egypt", - "block": true - }, - "name": { - "kind": "Name", - "value": "EG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "El Salvador", - "block": true - }, - "name": { - "kind": "Name", - "value": "SV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Equatorial Guinea", - "block": true - }, - "name": { - "kind": "Name", - "value": "GQ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Eritrea", - "block": true - }, - "name": { - "kind": "Name", - "value": "ER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Estonia", - "block": true - }, - "name": { - "kind": "Name", - "value": "EE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Eswatini", - "block": true - }, - "name": { - "kind": "Name", - "value": "SZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Ethiopia", - "block": true - }, - "name": { - "kind": "Name", - "value": "ET" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Falkland Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "FK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Faroe Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "FO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Fiji", - "block": true - }, - "name": { - "kind": "Name", - "value": "FJ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Finland", - "block": true - }, - "name": { - "kind": "Name", - "value": "FI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "France", - "block": true - }, - "name": { - "kind": "Name", - "value": "FR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "French Guiana", - "block": true - }, - "name": { - "kind": "Name", - "value": "GF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "French Polynesia", - "block": true - }, - "name": { - "kind": "Name", - "value": "PF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "French Southern Territories", - "block": true - }, - "name": { - "kind": "Name", - "value": "TF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Gabon", - "block": true - }, - "name": { - "kind": "Name", - "value": "GA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Gambia", - "block": true - }, - "name": { - "kind": "Name", - "value": "GM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Georgia", - "block": true - }, - "name": { - "kind": "Name", - "value": "GE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Germany", - "block": true - }, - "name": { - "kind": "Name", - "value": "DE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Ghana", - "block": true - }, - "name": { - "kind": "Name", - "value": "GH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Gibraltar", - "block": true - }, - "name": { - "kind": "Name", - "value": "GI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Greece", - "block": true - }, - "name": { - "kind": "Name", - "value": "GR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Greenland", - "block": true - }, - "name": { - "kind": "Name", - "value": "GL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Grenada", - "block": true - }, - "name": { - "kind": "Name", - "value": "GD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guadeloupe", - "block": true - }, - "name": { - "kind": "Name", - "value": "GP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guam", - "block": true - }, - "name": { - "kind": "Name", - "value": "GU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guatemala", - "block": true - }, - "name": { - "kind": "Name", - "value": "GT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guernsey", - "block": true - }, - "name": { - "kind": "Name", - "value": "GG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guinea", - "block": true - }, - "name": { - "kind": "Name", - "value": "GN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guinea-Bissau", - "block": true - }, - "name": { - "kind": "Name", - "value": "GW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Guyana", - "block": true - }, - "name": { - "kind": "Name", - "value": "GY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Haiti", - "block": true - }, - "name": { - "kind": "Name", - "value": "HT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Heard & McDonald Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "HM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Honduras", - "block": true - }, - "name": { - "kind": "Name", - "value": "HN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Hong Kong SAR China", - "block": true - }, - "name": { - "kind": "Name", - "value": "HK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Hungary", - "block": true - }, - "name": { - "kind": "Name", - "value": "HU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Iceland", - "block": true - }, - "name": { - "kind": "Name", - "value": "IS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "India", - "block": true - }, - "name": { - "kind": "Name", - "value": "IN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indonesia", - "block": true - }, - "name": { - "kind": "Name", - "value": "ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Iran", - "block": true - }, - "name": { - "kind": "Name", - "value": "IR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Iraq", - "block": true - }, - "name": { - "kind": "Name", - "value": "IQ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Ireland", - "block": true - }, - "name": { - "kind": "Name", - "value": "IE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Isle of Man", - "block": true - }, - "name": { - "kind": "Name", - "value": "IM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Israel", - "block": true - }, - "name": { - "kind": "Name", - "value": "IL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Italy", - "block": true - }, - "name": { - "kind": "Name", - "value": "IT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Jamaica", - "block": true - }, - "name": { - "kind": "Name", - "value": "JM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Japan", - "block": true - }, - "name": { - "kind": "Name", - "value": "JP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Jersey", - "block": true - }, - "name": { - "kind": "Name", - "value": "JE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Jordan", - "block": true - }, - "name": { - "kind": "Name", - "value": "JO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Kazakhstan", - "block": true - }, - "name": { - "kind": "Name", - "value": "KZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Kenya", - "block": true - }, - "name": { - "kind": "Name", - "value": "KE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Kiribati", - "block": true - }, - "name": { - "kind": "Name", - "value": "KI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Kuwait", - "block": true - }, - "name": { - "kind": "Name", - "value": "KW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Kyrgyzstan", - "block": true - }, - "name": { - "kind": "Name", - "value": "KG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Laos", - "block": true - }, - "name": { - "kind": "Name", - "value": "LA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Latvia", - "block": true - }, - "name": { - "kind": "Name", - "value": "LV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Lebanon", - "block": true - }, - "name": { - "kind": "Name", - "value": "LB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Lesotho", - "block": true - }, - "name": { - "kind": "Name", - "value": "LS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Liberia", - "block": true - }, - "name": { - "kind": "Name", - "value": "LR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Libya", - "block": true - }, - "name": { - "kind": "Name", - "value": "LY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Liechtenstein", - "block": true - }, - "name": { - "kind": "Name", - "value": "LI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Lithuania", - "block": true - }, - "name": { - "kind": "Name", - "value": "LT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Luxembourg", - "block": true - }, - "name": { - "kind": "Name", - "value": "LU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Macau SAR China", - "block": true - }, - "name": { - "kind": "Name", - "value": "MO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Macedonia", - "block": true - }, - "name": { - "kind": "Name", - "value": "MK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Madagascar", - "block": true - }, - "name": { - "kind": "Name", - "value": "MG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Malawi", - "block": true - }, - "name": { - "kind": "Name", - "value": "MW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Malaysia", - "block": true - }, - "name": { - "kind": "Name", - "value": "MY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Maldives", - "block": true - }, - "name": { - "kind": "Name", - "value": "MV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mali", - "block": true - }, - "name": { - "kind": "Name", - "value": "ML" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Malta", - "block": true - }, - "name": { - "kind": "Name", - "value": "MT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Marshall Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "MH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Martinique", - "block": true - }, - "name": { - "kind": "Name", - "value": "MQ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mauritania", - "block": true - }, - "name": { - "kind": "Name", - "value": "MR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mauritius", - "block": true - }, - "name": { - "kind": "Name", - "value": "MU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mayotte", - "block": true - }, - "name": { - "kind": "Name", - "value": "YT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mexico", - "block": true - }, - "name": { - "kind": "Name", - "value": "MX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Micronesia", - "block": true - }, - "name": { - "kind": "Name", - "value": "FM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Moldova", - "block": true - }, - "name": { - "kind": "Name", - "value": "MD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Monaco", - "block": true - }, - "name": { - "kind": "Name", - "value": "MC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mongolia", - "block": true - }, - "name": { - "kind": "Name", - "value": "MN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Montenegro", - "block": true - }, - "name": { - "kind": "Name", - "value": "ME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Montserrat", - "block": true - }, - "name": { - "kind": "Name", - "value": "MS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Morocco", - "block": true - }, - "name": { - "kind": "Name", - "value": "MA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Mozambique", - "block": true - }, - "name": { - "kind": "Name", - "value": "MZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Myanmar (Burma)", - "block": true - }, - "name": { - "kind": "Name", - "value": "MM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Namibia", - "block": true - }, - "name": { - "kind": "Name", - "value": "NA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Nauru", - "block": true - }, - "name": { - "kind": "Name", - "value": "NR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Nepal", - "block": true - }, - "name": { - "kind": "Name", - "value": "NP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Netherlands", - "block": true - }, - "name": { - "kind": "Name", - "value": "NL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Netherlands Antilles", - "block": true - }, - "name": { - "kind": "Name", - "value": "AN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "New Caledonia", - "block": true - }, - "name": { - "kind": "Name", - "value": "NC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "New Zealand", - "block": true - }, - "name": { - "kind": "Name", - "value": "NZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Nicaragua", - "block": true - }, - "name": { - "kind": "Name", - "value": "NI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Niger", - "block": true - }, - "name": { - "kind": "Name", - "value": "NE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Nigeria", - "block": true - }, - "name": { - "kind": "Name", - "value": "NG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Niue", - "block": true - }, - "name": { - "kind": "Name", - "value": "NU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Norfolk Island", - "block": true - }, - "name": { - "kind": "Name", - "value": "NF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Northern Mariana Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "MP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "North Korea", - "block": true - }, - "name": { - "kind": "Name", - "value": "KP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Norway", - "block": true - }, - "name": { - "kind": "Name", - "value": "NO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Oman", - "block": true - }, - "name": { - "kind": "Name", - "value": "OM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Pakistan", - "block": true - }, - "name": { - "kind": "Name", - "value": "PK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Palau", - "block": true - }, - "name": { - "kind": "Name", - "value": "PW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Palestinian Territories", - "block": true - }, - "name": { - "kind": "Name", - "value": "PS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Panama", - "block": true - }, - "name": { - "kind": "Name", - "value": "PA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Papua New Guinea", - "block": true - }, - "name": { - "kind": "Name", - "value": "PG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Paraguay", - "block": true - }, - "name": { - "kind": "Name", - "value": "PY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Peru", - "block": true - }, - "name": { - "kind": "Name", - "value": "PE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Philippines", - "block": true - }, - "name": { - "kind": "Name", - "value": "PH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Pitcairn Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "PN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Poland", - "block": true - }, - "name": { - "kind": "Name", - "value": "PL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Portugal", - "block": true - }, - "name": { - "kind": "Name", - "value": "PT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Qatar", - "block": true - }, - "name": { - "kind": "Name", - "value": "QA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Réunion", - "block": true - }, - "name": { - "kind": "Name", - "value": "RE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Romania", - "block": true - }, - "name": { - "kind": "Name", - "value": "RO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Russia", - "block": true - }, - "name": { - "kind": "Name", - "value": "RU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Rwanda", - "block": true - }, - "name": { - "kind": "Name", - "value": "RW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Samoa", - "block": true - }, - "name": { - "kind": "Name", - "value": "WS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "San Marino", - "block": true - }, - "name": { - "kind": "Name", - "value": "SM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "São Tomé & Príncipe", - "block": true - }, - "name": { - "kind": "Name", - "value": "ST" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Saudi Arabia", - "block": true - }, - "name": { - "kind": "Name", - "value": "SA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Senegal", - "block": true - }, - "name": { - "kind": "Name", - "value": "SN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Serbia", - "block": true - }, - "name": { - "kind": "Name", - "value": "RS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Seychelles", - "block": true - }, - "name": { - "kind": "Name", - "value": "SC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sierra Leone", - "block": true - }, - "name": { - "kind": "Name", - "value": "SL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Singapore", - "block": true - }, - "name": { - "kind": "Name", - "value": "SG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Slovakia", - "block": true - }, - "name": { - "kind": "Name", - "value": "SK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Slovenia", - "block": true - }, - "name": { - "kind": "Name", - "value": "SI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Solomon Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "SB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Somalia", - "block": true - }, - "name": { - "kind": "Name", - "value": "SO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "South Africa", - "block": true - }, - "name": { - "kind": "Name", - "value": "ZA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "South Georgia & South Sandwich Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "GS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "South Korea", - "block": true - }, - "name": { - "kind": "Name", - "value": "KR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Spain", - "block": true - }, - "name": { - "kind": "Name", - "value": "ES" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sri Lanka", - "block": true - }, - "name": { - "kind": "Name", - "value": "LK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Barthélemy", - "block": true - }, - "name": { - "kind": "Name", - "value": "BL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Helena", - "block": true - }, - "name": { - "kind": "Name", - "value": "SH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Kitts & Nevis", - "block": true - }, - "name": { - "kind": "Name", - "value": "KN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Lucia", - "block": true - }, - "name": { - "kind": "Name", - "value": "LC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Martin", - "block": true - }, - "name": { - "kind": "Name", - "value": "MF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Pierre & Miquelon", - "block": true - }, - "name": { - "kind": "Name", - "value": "PM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "St. Vincent & Grenadines", - "block": true - }, - "name": { - "kind": "Name", - "value": "VC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sudan", - "block": true - }, - "name": { - "kind": "Name", - "value": "SD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Suriname", - "block": true - }, - "name": { - "kind": "Name", - "value": "SR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Svalbard & Jan Mayen", - "block": true - }, - "name": { - "kind": "Name", - "value": "SJ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sweden", - "block": true - }, - "name": { - "kind": "Name", - "value": "SE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Switzerland", - "block": true - }, - "name": { - "kind": "Name", - "value": "CH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Syria", - "block": true - }, - "name": { - "kind": "Name", - "value": "SY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Taiwan", - "block": true - }, - "name": { - "kind": "Name", - "value": "TW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tajikistan", - "block": true - }, - "name": { - "kind": "Name", - "value": "TJ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tanzania", - "block": true - }, - "name": { - "kind": "Name", - "value": "TZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Thailand", - "block": true - }, - "name": { - "kind": "Name", - "value": "TH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Timor-Leste", - "block": true - }, - "name": { - "kind": "Name", - "value": "TL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Togo", - "block": true - }, - "name": { - "kind": "Name", - "value": "TG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tokelau", - "block": true - }, - "name": { - "kind": "Name", - "value": "TK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tonga", - "block": true - }, - "name": { - "kind": "Name", - "value": "TO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Trinidad & Tobago", - "block": true - }, - "name": { - "kind": "Name", - "value": "TT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tunisia", - "block": true - }, - "name": { - "kind": "Name", - "value": "TN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Turkey", - "block": true - }, - "name": { - "kind": "Name", - "value": "TR" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Turkmenistan", - "block": true - }, - "name": { - "kind": "Name", - "value": "TM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Turks & Caicos Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "TC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tuvalu", - "block": true - }, - "name": { - "kind": "Name", - "value": "TV" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Uganda", - "block": true - }, - "name": { - "kind": "Name", - "value": "UG" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Ukraine", - "block": true - }, - "name": { - "kind": "Name", - "value": "UA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "United Arab Emirates", - "block": true - }, - "name": { - "kind": "Name", - "value": "AE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "United Kingdom", - "block": true - }, - "name": { - "kind": "Name", - "value": "GB" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "United States", - "block": true - }, - "name": { - "kind": "Name", - "value": "US" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Uruguay", - "block": true - }, - "name": { - "kind": "Name", - "value": "UY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "U.S. Outlying Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "UM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "U.S. Virgin Islands", - "block": true - }, - "name": { - "kind": "Name", - "value": "VI" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Uzbekistan", - "block": true - }, - "name": { - "kind": "Name", - "value": "UZ" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Vanuatu", - "block": true - }, - "name": { - "kind": "Name", - "value": "VU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Vatican City", - "block": true - }, - "name": { - "kind": "Name", - "value": "VA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Venezuela", - "block": true - }, - "name": { - "kind": "Name", - "value": "VE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Vietnam", - "block": true - }, - "name": { - "kind": "Name", - "value": "VN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Wallis & Futuna", - "block": true - }, - "name": { - "kind": "Name", - "value": "WF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Western Sahara", - "block": true - }, - "name": { - "kind": "Name", - "value": "EH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Yemen", - "block": true - }, - "name": { - "kind": "Name", - "value": "YE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Zambia", - "block": true - }, - "name": { - "kind": "Name", - "value": "ZM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Zimbabwe", - "block": true - }, - "name": { - "kind": "Name", - "value": "ZW" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Customer attribute metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerAttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Default attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend class of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_class" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFrontendInputEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The template used for the input of the attribute (e.g., 'date').", - "block": true - }, - "name": { - "kind": "Name", - "value": "input_filter" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InputFilterEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value must be unique.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_unique" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of lines of the attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "multiline_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position of the attribute in the form.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The validation rules of the attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "validate_rules" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidationRule" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "List of templates/filters applied to customer attribute input.", - "block": true - }, - "name": { - "kind": "Name", - "value": "InputFilterEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "There are no templates or filters to be applied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NONE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Forces attribute input to follow the date format.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Strip whitespace (or other characters) from the beginning and end of the input.", - "block": true - }, - "name": { - "kind": "Name", - "value": "TRIM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Strip HTML Tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "STRIPTAGS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Escape HTML Entities.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ESCAPEHTML" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a customer attribute validation rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ValidationRule" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Validation rule name applied to a customer attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidationRuleEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Validation rule value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "List of validation rule names applied to a customer attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ValidationRuleEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE_RANGE_MAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE_RANGE_MIN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FILE_EXTENSIONS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INPUT_VALIDATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MAX_TEXT_LENGTH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MIN_TEXT_LENGTH" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MAX_FILE_SIZE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MAX_IMAGE_HEIGHT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MAX_IMAGE_WIDTH" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "List of account confirmation statuses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfirmationStatusEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Account confirmed", - "block": true - }, - "name": { - "kind": "Name", - "value": "ACCOUNT_CONFIRMED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Account confirmation not required", - "block": true - }, - "name": { - "kind": "Name", - "value": "ACCOUNT_CONFIRMATION_NOT_REQUIRED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines properties of a negotiable quote request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequestNegotiableQuoteInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The cart ID of the buyer requesting a new negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Comments the buyer entered to describe the request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteCommentInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Flag indicating if quote is draft or not.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_draft" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name the buyer assigned to the negotiable quote request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the items to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteQuantitiesInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteItemQuantityInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the updated quantity of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteItemQuantityInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new quantity of the negotiable quote item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_item_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the updated negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteItemsQuantityOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the negotiable quote to convert to an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceNegotiableQuoteOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An output object that returns the generated order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceNegotiableQuoteOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the generated order number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Order" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which negotiable quote to send for review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendNegotiableQuoteForReviewInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A comment for the seller to review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteCommentInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendNegotiableQuoteForReviewOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after sending for seller review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the shipping address to assign to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CustomerAddress` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_address_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipping addresses to apply to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_addresses" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteShippingAddressInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines shipping addresses for the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteShippingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An ID from the company user's address book that uniquely identifies the address to be used for shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_address_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Text provided by the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_notes" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Sets the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteBillingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address to be added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "billing_address" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteBillingAddressInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteBillingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CustomerAddress` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_address_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to set the billing address to be the same as the existing shipping address on the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "same_as_shipping" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to set the shipping address to be the same as this billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_for_shipping" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the billing or shipping address to be applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The city specified for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The country code and label for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ZIP or postal code of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that defines the state or province of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An integer that defines the state or province of the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Determines whether to save the address in the customer's address book. The default value is true.", - "block": true - }, - "name": { - "kind": "Name", - "value": "save_in_address_book" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the street for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number for the billing or shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the shipping method to apply to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingMethodsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipping methods to apply to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_methods" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingMethodInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Sets quote item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "LineItemNoteInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The note text to be added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CartLineItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_item_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Sets new name for a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RenameNegotiableQuoteInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The reason for the quote name change specified by the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_comment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new quote name the buyer specified to the negotiable quote request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The cart ID of the buyer requesting a new negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the updated negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetLineItemNoteOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after sending for seller review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Move Line Item to Requisition List.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MoveLineItemToRequisitionListInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CartLineItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_item_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the updated negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MoveLineItemToRequisitionListOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after moving item to requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingMethodsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after applying shipping methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteShippingAddressOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after assigning a shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteBillingAddressOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after assigning a billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the items to remove from the specified negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveNegotiableQuoteItemsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of IDs indicating which items to remove from the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_item_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveNegotiableQuoteItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after removing items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the negotiable quotes to mark as closed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CloseNegotiableQuotesInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A list of unique IDs from `NegotiableQuote` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the closed negotiable quotes and other negotiable quotes the company user can view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CloseNegotiableQuotesOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the negotiable quotes that were just closed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "closed_quotes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `operation_results` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of negotiable quotes that can be viewed by the logged-in customer", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiable_quotes" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The filter to use to determine which negotiable quotes to close.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The field to use for sorting results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuotesOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of closed negotiable quote UIDs and details about any errors.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operation_results" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuoteOperationResult" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the request to close one or more negotiable quotes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result_status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BatchMutationStatus" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the updated negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RenameNegotiableQuoteOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The negotiable quote after updating the name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuoteOperationResult" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUidOperationSuccess" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuoteOperationFailure" - } - } - ] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuoteError" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteInvalidStateError" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NoSuchEntityUidError" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InternalError" - } - } - ] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of undeleted negotiable quotes the company user can view.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuotesOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of negotiable quotes that the customer can view", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiable_quotes" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The filter to use to determine which negotiable quotes to delete.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The field to use for sorting results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteSortInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuotesOutput" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of deleted negotiable quote UIDs and details about any errors.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operation_results" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteOperationResult" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the request to delete one or more negotiable quotes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result_status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BatchMutationStatus" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteOperationResult" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUidOperationSuccess" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteOperationFailure" - } - } - ] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteError" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteInvalidStateError" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NoSuchEntityUidError" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InternalError" - } - } - ] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment method to be applied to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuotePaymentMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Payment method code", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order number. Optional for most payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_number" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the negotiable quote after setting the payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuotePaymentMethodOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of negotiable that match the specified filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuotesOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of negotiable quotes", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains pagination metadata", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the default sort field and all available sort fields.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_fields" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortFields" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of negotiable quotes returned", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the field to use to sort a list of negotiable quotes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether to return results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_direction" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The specified sort field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_field" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteSortableField" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteSortableField" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts negotiable quotes by name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "QUOTE_NAME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts negotiable quotes by the dates they were created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CREATED_AT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts negotiable quotes by the dates they were last modified.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UPDATED_AT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the commend provided by the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteCommentInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The comment provided by the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a single plain text comment from either the buyer or seller.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteComment" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first and last name of the commenter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "author" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUser" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the comment was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a buyer or seller commented.", - "block": true - }, - "name": { - "kind": "Name", - "value": "creator_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteCommentCreatorType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The plain text comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteComment` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteCommentCreatorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BUYER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SELLER" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuote" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of payment methods that can be applied to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_payment_methods" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AvailablePaymentMethod" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address applied to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "billing_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteBillingAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first and last name of the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "buyer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUser" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of comments made by the buyer and seller.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteComment" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the negotiable quote was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of status and price changes for the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "history" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryEntry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the negotiable quote contains only virtual products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_virtual" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of items in the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title assigned to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A set of subtotals and totals applied to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method that was applied to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_payment_method" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedPaymentMethod" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of shipping addresses applied to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_addresses" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteShippingAddress" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of items in the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the negotiable quote was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SUBMITTED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PENDING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UPDATED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OPEN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORDERED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CLOSED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DECLINED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EXPIRED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DRAFT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter to limit the negotiable quotes to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the ID of one or more negotiable quotes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ids" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the negotiable quote name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a change for a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryEntry" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The person who made a change in the status of the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "author" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUser" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An enum that describes the why the entry in the negotiable quote history changed status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "change_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryEntryChangeType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The set of changes in the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "changes" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryChanges" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the negotiable quote entry was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteHistoryEntry` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of changes to a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryChanges" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The comment provided with a change in the negotiable quote history.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment_added" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryCommentChange" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Lists log entries added by third-party extensions.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_changes" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteCustomLogChange" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiration date of the negotiable quote before and after a change in the quote history.", - "block": true - }, - "name": { - "kind": "Name", - "value": "expiration" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryExpirationChange" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Lists products that were removed as a result of a change in the quote history.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products_removed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryProductsRemovedChange" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status before and after a change in the negotiable quote history.", - "block": true - }, - "name": { - "kind": "Name", - "value": "statuses" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryStatusesChange" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total amount of the negotiable quote before and after a change in the quote history.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryTotalChange" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Lists a new status change applied to a negotiable quote and the previous status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryStatusChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The previous status. The value will be null for the first history entry in a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "old_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteStatus" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of status changes that occurred for the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryStatusesChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of status changes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "changes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryStatusChange" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a comment submitted by a seller or buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryCommentChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A plain text comment submitted by a seller or buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a new price and the previous price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryTotalChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total price as a result of the change.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The previous total price on the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "old_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a new expiration date and the previous date.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryExpirationChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiration date after the change. The value will be 'null' if not set.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_expiration" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The previous expiration date. The value will be 'null' if not previously set.", - "block": true - }, - "name": { - "kind": "Name", - "value": "old_expiration" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains lists of products that have been removed from the catalog and negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryProductsRemovedChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of product IDs the seller removed from the catalog.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products_removed_from_catalog" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of products removed from the negotiable quote by either the buyer or the seller.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products_removed_from_quote" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains custom log entries added by third-party extensions.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteCustomLogChange" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The new entry content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The previous entry in the custom log.", - "block": true - }, - "name": { - "kind": "Name", - "value": "old_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title of the custom log entry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryEntryChangeType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CREATED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UPDATED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CLOSED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UPDATED_BY_SYSTEM" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the `NegotiableQuote` object generated when a buyer requests a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequestNegotiableQuoteOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's city or town.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company name associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressCountry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name, region code, and region ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street number and name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the company's state or province.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressRegion" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The address region code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a pre-defined region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the company's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressCountry" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The address country code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteShippingAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipping methods available to the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_shipping_methods" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AvailableShippingMethod" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's city or town.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company name associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressCountry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name, region code, and region ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected shipping method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_shipping_method" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedShippingMethod" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street number and name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteBillingAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's city or town.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company name associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressCountry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name, region code, and region ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street number and name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A limited view of a Buyer or Seller in the negotiable quote process.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteUser" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the buyer or seller making a change.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's or seller's last name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUidNonFatalResultInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a successful operation on a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteUidOperationSuccess" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUidNonFatalResultInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An error indicating that an operation was attempted on a negotiable quote in an invalid state.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteInvalidStateError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The returned error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ErrorInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The note object for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ItemNote" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp that reflects note creation date.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "ID of the user who submitted a note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "creator_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Type of teh user who submitted a note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "creator_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiable_quote_item_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Note text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `ItemNote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a failed close operation on a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CloseNegotiableQuoteOperationFailure" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while attempting close the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CloseNegotiableQuoteError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuotesInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A list of unique IDs for `NegotiableQuote` objects to delete.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a failed delete operation on a negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteOperationFailure" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment method of the specified negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuotePaymentMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method to be assigned to the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_method" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuotePaymentMethodInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an object used to iterate through items for product comparisons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ComparableItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of product attributes that can be used to compare products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductAttribute" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a product in a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an item in a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a product attribute code and value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for a product attribute code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display value of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an attribute code that is used for product comparisons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ComparableAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An attribute code that is enabled for product comparisons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the attribute code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains iterable information such as the array of items, the count, and attributes that represent the compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompareList" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attributes that can be used for comparing products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComparableAttribute" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items in the compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "item_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products to compare.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComparableItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID assigned to the compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of product IDs to use for creating a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateCompareListInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of product IDs to add to the compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains products to add to an existing compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddProductsToCompareListInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of product IDs to add to the compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier of the compare list to modify.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines which products to remove from a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveProductsFromCompareListInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of product IDs to remove from the compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "products" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier of the compare list to modify.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of the request to delete a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteCompareListOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the compare list was successfully deleted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of the request to assign a compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AssignCompareListToCustomerOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The contents of the customer's compare list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "compare_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompareList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the compare list was successfully assigned to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines basic features of a configurable product and its simple product variants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for the configurable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableProductOptions" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_product_options_selection" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "configurableOptionValueUids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableProductOptionsSelection" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of simple product variants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "variants" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableVariant" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PhysicalProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains all the simple product variants of a configurable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableVariant" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of configurable attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableAttributeOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of linked simple products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SimpleProduct" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a configurable product attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableAttributeOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that describes the configurable attribute option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ConfigurableAttributeOption` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A unique index number assigned to the configurable product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_index" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines configurable attributes for the specified product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableProductOptions" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that identifies the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `attribute_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_id_v2" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `attribute_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `Attribute` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The configurable option ID number assigned by the system.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A displayed string that describes the configurable product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number that indicates the order in which the attribute is displayed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "This is the same as a product's `id` field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`product_id` is not needed and can be obtained from its parent." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ConfigurableProductOptions` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the option is the default.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_default" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines the `value_index` codes assigned to the configurable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "values" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableProductOptionsValues" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the index number assigned to a configurable product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableProductOptionsValues" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the product on the default store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the product on the current store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "store_label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Swatch data for a configurable product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_data" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchDataInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ConfigurableProductOptionsValues` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to use the default_label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_default_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A unique index number assigned to the configurable product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_index" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the configurable products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddConfigurableProductsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of configurable products to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableProductCartItemInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after adding configurable products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddConfigurableProductsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ConfigurableProductCartItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID and value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity and SKU of the configurable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the parent configurable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `CartItemInput.sku` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "variant_sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation for configurable product cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableCartItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of available gift wrapping options for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the configuranle options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedConfigurableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configured_variant" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the customizable options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered gift message for the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a selected configurable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedConfigurableOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ConfigurableProductOptions` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_product_option_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ConfigurableProductOptionsValues` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_product_option_value_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `SelectedConfigurableOption.configurable_product_option_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display text for the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "value_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `SelectedConfigurableOption.configurable_product_option_value_uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the selected configurable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A configurable product wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the simple product corresponding to a set of selected configurable options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "child_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `ConfigurableWishlistItem.configured_variant.sku` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selected configurable options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedConfigurableOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the selected variant. The value is null if some options are not configured.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configured_variant" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains metadata corresponding to the selected configurable options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableProductOptionsSelection" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of all possible configurable options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableProductOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product images and videos corresponding to the specified configurable options selection.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The configurable options available for further selection based on the current selection.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_available_for_selection" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableOptionAvailableForSelection" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "variant" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SimpleProduct" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describes configurable options that have been selected and can be selected as a result of the previous selections.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableOptionAvailableForSelection" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An attribute code that uniquely identifies a configurable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selectable option value IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_value_uids" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about configurable product options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableProductOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An attribute code that uniquely identifies a configurable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the configurable option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of values that are applicable for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "values" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ConfigurableProductOptionValue" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a value for a configurable product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableProductOptionValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is available with this selected option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the value is the default.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_use_default" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL assigned to the thumbnail of the swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchDataInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines customer requisition lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequisitionLists" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of requisition lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned requisition lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the contents of a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequisitionList" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Optional text that describes the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products added to the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequistionListItems" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items in the list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The requisition list name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique requisition list ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The time of the last modification of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of items added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequistionListItems" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of pages returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_pages" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The interface for requisition list items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for the requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about simple products added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SimpleRequisitionListItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for the requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about virtual products added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "VirtualRequisitionListItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for the requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that identifies and describes a new requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateRequisitionListInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An optional description of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name assigned to the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines which requistion list characteristics to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateRequisitionListInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated description of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new name of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to rename the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateRequisitionListOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The renamed requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines which items in a requisition list to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateRequisitionListItemsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of customer-entered options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the requisition list item to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "item_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new quantity of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selected option IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to update items in the specified requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateRequisitionListItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The requisition list after updating items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the request to delete the requisition list was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteRequisitionListOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's requisition lists after deleting a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_lists" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionLists" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the request to delete the requisition list was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to add products to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddProductsToRequisitionListOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The requisition list after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to remove items from the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteRequisitionListItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The requisition list after removing items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to add items in a requisition list to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddRequisitionListItemsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about why the attempt to add items to the requistion list was not successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "add_requisition_list_items_to_cart_user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddRequisitionListItemToCartUserError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after adding requisition list items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attempt to add items to the requisition list was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about why an attempt to add items to the requistion list failed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddRequisitionListItemToCartUserError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A description of the error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of error that occurred.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddRequisitionListItemToCartUserErrorType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "AddRequisitionListItemToCartUserErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OUT_OF_STOCK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNAVAILABLE_SKU" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OPTIONS_UPDATED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LOW_QUANTITY" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the items in a requisition list to be copied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CopyItemsBetweenRequisitionListsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of IDs representing products copied from one requisition list to another.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItemUids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to copy items to the destination requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CopyItemsFromRequisitionListsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The destination requisition list after the items were copied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An input object that defines the items in a requisition list to be moved.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MoveItemsBetweenRequisitionListsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of IDs representing products moved from one requisition list to another.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisitionListItemUids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to move items to another requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MoveItemsBetweenRequisitionListsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The destination requisition list after moving items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destination_requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The source requisition list after moving items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "source_requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines requisition list filters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequisitionListFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the display name of the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterMatchTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter requisition lists by one or more requisition list IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uids" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to create a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateRequisitionListOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The created requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "requisition_list" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionList" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to clear the customer cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ClearCustomerCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after clearing items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether cart was cleared.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the items to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequisitionListItemsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Entered option IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "For configurable products, the SKU of the parent product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the product to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Selected option IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The product SKU.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ContactUsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The shopper's comment to the merchant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the shopper.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The full name of the shopper.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The shopper's telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the status of the request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ContactUsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the request was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input required to run the `applyStoreCreditToCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyStoreCreditToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the possible output for the `applyStoreCreditToCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyStoreCreditToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The contents of the specified shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input required to run the `removeStoreCreditFromCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveStoreCreditFromCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the possible output for the `removeStoreCreditFromCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveStoreCreditFromCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The contents of the specified shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the applied and current balances.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AppliedStoreCredit" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The applied store credit balance to the current cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current balance remaining on store credit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "current_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains store credit information with balance and history.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerStoreCredit" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's store credit balance history. If the history or store credit feature is disabled, then a null value will be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance_history" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. This value is optional. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerStoreCreditHistory" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current balance of store credit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "current_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether store credits are enabled. If the feature is disabled, then the balance will not be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Lists changes to the amount of store credit available to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerStoreCreditHistory" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about changes to the store credit available to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerStoreCreditHistoryItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata for pagination rendering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains store credit history information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerStoreCreditHistoryItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The action that was made on the store credit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "action" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The store credit available to the customer as a result of this action. ", - "block": true - }, - "name": { - "kind": "Name", - "value": "actual_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount added to or subtracted from the store credit as a result of this action.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance_change" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time when the store credit change was made.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date_time_changed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AddDownloadableProductsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of downloadable products to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductCartItemInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a single downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableProductCartItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID and value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity and SKU of the downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of objects containing the link_id of the downloadable product link.", - "block": true - }, - "name": { - "kind": "Name", - "value": "downloadable_product_links" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductLinksInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the link ID for the downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableProductLinksInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the downloadable product link.", - "block": true - }, - "name": { - "kind": "Name", - "value": "link_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after adding downloadable products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddDownloadableProductsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation for downloadable product cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableCartItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the customizable options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about the links for the downloadable product added to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about samples of the selected downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "samples" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductSamples" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a product that the shopper downloads.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about the links for this downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "downloadable_product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about samples of this downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "downloadable_product_samples" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductSamples" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value of 1 indicates that each link in the array must be purchased separately.", - "block": true - }, - "name": { - "kind": "Name", - "value": "links_purchased_separately" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The heading above the list of downloadable products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "links_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "DownloadableFileTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FILE" - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "URL" - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines characteristics of a downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableProductLinks" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "This information should not be exposed on frontend." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "is_shareable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "This information should not be exposed on frontend." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "link_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableFileTypeEnum" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "number_of_downloads" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "This information should not be exposed on frontend." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "sample_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "sample_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableFileTypeEnum" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full URL to the downloadable sample.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sample_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number indicating the sort order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the link.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `DownloadableProductLinks` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines characteristics of a downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableProductSamples" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "This information should not be exposed on frontend." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "sample_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "sample_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableFileTypeEnum" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "`sample_url` serves to get the downloadable sample" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full URL to the downloadable sample.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sample_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number indicating the sort order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the sample.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines downloadable product options for `OrderItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableOrderItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final discount information for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of downloadable links that are ordered from the downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "downloadable_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableItemsLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the order item is eligible to be in a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eligible_for_return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered option for the base product, such as a logo or image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift message for the order item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `OrderItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ProductInterface object, which contains details about the base product", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price of the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of product, such as simple, configurable, etc.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL key of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of canceled items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_canceled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of units ordered for this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_ordered" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_returned" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected options for the base product, such as color or size.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines downloadable product options for `InvoiceItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableInvoiceItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of downloadable links that are invoiced from the downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "downloadable_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableItemsLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `InvoiceItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an individual order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InvoiceItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines downloadable product options for `CreditMemoItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableCreditMemoItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of downloadable links that are refunded from the downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "downloadable_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableItemsLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CreditMemoItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item the credit memo is applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemoItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines characteristics of the links for downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableItemsLinks" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number indicating the sort order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the link.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `DownloadableItemsLinks` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A downloadable product wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about the selected links.", - "block": true - }, - "name": { - "kind": "Name", - "value": "links_v2" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about the selected samples.", - "block": true - }, - "name": { - "kind": "Name", - "value": "samples" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductSamples" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the output schema for a company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Company" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of all resources defined within the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "acl_resources" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyAclResource" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing information about the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_admin" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Company credit balances and limits.", - "block": true - }, - "name": { - "kind": "Name", - "value": "credit" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCredit" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the history of company credit operations.", - "block": true - }, - "name": { - "kind": "Name", - "value": "credit_history" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditHistoryFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditHistory" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company contact.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Company` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The address where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyLegalAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full legal name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of payment methods available to a company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_methods" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The resale number that is assigned to the company for tax reporting purposes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reseller_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A company role filtered by the unique ID of a `CompanyRole` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that contains a list of company roles.", - "block": true - }, - "name": { - "kind": "Name", - "value": "roles" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRoles" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing information about the company sales representative.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sales_representative" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanySalesRepresentative" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company structure of teams and customers in depth-first order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "structure" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the node in the company structure that serves as the root for the query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rootId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum depth that can be reached when listing structure nodes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "depth" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "10" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyStructure" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company team data filtered by the unique ID for a `CompanyTeam` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "team" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeam" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A company user filtered by the unique ID of a `Customer` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that contains a list of company users based on activity status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "users" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The type of company users to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUsersFilterInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default value is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUsers" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_tax_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the address where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyLegalAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The city where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The country code of the company's legal address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing region data for the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressRegion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the company's street address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company's phone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyAdmin" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's gender (Male - 1, Female - 2, Not Specified - 3).", - "block": true - }, - "name": { - "kind": "Name", - "value": "gender" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyAdmin` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The job title of the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "job_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's last name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a company sales representative.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanySalesRepresentative" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company sales representative.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company sales representative's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company sales representative's last name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about company users.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyUsers" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `CompanyUser` objects that match the specified filter criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of objects returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of roles.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyRoles" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of company roles that match the specified filter criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of objects matching the specified filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contails details about a single role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyRole" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyRole` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name assigned to the role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of permission resources defined for a role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "permissions" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyAclResource" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of users assigned the specified role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "users_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the access control list settings of a resource.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyAclResource" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of sub-resources.", - "block": true - }, - "name": { - "kind": "Name", - "value": "children" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyAclResource" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyAclResource` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sort order of an ACL resource.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the ACL resource.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response of a role name validation query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "IsCompanyRoleNameAvailableOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the specified company role name is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_role_name_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response of a company user email validation query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "IsCompanyUserEmailAvailableOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the specified email address can be used to create a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_email_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response of a company admin email validation query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "IsCompanyAdminEmailAvailableOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the specified email address can be used to create a company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_email_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response of a company email validation query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "IsCompanyEmailAvailableOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the specified email address can be used to create a company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_email_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "CompanyStructureEntity" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeam" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - } - ] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of the individual nodes that comprise the company structure.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyStructure" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of elements in a company structure.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyStructureItem" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describes a company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyTeam" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An optional description of the team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyTeam` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "ID of the company structure", - "block": true - }, - "name": { - "kind": "Name", - "value": "structure_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the filter for returning a list of company users.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyUsersFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The activity status to filter on.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserStatusEnum" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the list of company user status values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyUserStatusEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Only active users.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ACTIVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Only inactive users.", - "block": true - }, - "name": { - "kind": "Name", - "value": "INACTIVE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to create a company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateCompanyTeamOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The new company team instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "team" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeam" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to update a company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCompanyTeamOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated company team instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "team" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyTeam" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the status of the request to delete a company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteCompanyTeamOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the delete operation succeeded.", - "block": true - }, - "name": { - "kind": "Name", - "value": "success" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for creating a company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyTeamCreateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An optional description of the team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a node within a company's structure. This ID will be the parent of the created team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "target_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for updating a company team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyTeamUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An optional description of the team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the `CompanyTeam` object to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the team.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to update the company structure.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCompanyStructureOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated company instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Company" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for updating the company structure.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyStructureUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a company that will be the new parent.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_tree_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the company team that is being moved to another parent.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tree_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to create a company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateCompanyOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The new company instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Company" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to update the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCompanyOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated company instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Company" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to create a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateCompanyUserOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The new company user instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to update the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCompanyUserOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated company user instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to delete the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteCompanyUserOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the company user has been deactivated successfully.", - "block": true - }, - "name": { - "kind": "Name", - "value": "success" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to create a company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateCompanyRoleOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The new company role instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to update the company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateCompanyRoleOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated company role instance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to the request to delete the company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteCompanyRoleOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "SIndicates whether the company role has been deleted successfully.", - "block": true - }, - "name": { - "kind": "Name", - "value": "success" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for creating a new company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyCreateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_admin" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyAdminInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company contact.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the company to create.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines legal address data of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_address" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyLegalAddressCreateInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The full legal name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The resale number that is assigned to the company for tax reporting purposes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reseller_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_tax_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for creating a company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyAdminInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's gender (Male - 1, Female - 2, Not Specified - 3).", - "block": true - }, - "name": { - "kind": "Name", - "value": "gender" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The job title of the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "job_title" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company administrator's last name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The phone number of the company administrator.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for defining a company's legal address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyLegalAddressCreateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The city where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company's country ID. Use the `countries` query to get this value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The postal code of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name and/or region ID where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressRegionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street address where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The primary phone number of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for updating a company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the company contact.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_email" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the company to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The legal address data of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyLegalAddressUpdateInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The full legal name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The resale number that is assigned to the company for tax reporting purposes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reseller_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_tax_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for updating a company's legal address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyLegalAddressUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The city where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Country` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The postal code of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An object containing the region name and/or region ID where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressRegionInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street address where the company is registered to conduct business.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The primary phone number of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for creating a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyUserCreateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's email address", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's job title or function.", - "block": true - }, - "name": { - "kind": "Name", - "value": "job_title" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's last name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyRole` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the company user is ACTIVE or INACTIVE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserStatusEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of a node within a company's structure. This ID will be the parent of the created company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "target_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's phone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for updating a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyUserUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's email address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's first name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Customer` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's job title or function.", - "block": true - }, - "name": { - "kind": "Name", - "value": "job_title" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's last name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyRole` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the company user is ACTIVE or INACTIVE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserStatusEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company user's phone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for creating a company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyRoleCreateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the role to create.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A list of resources the role can access.", - "block": true - }, - "name": { - "kind": "Name", - "value": "permissions" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for updating a company role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyRoleUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyRole` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the role to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A list of resources the role can access.", - "block": true - }, - "name": { - "kind": "Name", - "value": "permissions" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input for returning matching companies the customer is assigned to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UserCompaniesInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default value is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the maximum number of results to return at once. This attribute is optional.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the sorting of the results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompaniesSortInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An object that contains a list of companies customer is assigned to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UserCompaniesOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of companies customer is assigned to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyBasicInfo" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Provides navigation for the query response.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which field to sort on, and whether to return the results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompaniesSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The field for sorting the results.", - "block": true - }, - "name": { - "kind": "Name", - "value": "field" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompaniesSortFieldEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to return results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The fields available for sorting the customer companies.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompaniesSortFieldEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NAME" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The minimal required information to identify and display the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyBasicInfo" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Company` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The full legal name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "legal_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input schema for accepting the company invitation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyInvitationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The invitation code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company role id.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Company user attributes in the invitation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyInvitationUserInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Company user attributes in the invitation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyInvitationUserInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The company unique identifier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer unique identifier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The job title of a company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "job_title" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the company user is ACTIVE or INACTIVE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyUserStatusEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The phone number of the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The result of accepting the company invitation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyInvitationOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer was added to the company successfully.", - "block": true - }, - "name": { - "kind": "Name", - "value": "success" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an individual node in the company structure.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyStructureItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A union of `CompanyTeam` and `Customer` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyStructureEntity" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CompanyStructureItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the parent item in the company hierarchy.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a single dynamic block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DynamicBlock" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The renderable HTML code of the dynamic block.", - "block": true - }, - "name": { - "kind": "Name", - "value": "content" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `DynamicBlock` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of dynamic blocks.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DynamicBlocks" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing individual dynamic blocks.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DynamicBlock" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata for pagination rendering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned dynamic blocks.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the dynamic block filter. The filter can identify the block type, location and IDs to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DynamicBlocksFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of dynamic block UIDs to filter on.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_block_uids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array indicating the locations the dynamic block can be placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "locations" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DynamicBlockLocationEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the product currently viewed", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A value indicating the type of dynamic block to filter on.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DynamicBlockTypeEnum" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the selected Dynamic Blocks Rotator inline widget.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DynamicBlockTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SPECIFIED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CART_PRICE_RULE_RELATED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CATALOG_PRICE_RULE_RELATED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the locations the dynamic block can be placed. If this field is not specified, the query returns all locations.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DynamicBlockLocationEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CONTENT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HEADER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FOOTER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LEFT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RIGHT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Currency" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of three-letter currency codes accepted by the store, such as USD and EUR.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_currency_codes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The base currency set for the store, such as USD.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_currency_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The symbol for the specified base currency, such as $.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_currency_symbol" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "default_display_currecy_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Symbol was missed. Use `default_display_currency_code`." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "default_display_currecy_symbol" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Symbol was missed. Use `default_display_currency_code`." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The currency that is displayed by default, such as USD.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_display_currency_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The currency symbol that is displayed by default, such as $.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_display_currency_symbol" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of exchange rates for currencies defined in the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "exchange_rates" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ExchangeRate" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Lists the exchange rate.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ExchangeRate" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the store’s default currency to exchange to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currency_to" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The exchange rate for the store’s default currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rate" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Country" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of regions within a particular country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_regions" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Region" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the country in English.", - "block": true - }, - "name": { - "kind": "Name", - "value": "full_name_english" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the country in the current locale.", - "block": true - }, - "name": { - "kind": "Name", - "value": "full_name_locale" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Country` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The three-letter abbreviation of the country, such as USA.", - "block": true - }, - "name": { - "kind": "Name", - "value": "three_letter_abbreviation" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The two-letter abbreviation of the country, such as US.", - "block": true - }, - "name": { - "kind": "Name", - "value": "two_letter_abbreviation" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Region" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The two-letter code for the region, such as TX for Texas.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Region` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the region, such as Texas.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of downloadable products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerDownloadableProducts" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of purchased downloadable items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerDownloadableProduct" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a single downloadable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerDownloadableProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the purchase was made.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The fully qualified URL to the download file.", - "block": true - }, - "name": { - "kind": "Name", - "value": "download_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID assigned to the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_increment_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The remaining number of times the customer can download the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "remaining_downloads" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates when the product becomes available for download. Options are `Pending` and `Invoiced`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about downloadable products added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DownloadableRequisitionListItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of links for downloadable products in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductLinks" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the product added to the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of links to downloadable product samples.", - "block": true - }, - "name": { - "kind": "Name", - "value": "samples" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DownloadableProductSamples" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an item in a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the bundle products to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddBundleProductsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of bundle products to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BundleProductCartItemInput" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a single bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleProductCartItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A mandatory array of options for the bundle product, including each chosen option and specified quantity.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BundleOptionInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID and value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity and SKU of the bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input for a bundle option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleOptionInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The number of the selected item to add to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array with the chosen value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the cart after adding bundle products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddBundleProductsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An implementation for bundle product cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleCartItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of available gift wrapping options for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the bundle options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedBundleOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the customizable options the shopper selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered gift message for the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the cart item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a selected bundle option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedBundleOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the selected bundle product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of selected bundle product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `SelectedBundleOption` object", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selected bundle option values.", - "block": true - }, - "name": { - "kind": "Name", - "value": "values" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedBundleOptionValue" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a value for a selected bundle option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedBundleOptionValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Use `uid` instead", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the value for the selected bundle product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the value for the selected bundle product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the value for the selected bundle product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `SelectedBundleOptionValue` object", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Can be used to retrieve the main price details in case of bundle product", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceDetails" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The percentage of discount applied to the main product price", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount_percentage" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final price after applying the discount to the main product", - "block": true - }, - "name": { - "kind": "Name", - "value": "main_final_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The regular price of the main product", - "block": true - }, - "name": { - "kind": "Name", - "value": "main_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an individual item within a bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An ID assigned to each type of item in a bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "option_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of additional options for this bundle item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BundleItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number indicating the sequence order of this item compared to the other bundle items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the item must be included in the bundle.", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The input type that the customer uses to select the item. Examples include radio button and checkbox.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `BundleItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the characteristics that comprise a specific bundle item and its options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleItemOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer can change the number of items for this option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "can_change_quantity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the bundled item option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether this option is the default option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_default" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The text that identifies the bundled item option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "When a bundle item contains multiple options, the relative position of this option compared to the other options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the selected option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of FIXED, PERCENT, or DYNAMIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about this product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the quantity of this specific bundle item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `quantity` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this specific bundle item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `BundleItemOption` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines basic features of a bundle product and contains multiple BundleItems.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the bundle product has a dynamic price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the bundle product has a dynamic SKU.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the bundle product has a dynamically calculated weight.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about individual bundle items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BundleItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price details of the main product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_details" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceDetails" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRICE_RANGE or AS_LOW_AS.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_view" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceViewEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to ship bundle items together or individually.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ship_bundle_items" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShipBundleItemsEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PhysicalProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines whether a bundle product's price is displayed as the lowest possible value or as a range.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PriceViewEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRICE_RANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AS_LOW_AS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines whether bundle items must be shipped together.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShipBundleItemsEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TOGETHER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SEPARATELY" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines bundle product options for `OrderItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleOrderItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of bundle options that are assigned to the bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final discount information for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the order item is eligible to be in a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eligible_for_return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered option for the base product, such as a logo or image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift message for the order item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `OrderItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ProductInterface object, which contains details about the base product", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price of the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of product, such as simple, configurable, etc.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL key of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of canceled items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_canceled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of units ordered for this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_ordered" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_returned" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected options for the base product, such as color or size.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines bundle product options for `InvoiceItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleInvoiceItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of bundle options that are assigned to an invoiced bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `InvoiceItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an individual order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InvoiceItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines bundle product options for `ShipmentItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleShipmentItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of bundle options that are assigned to a shipped product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ShipmentItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item associated with the shipment item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShipmentItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines bundle product options for `CreditMemoItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleCreditMemoItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of bundle options that are assigned to a bundle product that is part of a credit memo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CreditMemoItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item the credit memo is applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemoItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A list of options of the selected bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ItemSelectedBundleOption` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ItemSelectedBundleOption` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of products that represent the values of the parent option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "values" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOptionValue" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A list of values for the selected bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ItemSelectedBundleOptionValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ItemSelectedBundleOptionValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the child bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the child bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the child bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of this bundle product that were ordered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ItemSelectedBundleOptionValue` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines bundle product options for `WishlistItemInterface`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about the selected bundle items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedBundleOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ProductAttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attribute labels defined for the current store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_labels" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StoreLabels" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The data type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "data_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ObjectDataTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute is a system attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_system" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative position of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Frontend UI properties of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Places in the store front where the attribute is used.", - "block": true - }, - "name": { - "kind": "Name", - "value": "used_in_components" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributesListsEnum" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeMetadataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CustomAttributesListsEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_DETAILS_PAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCTS_LISTING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCTS_COMPARE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_SORT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_FILTER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_SEARCH_RESULTS_FILTER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ADVANCED_CATALOG_SEARCH" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input required to run the `applyGiftCardToCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyGiftCardToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The gift card code to be applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the possible output for the `applyGiftCardToCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyGiftCardToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Describes the contents of the specified shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the input required to run the `removeGiftCardFromCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveGiftCardFromCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The gift card code to be removed to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the possible output for the `removeGiftCardFromCart` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveGiftCardFromCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The contents of the specified shopping cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an applied gift card with applied and remaining balance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AppliedGiftCard" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount applied to the current cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift card account code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The remaining balance on the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "current_balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiration date of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "expiration_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the gift card code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardAccountInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The applied gift card code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the gift card account.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardAccount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The balance remaining on the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift card account code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiration date of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "expiration_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the sales total amounts used to calculate the final price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderTotal" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final base grand total amount in the base currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The applied discounts to the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final total amount, including shipping, discounts, and taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the shipping and handling costs for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_handling" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingHandling" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subtotal of the order, excluding shipping, discounts, and taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subtotal" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order tax details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TaxItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift card balance applied to the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_giftcard" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping amount for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_shipping" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of tax applied to the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated: Use the `Wishlist` type instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items in the customer's wish list", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItem" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `Wishlist.items` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items in the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `Wishlist.items_count` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "When multiple wish lists are enabled, the name the customer assigns to the wishlist.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "This field is related to Commerce functionality and is always `null` in Open Source." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An encrypted code that links to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sharing_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `Wishlist.sharing_code` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The time of the last modification to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `Wishlist.updated_at` field instead." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a customer wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Wishlist" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Wishlist` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItem" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `items_v2` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items in the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items in the customer's wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_v2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItems" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An encrypted code that Magento uses to link to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sharing_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The time of the last modification to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the wish list is public or private.", - "block": true - }, - "name": { - "kind": "Name", - "value": "visibility" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistVisibilityEnum" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The interface for wish list items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of items in a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItems" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of items in the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The time when the customer added the item to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's comment about this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item", - "block": true - }, - "name": { - "kind": "Name", - "value": "qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the resultant wish list and any error information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddWishlistItemsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while adding products to the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "add_wishlist_items_to_cart_user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistCartUserInputError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attempt to add items to the customer's cart was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the wish list with all items that were successfully added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about errors encountered when a customer added wish list items to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistCartUserInputError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An error code that describes the error encountered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistCartUserInputErrorType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the `Wishlist` object containing an error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistId" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the wish list item containing an error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlistItemId" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A list of possible error types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistCartUserInputErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_SALABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INSUFFICIENT_STOCK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the items to add to a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options that the customer entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "For complex product types, the SKU of the parent product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The amount or number of items to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings corresponding to options the customer selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the product to add. For complex product types, specify the child product SKU.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's wish list and any errors encountered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddProductsToWishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while adding products to a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishListUserInputError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the wish list with all items that were successfully added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's wish list and any errors encountered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveProductsFromWishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while deleting products from a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishListUserInputError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the wish list with after items were successfully deleted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines updates to items in a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItemUpdateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Customer-entered comments about the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options that the customer entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new amount or number of this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings corresponding to options the customer selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist_item_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's wish list and any errors encountered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateProductsInWishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while updating products in a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishListUserInputError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the wish list with all items that were successfully updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An error encountered while performing operations with WishList.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishListUserInputError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A wish list-specific error code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishListUserInputErrorType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A list of possible error types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishListUserInputErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines properties of a gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer can provide a message to accompany the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether shoppers have the ability to set the value of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "allow_open_amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of customizable gift card options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that contains information about the values and ID of a gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftcard_amounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardAmounts" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An enumeration that specifies the type of gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "giftcard_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer can redeem the value on the card for cash.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_redeemable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of days after purchase until the gift card expires. A null value means there is no limit.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lifetime" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of characters the gift message can contain.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message_max_length" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum acceptable value of an open amount gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "open_amount_max" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum acceptable value of an open amount gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "open_amount_min" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options for a customizable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableOptionInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PhysicalProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomizableProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the value of a gift card, the website that generated the card, and related information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardAmounts" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An internal attribute ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `GiftCardAmounts` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An ID that is assigned to each unique gift card amount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the website that generated the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the gift card type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VIRTUAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PHYSICAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "COMBINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftCardOrderItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final discount information for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the order item is eligible to be in a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eligible_for_return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered option for the base product, such as a logo or image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected gift card properties for an order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardItem" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift message for the order item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `OrderItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ProductInterface object, which contains details about the base product", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price of the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of product, such as simple, configurable, etc.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL key of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of canceled items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_canceled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of units ordered for this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_ordered" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_returned" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected options for the base product, such as color or size.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftCardInvoiceItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected gift card properties for an invoice item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardItem" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `InvoiceItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an individual order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InvoiceItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftCardCreditMemoItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected gift card properties for a credit memo item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardItem" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CreditMemoItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item the credit memo is applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemoItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftCardShipmentItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected gift card properties for a shipment item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardItem" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ShipmentItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item associated with the shipment item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShipmentItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message from the sender to the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the receiver of a virtual gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipient_email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the receiver of a physical or virtual gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipient_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the sender of a virtual gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender_email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the sender of a physical or virtual gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a gift card that has been added to a cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardCartItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount and currency of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of customizations applied to the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains discount for quote line item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while loading the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemError" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "True if requested quantity is less than available stock, false otherwise.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_available" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item max qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message from the sender to the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Line item min qty in quote template", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The buyer's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_buyer" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The seller's quote line item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note_from_seller" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ItemNote" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the price of the item, including taxes and discounts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item in the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the person receiving the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipient_email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the person receiving the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipient_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender_email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A single gift card added to a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardOptions" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the sender, recipient, and amount of a gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardOptions" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount and currency of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The custom amount and currency of the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_giftcard_amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A message to the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the person receiving the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipient_email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the person receiving the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipient_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the person sending the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender_email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the person sending the gift card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the text of a gift message, its sender, and recipient", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftMessage" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Sender name", - "block": true - }, - "name": { - "kind": "Name", - "value": "from" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Gift message text", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Recipient name", - "block": true - }, - "name": { - "kind": "Name", - "value": "to" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a gift message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftMessageInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "from" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The text of the gift message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the recepient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "to" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "SalesItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered gift message for the order item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about each of the customer's orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerOrder" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Coupons applied to the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applied_coupons" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AppliedCoupon" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "billing_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping carrier for the order delivery.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Comments about the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SalesCommentItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `order_date` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of credit memos.", - "block": true - }, - "name": { - "kind": "Name", - "value": "credit_memos" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemo" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Order customer email.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered gift message for the order", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer requested a gift receipt for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_receipt_included" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "grand_total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `totals.grand_total` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomerOrder` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "increment_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `id` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of invoices for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "invoices" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Invoice" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing the items purchased in this order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of order items eligible to be in a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_eligible_for_return" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the order was placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_date" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "order_number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `number` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Payment details for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_methods" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderPaymentMethod" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer requested a printed card for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "printed_card_included" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return requests associated with this order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "returns" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Returns" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of shipments for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderShipment" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping address for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The delivery method for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_method" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current state of the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "state" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current status of the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The token that can be used to retrieve the order using order query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the calculated totals for this order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderTotal" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Order item details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final discount information for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the order item is eligible to be in a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eligible_for_return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered option for the base product, such as a logo or image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift message for the order item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `OrderItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ProductInterface object, which contains details about the base product", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price of the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of product, such as simple, configurable, etc.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL key of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of canceled items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_canceled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of units ordered for this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_ordered" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_returned" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected options for the base product, such as color or size.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a gift registry search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistrySearchResult" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "event_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title given to the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "event_title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL key of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The location of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "location" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the gift registry owner.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of event being held.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A unique key for an additional attribute of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that describes a dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the sender of an invitation to view a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShareGiftRegistrySenderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A brief message from the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The sender of the gift registry invitation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a gift registry invitee.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShareGiftRegistryInviteeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the gift registry invitee.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the gift registry invitee.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an item to add to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddGiftRegistryItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of options the customer has entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredOptionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A brief note about the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "For complex product types, the SKU of the parent product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "parent_sku" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the product to add.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings corresponding to options the customer has selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the product to add to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a new gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateGiftRegistryInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Additional attributes specified as a code-value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "event_name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the selected event type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry_type_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A message describing the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the registry is PRIVATE or PUBLIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "privacy_settings" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryPrivacySettings" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The list of people who receive notifications about the registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "registrants" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddGiftRegistryRegistrantInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping address for all gift registry items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryShippingAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the registry is ACTIVE or INACTIVE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryStatus" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines updates to an item in a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `giftRegistryItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry_item_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated quantity of the gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines updates to a `GiftRegistry` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Additional attributes specified as a code-value pair. Unspecified dynamic attributes are not changed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated name of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "event_name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated message describing the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the gift registry is PRIVATE or PUBLIC.", - "block": true - }, - "name": { - "kind": "Name", - "value": "privacy_settings" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryPrivacySettings" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated shipping address for all gift registry items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryShippingAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the gift registry is ACTIVE or INACTIVE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryStatus" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a new registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddGiftRegistryRegistrantInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Additional attributes specified as a code-value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a shipping address for a gift registry. Specify either `address_data` or the `address_id`. If both are provided, validation will fail.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryShippingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the shipping address for this gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address_data" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to this customer address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines updates to an existing registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryRegistrantInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "As a result of the update, only the values of provided attributes will be affected. If the attribute is missing in the request, its value will not be changed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated email address of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated first name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `giftRegistryRegistrant` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry_registrant_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated last name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryOutputInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryOutputInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the status and any errors that encountered with the customer's gift register item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryItemUserErrorInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attempt to move the cart items to the gift registry was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while moving items from the cart to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemsUserError" - } - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains error information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryItemUserErrors" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attempt to move the cart items to the gift registry was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while moving items from the cart to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemsUserError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemUserErrorInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about an error that occurred when processing a gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryItemsUserError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An error code that describes the error encountered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemsUserErrorType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the gift registry item containing an error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry_item_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the `GiftRegistry` object containing an error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the product containing an error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_uid" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the error type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryItemsUserErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Used for handling out of stock products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OUT_OF_STOCK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Used for exceptions like EntityNotFound.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Used for other exceptions, such as database connection failures.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's gift registry and any errors encountered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MoveCartItemsToGiftRegistryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attempt to move the cart items to the gift registry was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while moving items from the cart to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemsUserError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryOutputInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemUserErrorInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to delete a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveGiftRegistryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the gift registry was successfully deleted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "success" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to remove an item from a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveGiftRegistryItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry after removing items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to update gift registry items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry after updating updating items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to share a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShareGiftRegistryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the gift registry was successfully shared.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_shared" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to create a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateGiftRegistryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The newly-created gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to update a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to add registrants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddGiftRegistryRegistrantsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry after adding registrants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results a request to update registrants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateGiftRegistryRegistrantsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry after updating registrants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of a request to delete a registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveGiftRegistryRegistrantsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift registry after deleting registrants.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_registry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistry" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistry" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date on which the gift registry was created. Only the registry owner can access this attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttribute" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "event_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of products added to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message text the customer entered to describe the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer who created the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An enum that states whether the gift registry is PRIVATE or PUBLIC. Only the registry owner can access this attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "privacy_settings" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryPrivacySettings" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about each registrant for the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "registrants" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryRegistrant" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer's shipping address. Only the registry owner can access this attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An enum that states whether the gift registry is ACTIVE or INACTIVE. Only the registry owner can access this attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryType" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID assigned to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a gift registry type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryType" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes_metadata" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeMetadataInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the gift registry type on the Admin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID assigned to the gift registry type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeMetadataInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates which group the dynamic attribute a member of.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_group" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected input type for this dynamic attribute. The value can be one of several static or custom types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the dynamic attribute is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which to display the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates which group the dynamic attribute a member of.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_group" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected input type for this dynamic attribute. The value can be one of several static or custom types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "input_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the dynamic attribute is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order in which to display the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeMetadataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the status of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ACTIVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INACTIVE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the privacy setting of the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryPrivacySettings" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRIVATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PUBLIC" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryRegistrant" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of dynamic attributes assigned to the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dynamic_attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryRegistrantDynamicAttribute" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the registrant. Only the registry owner can access this attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID assigned to the registrant.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A corresponding value for the code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryRegistrantDynamicAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A corresponding value for the code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal ID of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates which group the dynamic attribute is a member of.", - "block": true - }, - "name": { - "kind": "Name", - "value": "group" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeGroup" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display name of the dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A corresponding value for the code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the group type of a gift registry dynamic attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftRegistryDynamicAttributeGroup" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EVENT_INFORMATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRIVACY_SETTINGS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REGISTRANT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GENERAL_INFORMATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DETAILED_INFORMATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SHIPPING_ADDRESS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the product was added to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief message about the gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The requested quantity of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The fulfilled quantity of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_fulfilled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GiftRegistryItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the product was added to the gift registry.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief message about the gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The requested quantity of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The fulfilled quantity of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_fulfilled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a gift registry item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftRegistryItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the selected or available gift wrapping options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftWrapping" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the gift wrapping design.", - "block": true - }, - "name": { - "kind": "Name", - "value": "design" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `GiftWrapping` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `uid` instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The preview image for a gift wrapping option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrappingImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift wrapping price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `GiftWrapping` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Points to an image associated with a gift wrapping option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftWrappingImage" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift wrapping preview image label.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The gift wrapping preview image URL.", - "block": true - }, - "name": { - "kind": "Name", - "value": "url" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains prices for gift wrapping options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftOptionsPrices" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Price of the gift wrapping for all individual order items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping_for_items" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Price of the gift wrapping for the whole order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping_for_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Price for the printed card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "printed_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the gift options applied to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetGiftOptionsOnCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the shopper's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Gift message details for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessageInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether customer requested gift receipt for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_receipt_included" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `GiftWrapping` object to be used for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether customer requested printed card for the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "printed_card_included" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the cart after gift options have been applied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetGiftOptionsOnCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The modified cart object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about bundle products added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "BundleRequisitionListItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selected options for a bundle product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "bundle_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedBundleOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the product added to the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an item in a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a grouped product, which consists of simple standalone products that are presented as a group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GroupedProduct" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_announcement_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_custom_engraving_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_detailed_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_description_pagebuilder_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_gemstone_addon" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "accessory_recyclable_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The attribute set assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_set_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "canonical_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The categories assigned to a product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "categories" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CategoryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product's country of origin.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_of_manufacture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of cross-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "crosssell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product custom attributes details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttribute" - } - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use Adobe Commerce `custom_attributesV2` query instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product custom attributes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filters" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFilterInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductCustomAttributes" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the product. The value can include simple HTML tags.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description_extra" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_material" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fashion_style" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "format" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether a gift message is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message_available" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "has_video" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID number assigned to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `uid` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the main image on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product can be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_returnable" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing grouped product items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GroupedProductItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number representing the product's manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "manufacturer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of media gallery objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of MediaGalleryEntry objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "media_gallery_entries" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MediaGalleryEntry" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `media_gallery` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A brief overview of the product for search results listings, maximum 255 characters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A comma-separated list of keywords that are visible only to search engines.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_keyword" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A string that is displayed in the title bar and tab of the browser and in search results lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "meta_title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The product name. Customers use this name to identify the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date for new product listings, and determines if the product is featured as a new product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for new product listings.", - "block": true - }, - "name": { - "kind": "Name", - "value": "new_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product stock only x left count", - "block": true - }, - "name": { - "kind": "Name", - "value": "only_x_left_in_stock" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "If the product has multiple options, determines where they appear on the product page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options_container" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the price of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductPrices" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_range` for product price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The range of prices for the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_range" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PriceRange" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `TierPrice` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "price_tiers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TierPrice" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of `ProductLinks` objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_links" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductLinksInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all the ratings given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rating_summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of related products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "related_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.", - "block": true - }, - "name": { - "kind": "Name", - "value": "relative_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of all the reviews given to the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of products reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reviews" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviews" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A short description of the product. Its use depends on the theme.", - "block": true - }, - "name": { - "kind": "Name", - "value": "short_description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ComplexTextValue" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A number or code assigned to a product to identify the product, options, price, and manufacturer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the small image, which is used on catalog pages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "small_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The beginning date that a product has a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_from_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The discounted price of the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The end date for a product with a special price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "special_to_date" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the product is staged for a future campaign.", - "block": true - }, - "name": { - "kind": "Name", - "value": "staged" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Stock status of the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "stock_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductStockStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The file name of a swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative path to the product's thumbnail image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductImage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price when tier pricing is in effect and the items purchased threshold has been reached.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ProductTierPrices objects.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tier_prices" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductTierPrices" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `price_tiers` for product tier price information." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of PRODUCT, CATEGORY, or CMS_PAGE.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewriteEntityTypeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "One of simple, virtual, bundle, downloadable, grouped, or configurable.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `__typename` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ProductInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Timestamp indicating when the product was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of up-sell products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "upsell_products" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the URL that identifies the product", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "url_path" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use product's `canonical_url` or url rewrites instead" - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL rewrites list", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_rewrites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UrlRewrite" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The part of the product URL that is appended after the url key", - "block": true - }, - "name": { - "kind": "Name", - "value": "url_suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "video_file" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use the `custom_attributes` field instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of websites in which the product is available.", - "block": true - }, - "name": { - "kind": "Name", - "value": "websites" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Website" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "The field should not be used on the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The weight of the item, in units defined by the store.", - "block": true - }, - "name": { - "kind": "Name", - "value": "weight" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RoutableInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PhysicalProductInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about an individual grouped product item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GroupedProductItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative position of this item compared to the other group items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "position" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about this product option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this grouped product item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A grouped product wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GroupedProductWishlistItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the item was added to the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "added_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom options selected for the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The description of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `WishlistItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product details of the wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this wish list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "AreaInput defines the parameters which will be used for filter by specified location.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AreaInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The radius for the search in KM.", - "block": true - }, - "name": { - "kind": "Name", - "value": "radius" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The country code where search must be performed. Required parameter together with region, city or postcode.", - "block": true - }, - "name": { - "kind": "Name", - "value": "search_term" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "PickupLocationFilterInput defines the list of attributes and filters for the search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PickupLocationFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by city.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by pickup location name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by pickup location code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pickup_location_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by postcode.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by region id.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by street.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PickupLocationSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "City where pickup location is placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Name of the contact person.", - "block": true - }, - "name": { - "kind": "Name", - "value": "contact_name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Id of the country in two letters.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the pickup location.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Distance to the address, requested by distance filter. Applicable only with distance filter. If distance sort order is present, all other sort orders will be ignored.", - "block": true - }, - "name": { - "kind": "Name", - "value": "distance" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Contact email of the pickup location.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Contact fax of the pickup location.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Geographic latitude where pickup location is placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "latitude" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Geographic longitude where pickup location is placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "longitude" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The pickup location name. Customer use this to identify the pickup location.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Contact phone number of the pickup location.", - "block": true - }, - "name": { - "kind": "Name", - "value": "phone" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A code assigned to pickup location to identify the source.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pickup_location_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Postcode where pickup location is placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Name of the region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Id of the region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Street where pickup location is placed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Top level object returned in a pickup locations search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PickupLocations" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of pickup locations that match the specific search request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PickupLocation" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that includes the page_info and currentPage values specified in the query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of products returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines Pickup Location information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PickupLocation" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "contact_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "country_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "latitude" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "longitude" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "phone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pickup_location_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "region_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Product Information used for Pickup Locations search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductInfoInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Product SKU.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies which customer requires remote shopping assistance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GenerateCustomerTokenAsAdminInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the customer requesting remote shopping assistance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the generated customer token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GenerateCustomerTokenAsAdminOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The generated customer token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Apply coupons to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyCouponsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of valid coupon codes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "coupon_codes" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "`replace` to replace the existing coupon(s) or `append` to add the coupon to the coupon(s) list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplyCouponsStrategy" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Remove coupons from the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveCouponsFromCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of coupon codes to be removed from the quote. If coupon_codes is empty all coupons will be removed from the quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "coupon_codes" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The strategy to apply coupons to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyCouponsStrategy" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Append new coupons keeping the coupons that have been applied before.", - "block": true - }, - "name": { - "kind": "Name", - "value": "APPEND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Remove all the coupons from the cart and apply only new provided coupons.", - "block": true - }, - "name": { - "kind": "Name", - "value": "REPLACE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the cart and any errors after adding products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReorderItemsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Detailed information about the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of reordering errors.", - "block": true - }, - "name": { - "kind": "Name", - "value": "userInputErrors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CheckoutUserInputError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An error encountered while adding an item to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CheckoutUserInputError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An error code that is specific to Checkout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CheckoutUserInputErrorCodes" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors", - "block": true - }, - "name": { - "kind": "Name", - "value": "path" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies the filter to use for filtering orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerOrdersFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filters by order number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterStringTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerOrderSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "This enumeration indicates whether to return results in ascending or descending order", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_direction" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the field to use for sorting", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_field" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrderSortableField" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the field to use for sorting", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerOrderSortableField" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts customer orders by number", - "block": true - }, - "name": { - "kind": "Name", - "value": "NUMBER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts customer orders by created_at field", - "block": true - }, - "name": { - "kind": "Name", - "value": "CREATED_AT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The collection of orders that match the conditions defined in the filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerOrders" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of customer orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total count of customer orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains detailed information about an order's billing and shipping addresses.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The city or town.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's country.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CountryCodeEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The fax number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "fax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the person associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The family name of the person associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The middle name of the person associated with the shipping/billing address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "middlename" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's ZIP or postal code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An honorific, such as Dr., Mr., or Mrs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prefix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The state or province name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Region` object of a pre-defined region.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of strings that define the street number and name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A value such as Sr., Jr., or III.", - "block": true - }, - "name": { - "kind": "Name", - "value": "suffix" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's Value-added tax (VAT) number (for corporate customers).", - "block": true - }, - "name": { - "kind": "Name", - "value": "vat_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "OrderItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final discount information for the product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the order item is eligible to be in a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "eligible_for_return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The entered option for the base product, such as a logo or image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift message for the order item", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftMessage" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected gift wrapping for the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_wrapping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftWrapping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `OrderItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ProductInterface object, which contains details about the base product", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price of the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of product, such as simple, configurable, etc.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "URL key of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_url_key" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of canceled items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_canceled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of units ordered for this item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_ordered" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of returned items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_returned" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The selected options for the base product, such as color or size.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Represents order item options like selected or entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderItemOption" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the option.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains tax item details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "TaxItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of tax applied to the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The rate used to calculate the tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rate" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A title that describes the tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains invoice details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Invoice" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Comments on the invoice.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SalesCommentItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Invoice` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Invoiced product details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InvoiceItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Sequential invoice number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Invoice total amount details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InvoiceTotal" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains detailes about invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "InvoiceItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `InvoiceItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an individual order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "InvoiceItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for an `InvoiceItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about an individual order item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of invoiced items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_invoiced" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InvoiceItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains price details from an invoice.", - "block": true - }, - "name": { - "kind": "Name", - "value": "InvoiceTotal" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final base grand total amount in the base currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The applied discounts to the invoice.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final total amount, including shipping, discounts, and taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the shipping and handling costs for the invoice.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_handling" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingHandling" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subtotal of the invoice, excluding shipping, discounts, and taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subtotal" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The invoice tax details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TaxItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping amount for the invoice.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_shipping" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of tax applied to the invoice.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about shipping and handling costs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShippingHandling" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping amount, excluding tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount_excluding_tax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping amount, including tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount_including_tax" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The applied discounts to the shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingDiscount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about taxes applied for shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TaxItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total amount for shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines an individual shipping discount. This discount can be applied to shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShippingDiscount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the discount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains order shipment details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderShipment" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Comments added to the shipment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SalesCommentItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `OrderShipment` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items included in the shipment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShipmentItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sequential credit shipment number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of shipment tracking details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tracking" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShipmentTracking" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SalesCommentItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The text of the message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The timestamp of the comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "timestamp" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Order shipment item details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShipmentItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ShipmentItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item associated with the shipment item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ShipmentItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ShipmentItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item associated with the shipment item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of shipped items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_shipped" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShipmentItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains order shipment tracking details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ShipmentTracking" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping carrier for the order delivery.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The tracking number of the order shipment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipment tracking title.", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the payment method used to pay for the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderPaymentMethod" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Additional data per payment method type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "additional_data" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "KeyValue" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label that describes the payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code that indicates how the order was paid for.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains credit memo details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreditMemo" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Comments on the credit memo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SalesCommentItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CreditMemo` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing details about refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemoItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sequential credit memo number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the total refunded amount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemoTotal" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Credit memo item details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreditMemoItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CreditMemoItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item the credit memo is applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreditMemoItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the final discount amount for the base product, including discounts on options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CreditMemoItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order item the credit memo is applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sale price for the base product, including selected options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sale_price" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the base product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_sku" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of refunded items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_refunded" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditMemoItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains credit memo price details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreditMemoTotal" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An adjustment manually applied to the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "adjustment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final base grand total amount in the base currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "base_grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The applied discounts to the credit memo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discounts" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Discount" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The final total amount, including shipping, discounts, and taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the shipping and handling costs for the credit memo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_handling" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ShippingHandling" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subtotal of the invoice, excluding shipping, discounts, and taxes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subtotal" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The credit memo tax details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "taxes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TaxItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping amount for the credit memo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_shipping" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of tax applied to the credit memo.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_tax" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a key-value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "KeyValue" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name part of the key/value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value part of the key/value pair.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CheckoutUserInputErrorCodes" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REORDER_NOT_AVAILABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_SALABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INSUFFICIENT_STOCK" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "This enumeration defines the scope type for customer orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ScopeTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GLOBAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEBSITE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "STORE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Input to retrieve an order based on token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Order token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Input to retrieve an order based on details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrderInformationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Order billing address email.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Order number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Order billing address postcode.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Identifies a quote to be duplicated", - "block": true - }, - "name": { - "kind": "Name", - "value": "DuplicateNegotiableQuoteInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "ID for the newly duplicated quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "duplicated_quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "ID of the quote to be duplicated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the newly created negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DuplicateNegotiableQuoteOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Negotiable Quote resulting from duplication operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuote" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first and last name of the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "buyer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteUser" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of comments made by the buyer and seller.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteComment" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiration period of the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "expiration_date" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of status and price changes for the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "history" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteHistoryEntry" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the minimum and maximum quantity settings are used.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_min_max_qty_used" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the negotiable quote template contains only virtual products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_virtual" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The list of items in the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Commitment for maximum orders", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_order_commitment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Commitment for minimum orders", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_order_commitment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title assigned to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of notifications for the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "notifications" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "QuoteTemplateNotificationMessage" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A set of subtotals and totals applied to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "prices" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CartPrices" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of shipping addresses applied to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_addresses" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteShippingAddress" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of items in the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains data for a negotiable quote template in a grid.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateGridItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the negotiable quote template was activated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "activated_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Company name the quote template is assigned to", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiration period of the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "expiration_date" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the minimum and maximum quantity settings are used.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_min_max_qty_used" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the negotiable quote template was last shared.", - "block": true - }, - "name": { - "kind": "Name", - "value": "last_shared_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Commitment for maximum orders", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_order_commitment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum negotiated grand total of the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_negotiated_grand_total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Commitment for minimum orders", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_order_commitment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The title assigned to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of orders placed for the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "orders_placed" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first and last name of the sales representative.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sales_rep_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "State of the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "state" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first and last name of the buyer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "submitted_by" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of negotiable templates that match the specified filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplatesOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of negotiable quote templates", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateGridItem" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains pagination metadata", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the default sort field and all available sort fields.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_fields" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortFields" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of negotiable quote templates returned", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the updated negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteTemplateItemsQuantityOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The updated negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote_template" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplate" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the generated negotiable quote id.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GenerateNegotiableQuoteFromTemplateOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a generated `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "negotiable_quote_uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a failed delete operation on a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteTemplateOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A message that describes the error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "error_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Flag to mark whether the delete operation was successful.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a notification message for a negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "QuoteTemplateNotificationMessage" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The notification message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of notification message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter to limit the negotiable quotes to return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by state of one or more negotiable quote templates.", - "block": true - }, - "name": { - "kind": "Name", - "value": "state" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by status of one or more negotiable quote templates.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterEqualTypeInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the field to use to sort a list of negotiable quotes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateSortInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Whether to return results in ascending or descending order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_direction" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SortEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The specified sort field.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_field" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateSortableField" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines properties of a negotiable quote template request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequestNegotiableQuoteTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The cart ID of the quote to create the new negotiable quote template from.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the items to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateNegotiableQuoteTemplateQuantitiesInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateItemQuantityInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the updated quantity of an item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateItemQuantityInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CartItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "item_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new max quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_qty" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new min quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_qty" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The new quantity of the negotiable quote item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the shipping address to assign to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SetNegotiableQuoteTemplateShippingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A shipping adadress to apply to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping_address" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateShippingAddressInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuote` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines shipping addresses for the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateShippingAddressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "NegotiableQuoteAddressInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An ID from the company user's address book that uniquely identifies the address to be used for shipping.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_address_uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Text provided by the company user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_notes" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote template properties to update.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SubmitNegotiableQuoteTemplateForReviewInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A comment for the seller to review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Commitment for maximum orders", - "block": true - }, - "name": { - "kind": "Name", - "value": "max_order_commitment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Commitment for minimum orders", - "block": true - }, - "name": { - "kind": "Name", - "value": "min_order_commitment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The title assigned to the negotiable quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote template id to accept quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AcceptNegotiableQuoteTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote template id to open quote template.", - "block": true - }, - "name": { - "kind": "Name", - "value": "OpenNegotiableQuoteTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the template id, from which to generate quote from.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GenerateNegotiableQuoteFromTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the items to remove from the specified negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveNegotiableQuoteTemplateItemsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of IDs indicating which items to remove from the negotiable quote.", - "block": true - }, - "name": { - "kind": "Name", - "value": "item_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote template id of the quote template to cancel", - "block": true - }, - "name": { - "kind": "Name", - "value": "CancelNegotiableQuoteTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A comment to provide reason of cancellation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancellation_comment" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote template id of the quote template to delete", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteNegotiableQuoteTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "template_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Sets quote item note.", - "block": true - }, - "name": { - "kind": "Name", - "value": "QuoteTemplateLineItemNoteInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `CartLineItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "item_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The note text to be added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "note" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `NegotiableQuoteTemplate` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "templateId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "NegotiableQuoteTemplateSortableField" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts negotiable quote templates by template id.", - "block": true - }, - "name": { - "kind": "Name", - "value": "TEMPLATE_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "Sorts negotiable quote templates by the date they were last shared.", - "block": true - }, - "name": { - "kind": "Name", - "value": "LAST_SHARED_AT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about prior company credit operations.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyCreditHistory" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of company credit operations.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditOperation" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata for pagination rendering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of the company credit operations matching the specified filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a single company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyCreditOperation" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The credit balance as a result of the operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCredit" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order number associated with the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_reference_number" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the operation occurred.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditOperationType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company user that submitted the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_by" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditOperationUser" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the administrator or company user that submitted a company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyCreditOperationUser" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the company user submitting the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of the company user submitting the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditOperationUserType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains company credit balances and limits.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyCredit" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The sum of the credit limit and the outstanding balance. If the company has exceeded the credit limit, the amount is as a negative value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_credit" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of credit extended to the company.", - "block": true - }, - "name": { - "kind": "Name", - "value": "credit_limit" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount reimbursed, less the total due from all orders placed using the Payment on Account payment method. The amount can be a positive or negative value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "outstanding_balance" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CompanyCreditOperationType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ALLOCATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UPDATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PURCHASE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REIMBURSEMENT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REFUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REVERT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "CompanyCreditOperationUserType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ADMIN" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a filter for narrowing the results of a credit history search.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CompanyCreditHistoryFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order number associated with the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_reference_number" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The type of the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operation_type" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyCreditOperationType" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the person submitting the company credit operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_by" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the result of the `subscribeEmailToNewsletter` operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SubscribeEmailToNewsletterOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the subscription request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SubscriptionStatusesEnum" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the status of the request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SubscriptionStatusesEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_ACTIVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SUBSCRIBED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNSUBSCRIBED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNCONFIRMED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CancellationReason" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the order to cancel.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CancelOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Order ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Cancellation reason.", - "block": true - }, - "name": { - "kind": "Name", - "value": "reason" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the updated customer order and error message if any.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CancelOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Error encountered while cancelling the order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "error" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Updated customer order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypePageBuilder" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Gets the payment SDK URLs and values", - "block": true - }, - "name": { - "kind": "Name", - "value": "GetPaymentSDKOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment SDK parameters", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdkParams" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentSDKParamsItem" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PaymentSDKParamsItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code used in the order", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment SDK parameters", - "block": true - }, - "name": { - "kind": "Name", - "value": "params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the payment order details", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order ID generated by Payment Services", - "block": true - }, - "name": { - "kind": "Name", - "value": "mp_order_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the card used on the order", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source_details" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentSourceDetails" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PaymentSourceDetails" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the card used on the order", - "block": true - }, - "name": { - "kind": "Name", - "value": "card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Card" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Card" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Card bin details", - "block": true - }, - "name": { - "kind": "Name", - "value": "bin_details" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CardBin" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration month of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "card_expiry_month" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration year of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "card_expiry_year" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Last four digits of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "last_digits" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Name on the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CardBin" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Card bin number", - "block": true - }, - "name": { - "kind": "Name", - "value": "bin" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains payment order details that are used while processing the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreatePaymentOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer cart ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the origin location for that payment request", - "block": true - }, - "name": { - "kind": "Name", - "value": "location" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentLocation" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The code for the payment method used in the order", - "block": true - }, - "name": { - "kind": "Name", - "value": "methodCode" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The identifiable payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "paymentSource" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment information should be vaulted", - "block": true - }, - "name": { - "kind": "Name", - "value": "vaultIntent" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Synchronizes the payment order details", - "block": true - }, - "name": { - "kind": "Name", - "value": "SyncPaymentOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer cart ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "cartId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains payment order details that are used while processing the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreatePaymentOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The currency of the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "currency_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order ID generated by Payment Services", - "block": true - }, - "name": { - "kind": "Name", - "value": "mp_order_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the payment order", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the origin location for that payment request", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentLocation" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_DETAIL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MINICART" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CART" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CHECKOUT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ADMIN" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieves the payment configuration for a given location", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentConfigOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "ApplePay payment method configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "apple_pay" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplePayConfig" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "GooglePay payment method configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "google_pay" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GooglePayConfig" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Hosted fields payment method configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "hosted_fields" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "HostedFieldsConfig" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Smart Buttons payment method configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "smart_buttons" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SmartButtonsConfig" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains payment fields that are common to all types of payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentConfigItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code as defined in the payment gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment method is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment intent (Authorize or Capture", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_intent" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal parameters required to load the JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative order the payment method is displayed on the checkout page", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name displayed for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PaymentCommonConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code as defined in the payment gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment method is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment intent (Authorize or Capture", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_intent" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal parameters required to load the JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative order the payment method is displayed on the checkout page", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name displayed for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentConfigItem" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "HostedFieldsConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Vault payment method code", - "block": true - }, - "name": { - "kind": "Name", - "value": "cc_vault_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code as defined in the payment gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Card vault enabled", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_vault_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment method is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment intent (Authorize or Capture", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_intent" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Card and bin details required", - "block": true - }, - "name": { - "kind": "Name", - "value": "requires_card_details" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal parameters required to load the JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative order the payment method is displayed on the checkout page", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether 3DS is activated; true if 3DS mode is not OFF.", - "block": true - }, - "name": { - "kind": "Name", - "value": "three_ds" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use 'three_ds_mode' instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "3DS mode", - "block": true - }, - "name": { - "kind": "Name", - "value": "three_ds_mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ThreeDSMode" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name displayed for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentConfigItem" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "3D Secure mode.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ThreeDSMode" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OFF" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SCA_WHEN_REQUIRED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SCA_ALWAYS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "SmartButtonsConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The styles for the PayPal Smart Button configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "button_styles" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ButtonStyles" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code as defined in the payment gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to display the PayPal Pay Later message", - "block": true - }, - "name": { - "kind": "Name", - "value": "display_message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether to display Venmo", - "block": true - }, - "name": { - "kind": "Name", - "value": "display_venmo" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment method is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the styles for the PayPal Pay Later message", - "block": true - }, - "name": { - "kind": "Name", - "value": "message_styles" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MessageStyles" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment intent (Authorize or Capture", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_intent" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal parameters required to load the JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative order the payment method is displayed on the checkout page", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name displayed for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentConfigItem" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ApplePayConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The styles for the ApplePay Smart Button configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "button_styles" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ButtonStyles" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code as defined in the payment gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment method is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment intent (Authorize or Capture", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_intent" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal parameters required to load the JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative order the payment method is displayed on the checkout page", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name displayed for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentConfigItem" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GooglePayConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The styles for the GooglePay Button configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "button_styles" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GooglePayButtonStyles" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code as defined in the payment gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the payment method is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_visible" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the payment intent (Authorize or Capture", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_intent" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal parameters required to load the JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The relative order the payment method is displayed on the checkout page", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "3DS mode", - "block": true - }, - "name": { - "kind": "Name", - "value": "three_ds_mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ThreeDSMode" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name displayed for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentConfigItem" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ButtonStyles" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button color", - "block": true - }, - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button height in pixels", - "block": true - }, - "name": { - "kind": "Name", - "value": "height" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button label", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button layout", - "block": true - }, - "name": { - "kind": "Name", - "value": "layout" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button shape", - "block": true - }, - "name": { - "kind": "Name", - "value": "shape" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the tagline is displayed", - "block": true - }, - "name": { - "kind": "Name", - "value": "tagline" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines if the button uses default height. If the value is false, the value of height is used", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_default_height" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "GooglePayButtonStyles" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button color", - "block": true - }, - "name": { - "kind": "Name", - "value": "color" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button height in pixels", - "block": true - }, - "name": { - "kind": "Name", - "value": "height" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The button type", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "MessageStyles" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message layout", - "block": true - }, - "name": { - "kind": "Name", - "value": "layout" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message logo", - "block": true - }, - "name": { - "kind": "Name", - "value": "logo" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MessageStyleLogo" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "MessageStyleLogo" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of logo for the PayPal Pay Later messaging", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the name and value of a SDK parameter", - "block": true - }, - "name": { - "kind": "Name", - "value": "SDKParams" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the SDK parameter", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of the SDK parameter", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Vault payment inputs", - "block": true - }, - "name": { - "kind": "Name", - "value": "VaultMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment services order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "payments_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The public hash of the token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "public_hash" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Smart button payment inputs", - "block": true - }, - "name": { - "kind": "Name", - "value": "SmartButtonMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment services order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "payments_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Apple Pay inputs", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplePayMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment services order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "payments_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Google Pay inputs", - "block": true - }, - "name": { - "kind": "Name", - "value": "GooglePayMethodInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment services order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "payments_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Hosted Fields payment inputs", - "block": true - }, - "name": { - "kind": "Name", - "value": "HostedFieldsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Card bin number", - "block": true - }, - "name": { - "kind": "Name", - "value": "cardBin" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration month of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "cardExpiryMonth" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration year of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "cardExpiryYear" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Last four digits of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "cardLast4" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Name on the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "holderName" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the Payment Services payment integration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_active_payment_token_enabler" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source for the payment method", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment services order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "payments_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PayPal order ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_order_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describe the variables needed to create a vault card setup token", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateVaultCardSetupTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The setup token information", - "block": true - }, - "name": { - "kind": "Name", - "value": "setup_token" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "VaultSetupTokenInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The 3DS mode", - "block": true - }, - "name": { - "kind": "Name", - "value": "three_ds_mode" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ThreeDSMode" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "VaultSetupTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentSourceInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentSourceInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The card payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "card" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CardPaymentSourceInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The card payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "CardPaymentSourceInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "billing_address" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "BillingAddressPaymentSourceInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name on the cardholder", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The billing address information", - "block": true - }, - "name": { - "kind": "Name", - "value": "BillingAddressPaymentSourceInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The first line of the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "address_line_1" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The second line of the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "address_line_2" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The city of the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The country of the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "country_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The postal code of the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "postal_code" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The region of the address", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The setup token id information", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateVaultCardSetupTokenOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The setup token id", - "block": true - }, - "name": { - "kind": "Name", - "value": "setup_token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describe the variables needed to create a vault payment token", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateVaultCardPaymentTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the vaulted card", - "block": true - }, - "name": { - "kind": "Name", - "value": "card_description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The setup token obtained by the createVaultCardSetupToken endpoint", - "block": true - }, - "name": { - "kind": "Name", - "value": "setup_token_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The vault token id and information about the payment source", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateVaultCardPaymentTokenOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_source" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentSourceOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The vault payment token information", - "block": true - }, - "name": { - "kind": "Name", - "value": "vault_token_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentSourceOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The card payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "card" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CardPaymentSourceOutput" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The card payment source information", - "block": true - }, - "name": { - "kind": "Name", - "value": "CardPaymentSourceOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The brand of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "brand" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The expiry of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "expiry" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last digits of the card", - "block": true - }, - "name": { - "kind": "Name", - "value": "last_digits" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Retrieves the vault configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "VaultConfigOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Credit card vault method configuration", - "block": true - }, - "name": { - "kind": "Name", - "value": "credit_card" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "VaultCreditCardConfig" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "VaultCreditCardConfig" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is vault enabled", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_vault_enabled" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The parameters required to load the Paypal JS SDK", - "block": true - }, - "name": { - "kind": "Name", - "value": "sdk_params" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SDKParams" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "3DS mode", - "block": true - }, - "name": { - "kind": "Name", - "value": "three_ds_mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ThreeDSMode" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaypalExpressTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the buyer selected the quick checkout button. The default value is false.", - "block": true - }, - "name": { - "kind": "Name", - "value": "express_button" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A set of relative URLs that PayPal uses in response to various actions during the authorization process.", - "block": true - }, - "name": { - "kind": "Name", - "value": "urls" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaypalExpressUrlsInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the buyer clicked the PayPal credit button. The default value is false.", - "block": true - }, - "name": { - "kind": "Name", - "value": "use_paypal_credit" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `PaypalExpressTokenOutput` instead.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaypalExpressToken" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A set of URLs that allow the buyer to authorize payment and adjust checkout details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_urls" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaypalExpressUrlList" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `PaypalExpressTokenOutput.paypal_urls` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The token returned by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `PaypalExpressTokenOutput.token` instead." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaypalExpressTokenOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A set of URLs that allow the buyer to authorize payment and adjust checkout details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_urls" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaypalExpressUrlList" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The token returned by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowLinkToken" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The mode for the Payflow transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "mode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowLinkMode" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal URL used for requesting a Payflow form.", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The secure token generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_token" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The secure token ID generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_token_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the secure URL used for the Payments Pro Hosted Solution payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "HostedProUrl" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The secure URL generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_form_url" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the required input to request the secure URL for Payments Pro Hosted Solution payment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "HostedProUrlInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the shopper's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "HostedProInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. For example, if the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancel_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the final confirmation page that PayPal redirects to upon payment success. For example, if the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains required input for Express Checkout and Payments Standard payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaypalExpressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the PayPal user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payer_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The token returned by the `createPaypalExpressToken` mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains required input for Payflow Express Checkout payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowExpressInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the PayPal user.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payer_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The token returned by the createPaypalExpressToken mutation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "token" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaypalExpressUrlsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancel_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the page that PayPal redirects to when the payment has been put on hold for additional review. This condition mostly applies to ACH transactions, and is not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success_pending.html, the relative URL is paypal/action/success_pending.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pending_url" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. Not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success.html, the relative URL is paypal/action/success.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "success_url" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaypalExpressUrlList" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The PayPal URL that allows the buyer to edit their checkout details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "edit" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL to the PayPal login page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "start" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowLinkInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancel_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "error_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowLinkTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the customer's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowLinkMode" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEST" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LIVE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowProTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the shopper's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A set of relative URLs that PayPal uses for callback.", - "block": true - }, - "name": { - "kind": "Name", - "value": "urls" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PayflowProUrlInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains input for the Payflow Pro and Payments Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowProInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Required input for credit card related information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cc_details" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreditCardDetailsInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the PayPal Payflow Pro payment integration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_active_payment_token_enabler" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Required fields for Payflow Pro and Payments Pro credit card payments.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreditCardDetailsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The credit card expiration month.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cc_exp_month" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The credit card expiration year.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cc_exp_year" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The last 4 digits of the credit card.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cc_last_4" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The credit card type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cc_type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowProUrlInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cancel_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "error_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_url" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowProToken" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "response_message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A non-zero value if any errors occurred.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The RESULT returned by PayPal. A value of `0` indicates the transaction was approved.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A secure token generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A secure token ID generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_token_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreatePayflowProTokenOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`.", - "block": true - }, - "name": { - "kind": "Name", - "value": "response_message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A non-zero value if any errors occurred.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The RESULT returned by PayPal. A value of `0` indicates the transaction was approved.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A secure token generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A secure token ID generated by PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "secure_token_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PayflowProResponseInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID that identifies the shopper's cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The payload returned from PayPal.", - "block": true - }, - "name": { - "kind": "Name", - "value": "paypal_payload" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PayflowProResponseOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart with the updated selected payment method.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains required input for payment methods with Vault support.", - "block": true - }, - "name": { - "kind": "Name", - "value": "VaultTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The public hash of the payment token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "public_hash" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the comment to be added to a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddPurchaseOrderCommentInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Comment text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the successfully added comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddPurchaseOrderCommentOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderComment" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrder" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The approval flows for each applied rules.", - "block": true - }, - "name": { - "kind": "Name", - "value": "approval_flow" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderRuleApprovalFlow" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order actions available to the customer. Can be used to display action buttons on the client.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_actions" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderAction" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The set of comments applied to the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderComment" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the purchase order was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The company user who created the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_by" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The log of the events related to the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "history_log" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderHistoryItem" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The reference to the order placed based on the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quote related to the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quote" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current status of the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A unique identifier for the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the purchase order was last updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines which purchase orders to act on.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of purchase order UIDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Returns a list of updated purchase orders and any error messages.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrdersActionOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of error messages encountered while performing the operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderActionError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_orders" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrder" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a failed action.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderActionError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The returned error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The error type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderErrorType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OPERATION_NOT_APPLICABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "COULD_NOT_SAVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_VALID_DATA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderAction" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REJECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CANCEL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VALIDATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PLACE_ORDER" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PENDING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVAL_REQUIRED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORDER_IN_PROGRESS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORDER_PLACED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORDER_FAILED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REJECTED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CANCELED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVED_PENDING_PAYMENT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderComment" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The user who left the comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "author" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Customer" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time when the comment was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The text of the comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A unique identifier of the comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a status change.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderHistoryItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The activity type of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "activity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time when the event happened.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message representation of the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A unique identifier of the purchase order history item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the criteria to use to filter the list of purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrdersFilterInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Include only purchase orders made by subordinate company users.", - "block": true - }, - "name": { - "kind": "Name", - "value": "company_purchase_orders" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the creation date of the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_date" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterRangeTypeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Include only purchase orders that are waiting for the customer’s approval.", - "block": true - }, - "name": { - "kind": "Name", - "value": "require_my_approval" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Filter by the status of the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderStatus" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrders" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase orders matching the search criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrder" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Page information of search result's current page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Total number of purchase orders found matching the search criteria.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the quote to be converted to a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlacePurchaseOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the purchase order to convert to an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceOrderForPurchaseOrderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of the request to place a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlacePurchaseOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Placed purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrder" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of the request to place an order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PlaceOrderForPurchaseOrderOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Placed order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the purchase order and cart to act on.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddPurchaseOrderItemsToCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID to assign to the cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order unique ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Replace existing cart or merge items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "replace_existing_cart_items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the changes to be made to an approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdatePurchaseOrderApprovalRuleInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An updated list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applies_to" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An updated list of B2B user roles that can approve this purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "approvers" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated condition of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "condition" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePurchaseOrderApprovalRuleConditionInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated approval rule description.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated approval rule name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The updated status of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleStatus" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Unique identifier for the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a new purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applies_to" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A list of B2B user roles that can approve this purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "approvers" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The condition of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "condition" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePurchaseOrderApprovalRuleConditionInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A summary of the purpose of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The purchase order approval rule name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleStatus" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a set of conditions that apply to a rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreatePurchaseOrderApprovalRuleConditionInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The amount to be compared in a purchase order approval rule. This field is mutually exclusive with condition quantity.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePurchaseOrderApprovalRuleConditionAmountInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The type of approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleType" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines how to evaluate an amount or quantity in a purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operator" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionOperator" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity to be compared in a purchase order approval rule. This field is mutually exclusive with condition amount.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the amount and currency to evaluate.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreatePurchaseOrderApprovalRuleConditionAmountInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order approval rule condition amount currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currency" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CurrencyEnum" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order approval rule condition amount value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains metadata that can be used to render rule edit forms.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of B2B user roles that the rule can be applied to.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_applies_to" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of currencies that can be used to create approval rules based on amounts, for example shipping cost rules.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_condition_currencies" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AvailableCurrency" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of B2B user roles that can be specified as approvers for the approval rules.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_requires_approval_from" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the code and symbol of a currency that can be used for purchase orders.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AvailableCurrency" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "3-letter currency code, for example USD.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CurrencyEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Currency symbol, for example $.", - "block": true - }, - "name": { - "kind": "Name", - "value": "symbol" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the approval rules that the customer can see.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRules" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of purchase order approval rules visible to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRule" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Result pagination details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of purchase order approval rules visible to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRule" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the user(s) affected by the the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "applies_to_roles" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the user who needs to approve purchase orders that trigger the approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "approver_roles" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CompanyRole" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Condition which triggers the approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "condition" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionInterface" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the purchase order rule was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the user who created the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_by" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for the purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the purchase order rule was last updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Purchase order rule condition details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleType" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The operator to be used for evaluating the approval rule condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operator" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionOperator" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains approval rule condition details, including the amount to be evaluated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionAmount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount to be be used for evaluation of the approval rule condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleType" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The operator to be used for evaluating the approval rule condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operator" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionOperator" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains approval rule condition details, including the quantity to be evaluated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionQuantity" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of purchase order approval rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleType" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The operator to be used for evaluating the approval rule condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "operator" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionOperator" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity to be used for evaluation of the approval rule condition.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleConditionOperator" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MORE_THAN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LESS_THAN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MORE_THAN_OR_EQUAL_TO" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "LESS_THAN_OR_EQUAL_TO" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ENABLED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISABLED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalRuleType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GRAND_TOTAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SHIPPING_INCL_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NUMBER_OF_SKUS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about approval roles applied to the purchase order and status changes.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderRuleApprovalFlow" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The approval flow event related to the rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "events" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalFlowEvent" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the applied rule.", - "block": true - }, - "name": { - "kind": "Name", - "value": "rule_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a single event in the approval flow of the purchase order.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalFlowEvent" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A formatted message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The approver name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The approver role.", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status related to the event.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalFlowItemStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the event was updated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "updated_at" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "PurchaseOrderApprovalFlowItemStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PENDING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REJECTED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the purchase orders to be validated.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrdersInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of the purchase order IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_order_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the results of validation attempts.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrdersOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of error messages encountered while performing the operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrderError" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of the purchase orders in the request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "purchase_orders" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PurchaseOrder" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a failed validation attempt.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrderError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The returned error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Error type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrderErrorType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ValidatePurchaseOrderErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OPERATION_NOT_APPLICABLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "COULD_NOT_SAVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_VALID_DATA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the IDs of the approval rules to delete.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of purchase order approval rule IDs.", - "block": true - }, - "name": { - "kind": "Name", - "value": "approval_rule_uids" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains any errors encountered while attempting to delete approval rules.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of error messages encountered while performing the operation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about an error that occurred when deleting an approval rule .", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The text of the error message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The error type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleErrorType" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "DeletePurchaseOrderApprovalRuleErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_FOUND" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Assigns a specific `cart_id` to the empty cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ClearCartInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Cart` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Output of the request to clear the customer cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ClearCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The cart after clear cart items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while clearing the cart item", - "block": true - }, - "name": { - "kind": "Name", - "value": "errors" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ClearCartError" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about errors encountered when a customer clear cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ClearCartError" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A localized error message", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A cart-specific error type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ClearCartErrorType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ClearCartErrorType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_FOUND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNAUTHORISED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INACTIVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ReCaptchaFormEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PLACE_ORDER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CONTACT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER_LOGIN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER_FORGOT_PASSWORD" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CUSTOMER_EDIT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NEWSLETTER" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRODUCT_REVIEW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SENDFRIEND" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BRAINTREE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains reCAPTCHA V3-Invisible configuration details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReCaptchaConfigurationV3" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position of the invisible reCAPTCHA badge on each page.", - "block": true - }, - "name": { - "kind": "Name", - "value": "badge_position" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The message that appears to the user if validation fails.", - "block": true - }, - "name": { - "kind": "Name", - "value": "failure_message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of forms on the storefront that have been configured to use reCAPTCHA V3.", - "block": true - }, - "name": { - "kind": "Name", - "value": "forms" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReCaptchaFormEnum" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return whether recaptcha is enabled or not", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_enabled" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A two-character code that specifies the language that is used for Google reCAPTCHA text and messaging.", - "block": true - }, - "name": { - "kind": "Name", - "value": "language_code" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum score that identifies a user interaction as a potential risk.", - "block": true - }, - "name": { - "kind": "Name", - "value": "minimum_score" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The website key generated when the Google reCAPTCHA account was registered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_key" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about configurable products added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ConfigurableRequisitionListItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected configurable options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "configurable_options" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedConfigurableOption" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the product added to the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of an item in a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of product reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReviews" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of product reviews.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReview" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Metadata for pagination rendering.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details of a product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReview" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The average of all ratings for this product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "average_rating" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the review was created.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's nickname. Defaults to the customer name, if logged in.", - "block": true - }, - "name": { - "kind": "Name", - "value": "nickname" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The reviewed product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of ratings by rating category, such as quality, price, and value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ratings_breakdown" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviewRating" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The summary (title) of the review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "summary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The review text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains data about a single aspect of a product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReviewRating" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to an aspect of a product that is being rated, such as quality or price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The rating value given by customer. By default, possible values range from 1 to 5.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains an array of metadata about each aspect of a product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReviewRatingsMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of product reviews sorted by position.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviewRatingMetadata" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a single aspect of a product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReviewRatingMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An encoded rating ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to an aspect of a product that is being rated, such as quality or price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of product review ratings sorted by position.", - "block": true - }, - "name": { - "kind": "Name", - "value": "values" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviewRatingValueMetadata" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a single value in a product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReviewRatingValueMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A ratings scale, such as the number of stars awarded.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An encoded rating value ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the completed product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateProductReviewOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Product review details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "review" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReview" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a new product review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateProductReviewInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The customer's nickname. Defaults to the customer name, if logged in.", - "block": true - }, - "name": { - "kind": "Name", - "value": "nickname" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ratings details by category. For example, Price: 5 stars, Quality: 4 stars, etc.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ratings" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductReviewRatingInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The SKU of the reviewed product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sku" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The summary (title) of the review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "summary" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The review text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the reviewer's rating for a single aspect of a review.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductReviewRatingInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An encoded rating ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An encoded rating value ID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a customer's reward points.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RewardPoints" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current balance of reward points.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsAmount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The balance history of reward points. If the ability for customers to view the balance history has been disabled in the Admin, this field will be set to null.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance_history" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsBalanceHistoryItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The current exchange rates for reward points.", - "block": true - }, - "name": { - "kind": "Name", - "value": "exchange_rates" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsExchangeRates" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The subscription status of emails related to reward points.", - "block": true - }, - "name": { - "kind": "Name", - "value": "subscription_status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsSubscriptionStatus" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "RewardPointsAmount" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The reward points amount in store currency.", - "block": true - }, - "name": { - "kind": "Name", - "value": "money" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The reward points amount in points.", - "block": true - }, - "name": { - "kind": "Name", - "value": "points" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Lists the reward points exchange rates. The values depend on the customer group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RewardPointsExchangeRates" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "How many points are earned for a given amount spent.", - "block": true - }, - "name": { - "kind": "Name", - "value": "earning" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsRate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "How many points must be redeemed to get a given amount of currency discount at the checkout.", - "block": true - }, - "name": { - "kind": "Name", - "value": "redemption" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsRate" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about customer's reward points rate.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RewardPointsRate" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The money value for the exchange rate. For earnings, this is the amount spent to earn the specified points. For redemption, this is the amount of money the number of points represents.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currency_amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points for an exchange rate. For earnings, this is the number of points earned. For redemption, this is the number of points needed for redemption.", - "block": true - }, - "name": { - "kind": "Name", - "value": "points" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer subscribes to reward points emails.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RewardPointsSubscriptionStatus" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer subscribes to 'Reward points balance updates' emails.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance_updates" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsSubscriptionStatusesEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the customer subscribes to 'Reward points expiration notifications' emails.", - "block": true - }, - "name": { - "kind": "Name", - "value": "points_expiration_notifications" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsSubscriptionStatusesEnum" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "RewardPointsSubscriptionStatusesEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SUBSCRIBED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "NOT_SUBSCRIBED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contain details about the reward points transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RewardPointsBalanceHistoryItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The award points balance after the completion of the transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "balance" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RewardPointsAmount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The reason the balance changed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "change_reason" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date of the transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "date" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of points added or deducted in the transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "points_change" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplyRewardPointsToCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer cart after reward points are applied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the customer cart.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveRewardPointsFromCartOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The customer cart after reward points are removed.", - "block": true - }, - "name": { - "kind": "Name", - "value": "cart" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Cart" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information needed to start a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequestReturnInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Text the buyer entered that describes the reason for the refund request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment_text" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address the buyer enters to receive notifications about the status of the return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "contact_email" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of items to be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestReturnItemInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Order` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about an item to be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequestReturnItemInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a custom attribute that was entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entered_custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "EnteredCustomAttributeInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `OrderItemInterface` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the item to be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity_to_return" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array of selected custom option IDs associated with the item to be returned. For example, the IDs for the selected color and size of a configurable product.", - "block": true - }, - "name": { - "kind": "Name", - "value": "selected_custom_attributes" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomAttributeInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a custom text attribute that the buyer entered.", - "block": true - }, - "name": { - "kind": "Name", - "value": "EnteredCustomAttributeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that identifies the entered custom attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The text or other entered value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about an attribute the buyer selected.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SelectedCustomAttributeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "A string that identifies the selected attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "attribute_code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `CustomAttribute` object of a selected custom attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response to a return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RequestReturnOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a single return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Return" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of return requests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "returns" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the maximum number of results to return at once. The default is 20.", - "block": true - }, - "name": { - "kind": "Name", - "value": "pageSize" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "20" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies which page of results to return. The default is 1.", - "block": true - }, - "name": { - "kind": "Name", - "value": "currentPage" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "1" - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Returns" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a return comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddReturnCommentInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The text added to the return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comment_text" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Return` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddReturnCommentOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The modified return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Return" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines tracking information to be added to the return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddReturnTrackingInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnShippingCarrier` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Returns` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The shipping tracking number for this return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tracking_number" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response after adding tracking information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "AddReturnTrackingOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the modified return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Return" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about shipping for a return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_shipping_tracking" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingTracking" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the tracking information to delete.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveReturnTrackingInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnShippingTracking` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return_shipping_tracking_uid" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the response after deleting tracking information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "RemoveReturnTrackingOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the modified return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "return" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Return" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a list of customer return requests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Returns" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of return requests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Return" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Pagination metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "page_info" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SearchResultPageInfo" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The total number of return requests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "total_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Return" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of shipping carriers available for returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "available_shipping_carriers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingCarrier" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of comments posted for the return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "comments" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnComment" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date the return was requested.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data from the customer who created the return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnCustomer" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of items being returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnItem" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A human-readable return number.", - "block": true - }, - "name": { - "kind": "Name", - "value": "number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The order associated with the return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerOrder" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Shipping information for the return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "shipping" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShipping" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The status of the return request.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `Return` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The customer information for the return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnCustomer" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The first name of the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "firstname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The last name of the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastname" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a product being returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Return item custom attributes that are visible on the storefront.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributes" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnCustomAttribute" - } - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use custom_attributesV2 instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Custom attributes that are visible on the storefront.", - "block": true - }, - "name": { - "kind": "Name", - "value": "custom_attributesV2" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeValueInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Provides access to the product being returned, including information about selected and entered options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "order_item" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrderItemInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the item the merchant authorized to be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of the item requested to be returned.", - "block": true - }, - "name": { - "kind": "Name", - "value": "request_quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The return status of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnItemStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnItem` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Return Item attribute metadata.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnItemAttributeMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique identifier for an attribute code. This value should be in lowercase letters without spaces.", - "block": true - }, - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Default attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "default_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of entity that defines the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "entity_type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeEntityTypeEnum" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend class of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_class" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "frontend_input" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AttributeFrontendInputEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The template used for the input of the attribute (e.g., 'date').", - "block": true - }, - "name": { - "kind": "Name", - "value": "input_filter" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "InputFilterEnum" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value is required.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Whether the attribute value must be unique.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_unique" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label assigned to the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of lines of the attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "multiline_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Attribute options.", - "block": true - }, - "name": { - "kind": "Name", - "value": "options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeOptionInterface" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The position of the attribute in the form.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sort_order" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The validation rules of the attribute value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "validate_rules" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidationRule" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomAttributeMetadataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a `ReturnCustomerAttribute` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnCustomAttribute" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A description of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnCustomAttribute` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A JSON-encoded value of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a return comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnComment" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name or author who posted the comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "author_name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The date and time the comment was posted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "created_at" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The contents of the comment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnComment` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the return shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnShipping" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The merchant-defined return shipping address.", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingAddress" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnShippingTracking` object. If a single UID is specified, the array contains a single tracking record. Otherwise, array contains all tracking information.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tracking" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "uid" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - }, - "directives": [] - } - ], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingTracking" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the carrier on a return.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnShippingCarrier" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A description of the shipping carrier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnShippingCarrier` object assigned to the shipping carrier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains shipping and tracking details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnShippingTracking" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details of a shipping carrier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "carrier" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingCarrier" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about the status of a shipment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingTrackingStatus" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A tracking number assigned by the carrier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "tracking_number" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for a `ReturnShippingTracking` object assigned to the tracking item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the status of a shipment.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnShippingTrackingStatus" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Text that describes the status.", - "block": true - }, - "name": { - "kind": "Name", - "value": "text" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the status type is informational or an error.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ReturnShippingTrackingStatusType" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ReturnShippingTrackingStatusType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "INFORMATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ERROR" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the shipping address used for receiving returned items.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ReturnShippingAddress" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The city for product returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "city" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The merchant's contact person.", - "block": true - }, - "name": { - "kind": "Name", - "value": "contact_name" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that defines the country for product returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "country" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Country" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The postal code for product returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "postcode" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object that defines the state or province for product returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "region" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Region" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The street address for product returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "street" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The telephone number for product returns.", - "block": true - }, - "name": { - "kind": "Name", - "value": "telephone" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ReturnStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PENDING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AUTHORIZED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PARTIALLY_AUTHORIZED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RECEIVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PARTIALLY_RECEIVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PARTIALLY_APPROVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REJECTED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PARTIALLY_REJECTED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DENIED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PROCESSED_AND_CLOSED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "CLOSED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "ReturnItemStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PENDING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "AUTHORIZED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "RECEIVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APPROVED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REJECTED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DENIED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the wish list visibility types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistVisibilityEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PUBLIC" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRIVATE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateWishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The newly-created wish list", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the status of the request to delete a wish list and an array of the customer's remaining wish lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeleteWishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the wish list was deleted.", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A list of undeleted wish lists.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlists" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the source and target wish lists after copying products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CopyProductsBetweenWishlistsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The destination wish list containing the copied products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destination_wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The wish list that the products were copied from.", - "block": true - }, - "name": { - "kind": "Name", - "value": "source_wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while copying products in a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishListUserInputError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the IDs of items to copy and their quantities.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItemCopyInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item to copy to the destination wish list. This value can't be greater than the quantity in the source wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the `WishlistItemInterface` object to be copied.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist_item_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the IDs of the items to move and their quantities.", - "block": true - }, - "name": { - "kind": "Name", - "value": "WishlistItemMoveInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The quantity of this item to move to the destination wish list. This value can't be greater than the quantity in the source wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of the `WishlistItemInterface` object to be moved.", - "block": true - }, - "name": { - "kind": "Name", - "value": "wishlist_item_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the name and visibility of a new wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CreateWishlistInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the new wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the wish list is public or private.", - "block": true - }, - "name": { - "kind": "Name", - "value": "visibility" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistVisibilityEnum" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the name and visibility of an updated wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "UpdateWishlistOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The wish list name.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID of a `Wishlist` object.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the wish list is public or private.", - "block": true - }, - "name": { - "kind": "Name", - "value": "visibility" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishlistVisibilityEnum" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains the source and target wish lists after moving products.", - "block": true - }, - "name": { - "kind": "Name", - "value": "MoveProductsBetweenWishlistsOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The destination wish list after receiving products moved from the source wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "destination_wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The source wish list after moving products from it.", - "block": true - }, - "name": { - "kind": "Name", - "value": "source_wishlist" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wishlist" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of errors encountered while moving products to a wish list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "user_errors" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "WishListUserInputError" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "SearchTerm" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Containes the popularity of the selected Search Term", - "block": true - }, - "name": { - "kind": "Name", - "value": "popularity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Containes the query_text of the selected Search Term", - "block": true - }, - "name": { - "kind": "Name", - "value": "query_text" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Containes the Url of the selected Search Term", - "block": true - }, - "name": { - "kind": "Name", - "value": "redirect" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines the referenced product and the email sender and recipients.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendEmailToFriendInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the product that the sender is referencing.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product_id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about each recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipients" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendEmailToFriendRecipientInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the customer and the content of the message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendEmailToFriendSenderInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendEmailToFriendSenderInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The text of the message to be sent.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about a recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendEmailToFriendRecipientInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains information about the sender and recipients.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendEmailToFriendOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array containing information about each recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipients" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendEmailToFriendRecipient" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Information about the customer and the content of the message.", - "block": true - }, - "name": { - "kind": "Name", - "value": "sender" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SendEmailToFriendSender" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An output object that contains information about the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendEmailToFriendSender" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The text of the message to be sent.", - "block": true - }, - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the sender.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "An output object that contains information about the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendEmailToFriendRecipient" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The email address of the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The name of the recipient.", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about the configuration of the Email to a Friend feature.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SendFriendConfiguration" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the Email to a Friend feature is enabled.", - "block": true - }, - "name": { - "kind": "Name", - "value": "enabled_for_customers" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the Email to a Friend feature is enabled for guests.", - "block": true - }, - "name": { - "kind": "Name", - "value": "enabled_for_guests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Deprecated. Use `TierPrice` instead. Defines a tier price, which is a quantity discount offered to a specific customer group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProductTierPrices" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID of the customer group.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customer_group_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Not relevant for the storefront." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The percentage discount of the item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "percentage_value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `TierPrice.discount` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The number of items that must be purchased to qualify for tier pricing.", - "block": true - }, - "name": { - "kind": "Name", - "value": "qty" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `TierPrice.quantity` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the fixed price item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `TierPrice.final_price` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The ID assigned to the website.", - "block": true - }, - "name": { - "kind": "Name", - "value": "website_id" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Not relevant for the storefront." - } - } - ] - } - ] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Defines a price based on the quantity purchased.", - "block": true - }, - "name": { - "kind": "Name", - "value": "TierPrice" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price discount that this tier represents.", - "block": true - }, - "name": { - "kind": "Name", - "value": "discount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductDiscount" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The price of the product at this tier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "final_price" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The minimum number of items that must be purchased to qualify for this price tier.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "SwatchLayerFilterItemInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data required to render a swatch filter item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_data" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchData" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "SwatchLayerFilterItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The count of items per filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items_count" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.count` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The label for a filter.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.label` instead." - } - } - ] - } - ] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data required to render a swatch filter item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "swatch_data" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchData" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value of a filter request variable to be used in query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value_string" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [ - { - "kind": "Directive", - "name": { - "kind": "Name", - "value": "deprecated" - }, - "arguments": [ - { - "kind": "Argument", - "name": { - "kind": "Name", - "value": "reason" - }, - "value": { - "kind": "StringValue", - "value": "Use `AggregationOption.value` instead." - } - } - ] - } - ] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LayerFilterItemInterface" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchLayerFilterItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Describes the swatch type and a value.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SwatchData" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The type of swatch filter item: 1 - text; 2 - image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value for the swatch item. It could be text or an image link.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InterfaceTypeDefinition", - "name": { - "kind": "Name", - "value": "SwatchDataInterface" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value can be represented as color (HEX code), image link, or text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [], - "interfaces": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ImageSwatchData" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The URL assigned to the thumbnail of the swatch image.", - "block": true - }, - "name": { - "kind": "Name", - "value": "thumbnail" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value can be represented as color (HEX code), image link, or text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchDataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "TextSwatchData" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value can be represented as color (HEX code), image link, or text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchDataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ColorSwatchData" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The value can be represented as color (HEX code), image link, or text.", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SwatchDataInterface" - } - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Swatch attribute metadata input types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "SwatchInputTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "BOOLEAN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATETIME" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DROPDOWN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "FILE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GALLERY" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HIDDEN" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "IMAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MEDIA_IMAGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MULTILINE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MULTISELECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PRICE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SELECT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TEXTAREA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "UNDEFINED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "VISUAL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEIGHT" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "TaxWrappingEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISPLAY_EXCLUDING_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISPLAY_INCLUDING_TAX" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DISPLAY_TYPE_BOTH" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the request succeeded and returns the remaining customer payment tokens.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DeletePaymentTokenOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A container for the customer's remaining payment tokens.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customerPaymentTokens" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CustomerPaymentTokens" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the request succeeded.", - "block": true - }, - "name": { - "kind": "Name", - "value": "result" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains payment tokens stored in the customer's vault.", - "block": true - }, - "name": { - "kind": "Name", - "value": "CustomerPaymentTokens" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array of payment tokens.", - "block": true - }, - "name": { - "kind": "Name", - "value": "items" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentToken" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The stored payment method available to the customer.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentToken" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "A description of the stored account details.", - "block": true - }, - "name": { - "kind": "Name", - "value": "details" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The payment method code associated with the token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_method_code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The public hash of the token.", - "block": true - }, - "name": { - "kind": "Name", - "value": "public_hash" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Specifies the payment token type.", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PaymentTokenTypeEnum" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The list of available payment token types.", - "block": true - }, - "name": { - "kind": "Name", - "value": "PaymentTokenTypeEnum" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "phpcs:ignore Magento2.GraphQL.ValidArgumentName", - "block": true - }, - "name": { - "kind": "Name", - "value": "card" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "phpcs:ignore Magento2.GraphQL.ValidArgumentName", - "block": true - }, - "name": { - "kind": "Name", - "value": "account" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A single FPT that can be applied to a product price.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FixedProductTax" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount of the Fixed Product Tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Money" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The display label assigned to the Fixed Product Tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Lists display settings for the Fixed Product Tax.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FixedProductTaxDisplaySettings" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to 'Including FPT only'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "INCLUDE_FPT_WITHOUT_DETAILS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to 'Including FPT and FPT description'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "INCLUDE_FPT_WITH_DETAILS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The displayed price does not include the FPT amount. The values of `ProductPrice.fixed_product_taxes` and the price including the FPT are displayed separately. This value corresponds to 'Excluding FPT, Including FPT description and final price.'", - "block": true - }, - "name": { - "kind": "Name", - "value": "EXCLUDE_FPT_AND_INCLUDE_WITH_DETAILS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The displayed price does not include the FPT amount. The values from `ProductPrice.fixed_product_taxes` are not displayed. This value corresponds to 'Excluding FPT'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "EXCLUDE_FPT_WITHOUT_DETAILS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query.", - "block": true - }, - "name": { - "kind": "Name", - "value": "FPT_DISABLED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UiAttributeTypeFixedProductTax" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Indicates whether the attribute value allowed to have html content.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_html_allowed" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The frontend input type of the attribute.", - "block": true - }, - "name": { - "kind": "Name", - "value": "ui_input_type" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeEnum" - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UiInputTypeInterface" - } - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Contains details about gift cards added to a requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GiftCardRequisitionListItem" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Selected custom options for an item in the requisition list.", - "block": true - }, - "name": { - "kind": "Name", - "value": "customizable_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SelectedCustomizableOption" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An array that defines gift card properties.", - "block": true - }, - "name": { - "kind": "Name", - "value": "gift_card_options" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GiftCardOptions" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Details about a requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "product" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProductInterface" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The amount added.", - "block": true - }, - "name": { - "kind": "Name", - "value": "quantity" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "The unique ID for the requisition list item.", - "block": true - }, - "name": { - "kind": "Name", - "value": "uid" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ID" - } - } - }, - "directives": [] - } - ], - "interfaces": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequisitionListItemInterface" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "BraintreeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway.", - "block": true - }, - "name": { - "kind": "Name", - "value": "device_data" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "States whether the payment details (Credit/Debit Card, PayPal Account) entered by a customer should be tokenized for later usage. Required only if Vault is enabled for the relevant Braintree payment integration.", - "block": true - }, - "name": { - "kind": "Name", - "value": "is_active_payment_token_enabler" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "The one-time payment token generated by Braintree payment gateway based on payment details (Card, PayPal). Required field to make sale transaction.", - "block": true - }, - "name": { - "kind": "Name", - "value": "payment_method_nonce" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "BraintreeCcVaultInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "device_data" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "public_hash" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "BraintreeVaultInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "device_data" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "public_hash" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - } - ] -}; -exports.default = (0, graphql_1.buildASTSchema)(schemaAST, { - assumeValid: true, - assumeValidSDL: true -}); diff --git a/.mesh/sources/AdobeCommerceAPI/schema.graphql b/.mesh/sources/AdobeCommerceAPI/schema.graphql deleted file mode 100644 index 30ced4f2..00000000 --- a/.mesh/sources/AdobeCommerceAPI/schema.graphql +++ /dev/null @@ -1,14556 +0,0 @@ -schema { - query: Query - mutation: Mutation -} - -type Query { - """ - Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options. - """ - attributesForm( - """Form code.""" - formCode: String! - ): AttributesFormOutput! - """Returns a list of attributes metadata for a given entity type.""" - attributesList( - """Entity type.""" - entityType: AttributeEntityTypeEnum! - """Identifies which filter inputs to search for and return.""" - filters: AttributeFilterInput - ): AttributesMetadataOutput - """ - Return details about custom EAV attributes, and optionally, system attributes. - """ - attributesMetadata( - """The type of entity to search.""" - entityType: AttributeEntityTypeEnum! - """An array of attribute IDs to search.""" - attributeUids: [ID!] - """Indicates whether to return matching system attributes as well.""" - showSystemAttributes: Boolean - ): AttributesMetadata @deprecated(reason: "Use Adobe Commerce `customAttributeMetadataV2` query instead") - """Get a list of available store views and their config information.""" - availableStores( - """Filter store views by the current store group.""" - useCurrentGroup: Boolean - ): [StoreConfig] - """Return information about the specified shopping cart.""" - cart( - """The unique ID of the cart to query.""" - cart_id: String! - ): Cart - """Return a list of categories that match the specified filter.""" - categories( - """Identifies which Category filter inputs to search for and return.""" - filters: CategoryFilterInput - """ - Specifies the maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): CategoryResult - """ - Search for categories that match the criteria specified in the `search` and `filter` attributes. - """ - category( - """The category ID to use as the root of the search.""" - id: Int - ): CategoryTree @deprecated(reason: "Use `categories` instead.") - """Return an array of categories based on the specified filters.""" - categoryList( - """Identifies which Category filter inputs to search for and return.""" - filters: CategoryFilterInput - """ - Specifies the maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): [CategoryTree] @deprecated(reason: "Use `categories` instead.") - """Return Terms and Conditions configuration information.""" - checkoutAgreements: [CheckoutAgreement] - """Return information about CMS blocks.""" - cmsBlocks( - """An array of CMS block IDs.""" - identifiers: [String] - ): CmsBlocks - """Return details about a CMS page.""" - cmsPage( - """The ID of the CMS page.""" - id: Int - """The identifier of the CMS page.""" - identifier: String - ): CmsPage - """ - Return detailed information about the customer's company within the current company context. - """ - company: Company - """Return products that have been added to the specified compare list.""" - compareList( - """The unique ID of the compare list to be queried.""" - uid: ID! - ): CompareList - """The countries query provides information for all countries.""" - countries: [Country] - """The countries query provides information for a single country.""" - country(id: String): Country - """Return information about the store's currency.""" - currency: Currency - """Return the attribute type, given an attribute code and entity type.""" - customAttributeMetadata( - """ - An input object that specifies the attribute code and entity type to search. - """ - attributes: [AttributeInput!]! - ): CustomAttributeMetadata @deprecated(reason: "Use `customAttributeMetadataV2` query instead.") - """Retrieve EAV attributes metadata.""" - customAttributeMetadataV2(attributes: [AttributeInput!]): AttributesMetadataOutput! - """Return detailed information about a customer account.""" - customer: Customer - """Return information about the customer's shopping cart.""" - customerCart: Cart! - """Return a list of downloadable products the customer has purchased.""" - customerDownloadableProducts: CustomerDownloadableProducts - customerOrders: CustomerOrders @deprecated(reason: "Use the `customer` query instead.") - """Return a list of customer payment tokens stored in the vault.""" - customerPaymentTokens: CustomerPaymentTokens - """Return a list of dynamic blocks filtered by type, location, or UIDs.""" - dynamicBlocks( - """Defines the filter for returning matching dynamic blocks.""" - input: DynamicBlocksFilterInput - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): DynamicBlocks! - """ - Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction. - """ - getHostedProUrl( - """An input object that specifies the cart ID.""" - input: HostedProUrlInput! - ): HostedProUrl - """ - Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods. - """ - getPayflowLinkToken( - """ - An input object that defines the requirements to receive a payment token. - """ - input: PayflowLinkTokenInput! - ): PayflowLinkToken - """Retrieves the payment configuration for a given location""" - getPaymentConfig( - """Defines the origin location for that payment request""" - location: PaymentLocation! - ): PaymentConfigOutput - """Retrieves the payment details for the order""" - getPaymentOrder( - """The customer cart ID""" - cartId: String! - """PayPal order ID""" - id: String! - ): PaymentOrderOutput - """Gets the payment SDK urls and values""" - getPaymentSDK( - """Defines the origin location for that payment request""" - location: PaymentLocation! - ): GetPaymentSDKOutput - """Retrieves the vault configuration""" - getVaultConfig: VaultConfigOutput - """Return details about a specific gift card.""" - giftCardAccount( - """An input object that specifies the gift card code.""" - input: GiftCardAccountInput! - ): GiftCardAccount - """ - Return the specified gift registry. Some details will not be available to guests. - """ - giftRegistry( - """The unique ID of the registry to search for.""" - giftRegistryUid: ID! - ): GiftRegistry - """Search for gift registries by specifying a registrant email address.""" - giftRegistryEmailSearch( - """The registrant's email.""" - email: String! - ): [GiftRegistrySearchResult] - """Search for gift registries by specifying a registry URL key.""" - giftRegistryIdSearch( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - ): [GiftRegistrySearchResult] - """ - Search for gift registries by specifying the registrant name and registry type ID. - """ - giftRegistryTypeSearch( - """The first name of the registrant.""" - firstName: String! - """The last name of the registrant.""" - lastName: String! - """The type UID of the registry.""" - giftRegistryTypeUid: ID - ): [GiftRegistrySearchResult] - """Get a list of available gift registry types.""" - giftRegistryTypes: [GiftRegistryType] - """Retrieve guest order details based on number, email and postcode.""" - guestOrder(input: OrderInformationInput!): CustomerOrder! - """Retrieve guest order details based on token.""" - guestOrderByToken(input: OrderTokenInput!): CustomerOrder! - """ - Check whether the specified email can be used to register a company admin. - """ - isCompanyAdminEmailAvailable(email: String!): IsCompanyAdminEmailAvailableOutput - """ - Check whether the specified email can be used to register a new company. - """ - isCompanyEmailAvailable(email: String!): IsCompanyEmailAvailableOutput - """Check whether the specified role name is valid for the company.""" - isCompanyRoleNameAvailable(name: String!): IsCompanyRoleNameAvailableOutput - """ - Check whether the specified email can be used to register a company user. - """ - isCompanyUserEmailAvailable(email: String!): IsCompanyUserEmailAvailableOutput - """ - Check whether the specified email has already been used to create a customer account. - """ - isEmailAvailable( - """The email address to check.""" - email: String! - ): IsEmailAvailableOutput - """Retrieve the specified negotiable quote.""" - negotiableQuote(uid: ID!): NegotiableQuote - """Retrieve the specified negotiable quote template.""" - negotiableQuoteTemplate(templateId: ID!): NegotiableQuoteTemplate - """ - Return a list of negotiable quote templates that can be viewed by the logged-in customer. - """ - negotiableQuoteTemplates( - """ - The filter to use to determine which negotiable quote templates to return. - """ - filter: NegotiableQuoteTemplateFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteTemplateSortInput - ): NegotiableQuoteTemplatesOutput - """ - Return a list of negotiable quotes that can be viewed by the logged-in customer. - """ - negotiableQuotes( - """The filter to use to determine which negotiable quotes to return.""" - filter: NegotiableQuoteFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteSortInput - ): NegotiableQuotesOutput - """ - The pickup locations query searches for locations that match the search request requirements. - """ - pickupLocations( - """Perform search by location using radius and search term.""" - area: AreaInput - """Apply filters by attributes.""" - filters: PickupLocationFilterInput - """ - Specifies which attribute to sort on, and whether to return the results in ascending or descending order. - """ - sort: PickupLocationSortInput - """ - The maximum number of pickup locations to return at once. The attribute is optional. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - """Information about products which should be delivered.""" - productsInfo: [ProductInfoInput] - ): PickupLocations - """ - Return the active ratings attributes and the values each rating can have. - """ - productReviewRatingsMetadata: ProductReviewRatingsMetadata! - """ - Search for products that match the criteria specified in the `search` and `filter` attributes. - """ - products( - """One or more keywords to use in a full-text search.""" - search: String - """The product attributes to search for and return.""" - filter: ProductAttributeFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - Specifies which attributes to sort on, and whether to return the results in ascending or descending order. - """ - sort: ProductAttributeSortInput - ): Products - """Returns details about Google reCAPTCHA V3-Invisible configuration.""" - recaptchaV3Config: ReCaptchaConfigurationV3 - """ - Return the full details for a specified product, category, or CMS page. - """ - route( - """A `url_key` appended by the `url_suffix, if one exists.""" - url: String! - ): RoutableInterface - searchTerm( - """An input of Search Term""" - Search: String - ): SearchTerm - """Return details about the store's configuration.""" - storeConfig: StoreConfig - """Return the relative URL for a specified product, category or CMS page.""" - urlResolver( - """A `url_key` appended by the `url_suffix, if one exists.""" - url: String! - ): EntityUrl @deprecated(reason: "Use the `route` query instead.") - """Return the contents of a customer's wish list.""" - wishlist: WishlistOutput @deprecated(reason: "Moved under `Customer.wishlist`.") -} - -type Mutation { - """Accept invitation to the company.""" - acceptCompanyInvitation(input: CompanyInvitationInput!): CompanyInvitationOutput - """Update an existing negotiable quote template.""" - acceptNegotiableQuoteTemplate( - """ - An input object that contains the data to update a negotiable quote template. - """ - input: AcceptNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """ - Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addBundleProductsToCart( - """An input object that defines which bundle products to add to the cart.""" - input: AddBundleProductsToCartInput - ): AddBundleProductsToCartOutput - """ - Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addConfigurableProductsToCart( - """ - An input object that defines which configurable products to add to the cart. - """ - input: AddConfigurableProductsToCartInput - ): AddConfigurableProductsToCartOutput - """ - Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addDownloadableProductsToCart( - """ - An input object that defines which downloadable products to add to the cart. - """ - input: AddDownloadableProductsToCartInput - ): AddDownloadableProductsToCartOutput - """Add registrants to the specified gift registry.""" - addGiftRegistryRegistrants( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array registrants to add.""" - registrants: [AddGiftRegistryRegistrantInput!]! - ): AddGiftRegistryRegistrantsOutput - """Add any type of product to the cart.""" - addProductsToCart( - """The cart ID of the shopper.""" - cartId: String! - """An array that defines the products to add to the cart.""" - cartItems: [CartItemInput!]! - ): AddProductsToCartOutput - """Add products to the specified compare list.""" - addProductsToCompareList( - """ - An input object that defines which products to add to an existing compare list. - """ - input: AddProductsToCompareListInput - ): CompareList - """Add items to the specified requisition list.""" - addProductsToRequisitionList( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """An array of products to be added to the requisition list.""" - requisitionListItems: [RequisitionListItemsInput!]! - ): AddProductsToRequisitionListOutput - """ - Add one or more products to the specified wish list. This mutation supports all product types. - """ - addProductsToWishlist( - """The ID of a wish list.""" - wishlistId: ID! - """An array of products to add to the wish list.""" - wishlistItems: [WishlistItemInput!]! - ): AddProductsToWishlistOutput - """Add a comment to an existing purchase order.""" - addPurchaseOrderComment(input: AddPurchaseOrderCommentInput!): AddPurchaseOrderCommentOutput - """Add purchase order items to the shopping cart.""" - addPurchaseOrderItemsToCart(input: AddPurchaseOrderItemsToCartInput!): AddProductsToCartOutput - """Add items in the requisition list to the customer's cart.""" - addRequisitionListItemsToCart( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """ - An array of UIDs presenting products to be added to the cart. If no UIDs are specified, all items in the requisition list will be added to the cart. - """ - requisitionListItemUids: [ID!] - ): AddRequisitionListItemsToCartOutput - """Add a comment to an existing return.""" - addReturnComment( - """An input object that defines a return comment.""" - input: AddReturnCommentInput! - ): AddReturnCommentOutput - """Add tracking information to the return.""" - addReturnTracking( - """An input object that defines tracking information.""" - input: AddReturnTrackingInput! - ): AddReturnTrackingOutput - """ - Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addSimpleProductsToCart( - """An input object that defines which simple products to add to the cart.""" - input: AddSimpleProductsToCartInput - ): AddSimpleProductsToCartOutput - """ - Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead. - """ - addVirtualProductsToCart( - """ - An input object that defines which virtual products to add to the cart. - """ - input: AddVirtualProductsToCartInput - ): AddVirtualProductsToCartOutput - """Add items in the specified wishlist to the customer's cart.""" - addWishlistItemsToCart( - """The unique ID of the wish list""" - wishlistId: ID! - """ - An array of IDs representing products to be added to the cart. If no IDs are specified, all items in the wishlist will be added to the cart - """ - wishlistItemIds: [ID!] - ): AddWishlistItemsToCartOutput - """Apply a pre-defined coupon code to the specified cart.""" - applyCouponToCart( - """An input object that defines the coupon code to apply to the cart.""" - input: ApplyCouponToCartInput - ): ApplyCouponToCartOutput - """Apply a pre-defined coupon code to the specified cart.""" - applyCouponsToCart( - """An input object that defines the coupon code to apply to the cart.""" - input: ApplyCouponsToCartInput - ): ApplyCouponToCartOutput - """Apply a pre-defined gift card code to the specified cart.""" - applyGiftCardToCart( - """An input object that specifies the gift card code and cart.""" - input: ApplyGiftCardToCartInput - ): ApplyGiftCardToCartOutput - """ - Apply all available points, up to the cart total. Partial redemption is not available. - """ - applyRewardPointsToCart(cartId: ID!): ApplyRewardPointsToCartOutput - """Apply store credit to the specified cart.""" - applyStoreCreditToCart( - """An input object that specifies the cart ID.""" - input: ApplyStoreCreditToCartInput! - ): ApplyStoreCreditToCartOutput - """Approve purchase orders.""" - approvePurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput - """Assign the specified compare list to the logged in customer.""" - assignCompareListToCustomer( - """The unique ID of the compare list to be assigned.""" - uid: ID! - ): AssignCompareListToCustomerOutput - """Assign a logged-in customer to the specified guest shopping cart.""" - assignCustomerToGuestCart(cart_id: String!): Cart! - """Cancel a negotiable quote template""" - cancelNegotiableQuoteTemplate( - """An input object that cancels a negotiable quote template.""" - input: CancelNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """Cancel the specified customer order.""" - cancelOrder(input: CancelOrderInput!): CancelOrderOutput - """Cancel purchase orders.""" - cancelPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput - """Change the password for the logged-in customer.""" - changeCustomerPassword( - """The customer's original password.""" - currentPassword: String! - """The customer's updated password.""" - newPassword: String! - ): Customer - """Remove all items from the specified cart.""" - clearCart( - """An input object that defines cart ID of the shopper.""" - input: ClearCartInput! - ): ClearCartOutput! - """Remove all items from the specified cart.""" - clearCustomerCart( - """The masked ID of the cart.""" - cartUid: String! - ): ClearCustomerCartOutput - """ - Mark a negotiable quote as closed. The negotiable quote is still visible on the storefront. - """ - closeNegotiableQuotes( - """An input object that closes a negotiable quote.""" - input: CloseNegotiableQuotesInput! - ): CloseNegotiableQuotesOutput - """Confirms the email address for a customer.""" - confirmEmail( - """An input object to identify the customer to confirm the email.""" - input: ConfirmEmailInput! - ): CustomerOutput - """Send a 'Contact Us' email to the merchant.""" - contactUs( - """An input object that defines shopper information.""" - input: ContactUsInput! - ): ContactUsOutput - """Copy items from one requisition list to another.""" - copyItemsBetweenRequisitionLists( - """The unique ID of the source requisition list.""" - sourceRequisitionListUid: ID! - """ - The unique ID of the destination requisition list. If null, a new requisition list will be created. - """ - destinationRequisitionListUid: ID - """The list of products to copy.""" - requisitionListItem: CopyItemsBetweenRequisitionListsInput - ): CopyItemsFromRequisitionListsOutput - """ - Copy products from one wish list to another. The original wish list is unchanged. - """ - copyProductsBetweenWishlists( - """The ID of the original wish list.""" - sourceWishlistUid: ID! - """The ID of the target wish list.""" - destinationWishlistUid: ID! - """An array of items to copy.""" - wishlistItems: [WishlistItemCopyInput!]! - ): CopyProductsBetweenWishlistsOutput - """Creates Client Token for Braintree Javascript SDK initialization.""" - createBraintreeClientToken: String! - """ - Creates Client Token for Braintree PayPal Javascript SDK initialization. - """ - createBraintreePayPalClientToken: String! - """ - Creates Client Token for Braintree PayPal Vault Javascript SDK initialization. - """ - createBraintreePayPalVaultClientToken(input: BraintreeVaultInput): String! - """Create a company at the request of either a customer or a guest.""" - createCompany(input: CompanyCreateInput!): CreateCompanyOutput - """Create a new company role.""" - createCompanyRole(input: CompanyRoleCreateInput!): CreateCompanyRoleOutput - """ - Create a new team for the customer's company within the current company context. - """ - createCompanyTeam(input: CompanyTeamCreateInput!): CreateCompanyTeamOutput - """Create a new company user at the request of an existing customer.""" - createCompanyUser(input: CompanyUserCreateInput!): CreateCompanyUserOutput - """ - Create a new compare list. The compare list is saved for logged in customers. - """ - createCompareList(input: CreateCompareListInput): CompareList - """Use `createCustomerV2` instead.""" - createCustomer( - """An input object that defines the customer to be created.""" - input: CustomerInput! - ): CustomerOutput - """Create a billing or shipping address for a customer or guest.""" - createCustomerAddress(input: CustomerAddressInput!): CustomerAddress - """Create a customer account.""" - createCustomerV2( - """An input object that defines the customer to be created.""" - input: CustomerCreateInput! - ): CustomerOutput - """Create an empty shopping cart for a guest or logged in user""" - createEmptyCart( - """An optional input object that assigns the specified ID to the cart.""" - input: createEmptyCartInput - ): String @deprecated(reason: "Use `Mutation.createGuestCart` or `Query.customerCart` for logged in customer") - """Create a gift registry on behalf of the customer.""" - createGiftRegistry( - """An input object that defines a new gift registry.""" - giftRegistry: CreateGiftRegistryInput! - ): CreateGiftRegistryOutput - """Create a new shopping cart""" - createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput - """ - Initiate a transaction and receive a token. Use this mutation for Payflow Pro and Payments Pro payment methods - """ - createPayflowProToken( - """ - An input object that defines the requirements to fetch payment token information. - """ - input: PayflowProTokenInput! - ): CreatePayflowProTokenOutput - """Creates a payment order for further payment processing""" - createPaymentOrder( - """ - Contains payment order details that are used while processing the payment order - """ - input: CreatePaymentOrderInput! - ): CreatePaymentOrderOutput - """ - Initiate an Express Checkout transaction and receive a token. Use this mutation for Express Checkout and Payments Standard payment methods. - """ - createPaypalExpressToken( - """ - An input object that defines the requirements to receive a payment token. - """ - input: PaypalExpressTokenInput! - ): PaypalExpressTokenOutput - """Create a product review for the specified product.""" - createProductReview( - """ - An input object that contains the details necessary to create a product review. - """ - input: CreateProductReviewInput! - ): CreateProductReviewOutput! - """Create a purchase order approval rule.""" - createPurchaseOrderApprovalRule(input: PurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule - """Create an empty requisition list.""" - createRequisitionList(input: CreateRequisitionListInput): CreateRequisitionListOutput - """Creates a vault payment token""" - createVaultCardPaymentToken( - """Describe the variables needed to create a vault card payment token""" - input: CreateVaultCardPaymentTokenInput! - ): CreateVaultCardPaymentTokenOutput - """Creates a vault card setup token""" - createVaultCardSetupToken( - """Describe the variables needed to create a vault card setup token""" - input: CreateVaultCardSetupTokenInput! - ): CreateVaultCardSetupTokenOutput - """Create a new wish list.""" - createWishlist( - """An input object that defines a new wish list.""" - input: CreateWishlistInput! - ): CreateWishlistOutput - """Delete the specified company role.""" - deleteCompanyRole(id: ID!): DeleteCompanyRoleOutput - """Delete the specified company team.""" - deleteCompanyTeam(id: ID!): DeleteCompanyTeamOutput - """Delete the specified company user.""" - deleteCompanyUser(id: ID!): DeleteCompanyUserOutput @deprecated(reason: "Use deleteCompanyUserV2 instead. The current method only deactivates the user account associated with the company.") - """Delete the specified company user.""" - deleteCompanyUserV2(id: ID!): DeleteCompanyUserOutput - """Delete the specified compare list.""" - deleteCompareList( - """The unique ID of the compare list to be deleted.""" - uid: ID! - ): DeleteCompareListOutput - """Delete customer account""" - deleteCustomer: Boolean - """Delete the billing or shipping address of a customer.""" - deleteCustomerAddress( - """The ID of the customer address to be deleted.""" - id: Int! - ): Boolean - """Delete a negotiable quote template""" - deleteNegotiableQuoteTemplate( - """An input object that cancels a negotiable quote template.""" - input: DeleteNegotiableQuoteTemplateInput! - ): Boolean! - """ - Delete a negotiable quote. The negotiable quote will not be displayed on the storefront. - """ - deleteNegotiableQuotes( - """An input object that deletes a negotiable quote.""" - input: DeleteNegotiableQuotesInput! - ): DeleteNegotiableQuotesOutput - """Delete a customer's payment token.""" - deletePaymentToken( - """The reusable payment token securely stored in the vault.""" - public_hash: String! - ): DeletePaymentTokenOutput - """Delete existing purchase order approval rules.""" - deletePurchaseOrderApprovalRule(input: DeletePurchaseOrderApprovalRuleInput!): DeletePurchaseOrderApprovalRuleOutput - """Delete a requisition list.""" - deleteRequisitionList( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - ): DeleteRequisitionListOutput - """Delete items from a requisition list.""" - deleteRequisitionListItems( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """ - An array of UIDs representing products to be removed from the requisition list. - """ - requisitionListItemUids: [ID!]! - ): DeleteRequisitionListItemsOutput - """ - Delete the specified wish list. You cannot delete the customer's default (first) wish list. - """ - deleteWishlist( - """The ID of the wish list to delete.""" - wishlistId: ID! - ): DeleteWishlistOutput - """Negotiable Quote resulting from duplication operation.""" - duplicateNegotiableQuote( - """An input object that defines ID of the quote to be duplicated.""" - input: DuplicateNegotiableQuoteInput! - ): DuplicateNegotiableQuoteOutput - """Estimate shipping method(s) for cart based on address""" - estimateShippingMethods( - """ - An input object that specifies details for estimation of available shipping methods - """ - input: EstimateTotalsInput! - ): [AvailableShippingMethod] - """Estimate totals for cart based on the address""" - estimateTotals( - """An input object that specifies details for cart totals estimation""" - input: EstimateTotalsInput! - ): EstimateTotalsOutput! - """Generate a token for specified customer.""" - generateCustomerToken( - """The customer's email address.""" - email: String! - """The customer's password.""" - password: String! - ): CustomerToken - """ - Request a customer token so that an administrator can perform remote shopping assistance. - """ - generateCustomerTokenAsAdmin( - """An input object that defines the customer email address.""" - input: GenerateCustomerTokenAsAdminInput! - ): GenerateCustomerTokenAsAdminOutput - """Generate a negotiable quote from an accept quote template.""" - generateNegotiableQuoteFromTemplate( - """ - An input object that contains the data to generate a negotiable quote from quote template. - """ - input: GenerateNegotiableQuoteFromTemplateInput! - ): GenerateNegotiableQuoteFromTemplateOutput - """ - Handle a payment response and save the payment in Quote. Use this mutation for Payflow Pro and Payments Pro payment methods. - """ - handlePayflowProResponse( - """ - An input object that includes the payload returned by PayPal and the cart ID. - """ - input: PayflowProResponseInput! - ): PayflowProResponseOutput - """ - Transfer the contents of a guest cart into the cart of a logged-in customer. - """ - mergeCarts( - """The guest's cart ID before they login.""" - source_cart_id: String! - """The cart ID after the guest logs in.""" - destination_cart_id: String - ): Cart! - """Move all items from the cart to a gift registry.""" - moveCartItemsToGiftRegistry( - """ - The unique ID of the cart containing items to be moved to a gift registry. - """ - cartUid: ID! - """The unique ID of the target gift registry.""" - giftRegistryUid: ID! - ): MoveCartItemsToGiftRegistryOutput - """Move Items from one requisition list to another.""" - moveItemsBetweenRequisitionLists( - """The unique ID of the source requisition list.""" - sourceRequisitionListUid: ID! - """ - The unique ID of the destination requisition list. If null, a new requisition list will be created. - """ - destinationRequisitionListUid: ID - """The list of products to move.""" - requisitionListItem: MoveItemsBetweenRequisitionListsInput - ): MoveItemsBetweenRequisitionListsOutput - """Move negotiable quote item to requisition list.""" - moveLineItemToRequisitionList( - """ - An input object that defines the quote item and requisition list moved to. - """ - input: MoveLineItemToRequisitionListInput! - ): MoveLineItemToRequisitionListOutput - """Move products from one wish list to another.""" - moveProductsBetweenWishlists( - """The ID of the original wish list.""" - sourceWishlistUid: ID! - """The ID of the target wish list.""" - destinationWishlistUid: ID! - """An array of items to move.""" - wishlistItems: [WishlistItemMoveInput!]! - ): MoveProductsBetweenWishlistsOutput - """Open an existing negotiable quote template.""" - openNegotiableQuoteTemplate( - """ - An input object that contains the data to open a negotiable quote template. - """ - input: OpenNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """Convert a negotiable quote into an order.""" - placeNegotiableQuoteOrder( - """An input object that specifies the negotiable quote.""" - input: PlaceNegotiableQuoteOrderInput! - ): PlaceNegotiableQuoteOrderOutput - """Convert the quote into an order.""" - placeOrder( - """An input object that defines the shopper's cart ID.""" - input: PlaceOrderInput - ): PlaceOrderOutput - """Convert the purchase order into an order.""" - placeOrderForPurchaseOrder(input: PlaceOrderForPurchaseOrderInput!): PlaceOrderForPurchaseOrderOutput - """Place a purchase order.""" - placePurchaseOrder(input: PlacePurchaseOrderInput!): PlacePurchaseOrderOutput - """Redeem a gift card for store credit.""" - redeemGiftCardBalanceAsStoreCredit( - """An input object that specifies the gift card code to redeem.""" - input: GiftCardAccountInput! - ): GiftCardAccount - """Reject purchase orders.""" - rejectPurchaseOrders(input: PurchaseOrdersActionInput!): PurchaseOrdersActionOutput - """ - Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. - """ - removeCouponFromCart( - """ - An input object that defines which coupon code to remove from the cart. - """ - input: RemoveCouponFromCartInput - ): RemoveCouponFromCartOutput - """ - Remove a previously-applied coupon from the cart. The cart must contain at least one item in order to remove the coupon. - """ - removeCouponsFromCart( - """ - An input object that defines which coupon code to remove from the cart. - """ - input: RemoveCouponsFromCartInput - ): RemoveCouponFromCartOutput - """Removes a gift card from the cart.""" - removeGiftCardFromCart( - """ - An input object that specifies which gift card code to remove from the cart. - """ - input: RemoveGiftCardFromCartInput - ): RemoveGiftCardFromCartOutput - """Delete the specified gift registry.""" - removeGiftRegistry( - """The unique ID of the gift registry to delete.""" - giftRegistryUid: ID! - ): RemoveGiftRegistryOutput - """Delete the specified items from a gift registry.""" - removeGiftRegistryItems( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of item IDs to remove from the gift registry.""" - itemsUid: [ID!]! - ): RemoveGiftRegistryItemsOutput - """Removes registrants from a gift registry.""" - removeGiftRegistryRegistrants( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of registrant IDs to remove.""" - registrantsUid: [ID!]! - ): RemoveGiftRegistryRegistrantsOutput - """ - Delete the entire quantity of a specified item from the cart. If you remove all items from the cart, the cart continues to exist. - """ - removeItemFromCart( - """An input object that defines which products to remove from the cart.""" - input: RemoveItemFromCartInput - ): RemoveItemFromCartOutput - """Remove one or more products from a negotiable quote.""" - removeNegotiableQuoteItems( - """ - An input object that removes one or more items from a negotiable quote. - """ - input: RemoveNegotiableQuoteItemsInput! - ): RemoveNegotiableQuoteItemsOutput - """Remove one or more products from a negotiable quote template.""" - removeNegotiableQuoteTemplateItems( - """ - An input object that removes one or more items from a negotiable quote template. - """ - input: RemoveNegotiableQuoteTemplateItemsInput! - ): NegotiableQuoteTemplate - """Remove products from the specified compare list.""" - removeProductsFromCompareList( - """ - An input object that defines which products to remove from a compare list. - """ - input: RemoveProductsFromCompareListInput - ): CompareList - """Remove one or more products from the specified wish list.""" - removeProductsFromWishlist( - """The ID of a wish list.""" - wishlistId: ID! - """An array of item IDs representing products to be removed.""" - wishlistItemsIds: [ID!]! - ): RemoveProductsFromWishlistOutput - """Remove a tracked shipment from a return.""" - removeReturnTracking( - """An input object that removes tracking information.""" - input: RemoveReturnTrackingInput! - ): RemoveReturnTrackingOutput - """Cancel the application of reward points to the cart.""" - removeRewardPointsFromCart(cartId: ID!): RemoveRewardPointsFromCartOutput - """Remove store credit that has been applied to the specified cart.""" - removeStoreCreditFromCart( - """An input object that specifies the cart ID.""" - input: RemoveStoreCreditFromCartInput! - ): RemoveStoreCreditFromCartOutput - """Rename negotiable quote.""" - renameNegotiableQuote( - """An input object that defines the quote item name and comment.""" - input: RenameNegotiableQuoteInput! - ): RenameNegotiableQuoteOutput - """Add all products from a customer's previous order to the cart.""" - reorderItems(orderNumber: String!): ReorderItemsOutput - """Request a new negotiable quote on behalf of the buyer.""" - requestNegotiableQuote( - """ - An input object that contains a request to initiate a negotiable quote. - """ - input: RequestNegotiableQuoteInput! - ): RequestNegotiableQuoteOutput - """Request a new negotiable quote on behalf of the buyer.""" - requestNegotiableQuoteTemplateFromQuote( - """ - An input object that contains a request to initiate a negotiable quote template. - """ - input: RequestNegotiableQuoteTemplateInput! - ): NegotiableQuoteTemplate - """ - Request an email with a reset password token for the registered customer identified by the specified email. - """ - requestPasswordResetEmail( - """The customer's email address.""" - email: String! - ): Boolean - """Initiates a buyer's request to return items for replacement or refund.""" - requestReturn( - """ - An input object that contains the fields needed to start a return request. - """ - input: RequestReturnInput! - ): RequestReturnOutput - """ - Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`. - """ - resetPassword( - """The customer's email address.""" - email: String! - """A runtime token generated by the `requestPasswordResetEmail` mutation.""" - resetPasswordToken: String! - """The customer's new password.""" - newPassword: String! - ): Boolean - """Revoke the customer token.""" - revokeCustomerToken: RevokeCustomerTokenOutput - """ - Send a message on behalf of a customer to the specified email addresses. - """ - sendEmailToFriend( - """An input object that defines sender, recipients, and product.""" - input: SendEmailToFriendInput - ): SendEmailToFriendOutput - """Send the negotiable quote to the seller for review.""" - sendNegotiableQuoteForReview( - """ - An input object that sends a request for the merchant to review a negotiable quote. - """ - input: SendNegotiableQuoteForReviewInput! - ): SendNegotiableQuoteForReviewOutput - """Set the billing address on a specific cart.""" - setBillingAddressOnCart( - """ - An input object that defines the billing address to be assigned to the cart. - """ - input: SetBillingAddressOnCartInput - ): SetBillingAddressOnCartOutput - """ - Set gift options, including gift messages, gift wrapping, gift receipts, and printed cards. - """ - setGiftOptionsOnCart( - """An input object that defines the selected gift options.""" - input: SetGiftOptionsOnCartInput - ): SetGiftOptionsOnCartOutput - """Assign the email address of a guest to the cart.""" - setGuestEmailOnCart( - """An input object that defines a guest email address.""" - input: SetGuestEmailOnCartInput - ): SetGuestEmailOnCartOutput - """Add buyer's note to a negotiable quote item.""" - setLineItemNote( - """An input object that defines the quote item note.""" - input: LineItemNoteInput! - ): SetLineItemNoteOutput - """Assign a billing address to a negotiable quote.""" - setNegotiableQuoteBillingAddress( - """ - An input object that defines the billing address to be assigned to a negotiable quote. - """ - input: SetNegotiableQuoteBillingAddressInput! - ): SetNegotiableQuoteBillingAddressOutput - """Set the payment method on a negotiable quote.""" - setNegotiableQuotePaymentMethod( - """ - An input object that defines the payment method for the specified negotiable quote. - """ - input: SetNegotiableQuotePaymentMethodInput! - ): SetNegotiableQuotePaymentMethodOutput - """ - Assign a previously-defined address as the shipping address for a negotiable quote. - """ - setNegotiableQuoteShippingAddress( - """ - An input object that defines the shipping address to be assigned to a negotiable quote. - """ - input: SetNegotiableQuoteShippingAddressInput! - ): SetNegotiableQuoteShippingAddressOutput - """Assign the shipping methods on the negotiable quote.""" - setNegotiableQuoteShippingMethods( - """ - An input object that defines the shipping methods to be assigned to a negotiable quote. - """ - input: SetNegotiableQuoteShippingMethodsInput! - ): SetNegotiableQuoteShippingMethodsOutput - """ - Assign a previously-defined address as the shipping address for a negotiable quote template. - """ - setNegotiableQuoteTemplateShippingAddress( - """ - An input object that defines the shipping address to be assigned to a negotiable quote template. - """ - input: SetNegotiableQuoteTemplateShippingAddressInput! - ): NegotiableQuoteTemplate - """Set the cart payment method and convert the cart into an order.""" - setPaymentMethodAndPlaceOrder(input: SetPaymentMethodAndPlaceOrderInput): PlaceOrderOutput @deprecated(reason: "Should use setPaymentMethodOnCart and placeOrder mutations in single request.") - """Apply a payment method to the cart.""" - setPaymentMethodOnCart( - """ - An input object that defines which payment method to apply to the cart. - """ - input: SetPaymentMethodOnCartInput - ): SetPaymentMethodOnCartOutput - """Add buyer's note to a negotiable quote template item.""" - setQuoteTemplateLineItemNote( - """An input object that defines the quote template item note.""" - input: QuoteTemplateLineItemNoteInput! - ): NegotiableQuoteTemplate - """Set one or more shipping addresses on a specific cart.""" - setShippingAddressesOnCart( - """ - An input object that defines one or more shipping addresses to be assigned to the cart. - """ - input: SetShippingAddressesOnCartInput - ): SetShippingAddressesOnCartOutput - """Set one or more delivery methods on a cart.""" - setShippingMethodsOnCart( - """An input object that applies one or more shipping methods to the cart.""" - input: SetShippingMethodsOnCartInput - ): SetShippingMethodsOnCartOutput - """Send an email about the gift registry to a list of invitees.""" - shareGiftRegistry( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """The sender's email address and gift message.""" - sender: ShareGiftRegistrySenderInput! - """An array containing invitee names and email addresses.""" - invitees: [ShareGiftRegistryInviteeInput!]! - ): ShareGiftRegistryOutput - """Accept an existing negotiable quote template.""" - submitNegotiableQuoteTemplateForReview( - """ - An input object that contains the data to update a negotiable quote template. - """ - input: SubmitNegotiableQuoteTemplateForReviewInput! - ): NegotiableQuoteTemplate - """Subscribe the specified email to the store's newsletter.""" - subscribeEmailToNewsletter( - """The email address that will receive the store's newsletter.""" - email: String! - ): SubscribeEmailToNewsletterOutput - """Synchronizes the payment order details for further payment processing""" - syncPaymentOrder( - """ - Describes the variables needed to synchronize the payment order details - """ - input: SyncPaymentOrderInput - ): Boolean - """Modify items in the cart.""" - updateCartItems( - """An input object that defines products to be updated.""" - input: UpdateCartItemsInput - ): UpdateCartItemsOutput - """Update company information.""" - updateCompany(input: CompanyUpdateInput!): UpdateCompanyOutput - """Update company role information.""" - updateCompanyRole(input: CompanyRoleUpdateInput!): UpdateCompanyRoleOutput - """ - Change the parent node of a company team within the current company context. - """ - updateCompanyStructure(input: CompanyStructureUpdateInput!): UpdateCompanyStructureOutput - """Update company team data.""" - updateCompanyTeam(input: CompanyTeamUpdateInput!): UpdateCompanyTeamOutput - """Update an existing company user.""" - updateCompanyUser(input: CompanyUserUpdateInput!): UpdateCompanyUserOutput - """Use `updateCustomerV2` instead.""" - updateCustomer( - """An input object that defines the customer characteristics to update.""" - input: CustomerInput! - ): CustomerOutput - """Update the billing or shipping address of a customer or guest.""" - updateCustomerAddress( - """The ID assigned to the customer address.""" - id: Int! - """An input object that contains changes to the customer address.""" - input: CustomerAddressInput - ): CustomerAddress - """Change the email address for the logged-in customer.""" - updateCustomerEmail( - """The customer's email address.""" - email: String! - """The customer's password.""" - password: String! - ): CustomerOutput - """Update the customer's personal information.""" - updateCustomerV2( - """An input object that defines the customer characteristics to update.""" - input: CustomerUpdateInput! - ): CustomerOutput - """Update the specified gift registry.""" - updateGiftRegistry( - """The unique ID of an existing gift registry.""" - giftRegistryUid: ID! - """An input object that defines which fields to update.""" - giftRegistry: UpdateGiftRegistryInput! - ): UpdateGiftRegistryOutput - """Update the specified items in the gift registry.""" - updateGiftRegistryItems( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of items to be updated.""" - items: [UpdateGiftRegistryItemInput!]! - ): UpdateGiftRegistryItemsOutput - """Modify the properties of one or more gift registry registrants.""" - updateGiftRegistryRegistrants( - """The unique ID of the gift registry.""" - giftRegistryUid: ID! - """An array of registrants to update.""" - registrants: [UpdateGiftRegistryRegistrantInput!]! - ): UpdateGiftRegistryRegistrantsOutput - """ - Change the quantity of one or more items in an existing negotiable quote. - """ - updateNegotiableQuoteQuantities( - """ - An input object that changes the quantity of one or more items in a negotiable quote. - """ - input: UpdateNegotiableQuoteQuantitiesInput! - ): UpdateNegotiableQuoteItemsQuantityOutput - """ - Change the quantity of one or more items in an existing negotiable quote template. - """ - updateNegotiableQuoteTemplateQuantities( - """ - An input object that changes the quantity of one or more items in a negotiable quote template. - """ - input: UpdateNegotiableQuoteTemplateQuantitiesInput! - ): UpdateNegotiableQuoteTemplateItemsQuantityOutput - """Update one or more products in the specified wish list.""" - updateProductsInWishlist( - """The ID of a wish list.""" - wishlistId: ID! - """An array of items to be updated.""" - wishlistItems: [WishlistItemUpdateInput!]! - ): UpdateProductsInWishlistOutput - """Update existing purchase order approval rules.""" - updatePurchaseOrderApprovalRule(input: UpdatePurchaseOrderApprovalRuleInput!): PurchaseOrderApprovalRule - """Rename a requisition list and change its description.""" - updateRequisitionList( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - input: UpdateRequisitionListInput - ): UpdateRequisitionListOutput - """Update items in a requisition list.""" - updateRequisitionListItems( - """The unique ID of the requisition list.""" - requisitionListUid: ID! - """Items to be updated in the requisition list.""" - requisitionListItems: [UpdateRequisitionListItemsInput!]! - ): UpdateRequisitionListItemsOutput - """Change the name and visibility of the specified wish list.""" - updateWishlist( - """The ID of the wish list to update.""" - wishlistId: ID! - """The name assigned to the wish list.""" - name: String - """Indicates the visibility of the wish list.""" - visibility: WishlistVisibilityEnum - ): UpdateWishlistOutput - """Validate purchase orders.""" - validatePurchaseOrders(input: ValidatePurchaseOrdersInput!): ValidatePurchaseOrdersOutput -} - -"""Defines the comparison operators that can be used in a filter.""" -input FilterTypeInput { - """Equals.""" - eq: String - finset: [String] - """From. Must be used with the `to` field.""" - from: String - """Greater than.""" - gt: String - """Greater than or equal to.""" - gteq: String - """In. The value can contain a set of comma-separated values.""" - in: [String] - """ - Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters. - """ - like: String - """Less than.""" - lt: String - """Less than or equal to.""" - lteq: String - """More than or equal to.""" - moreq: String - """Not equal to.""" - neq: String - """Not in. The value can contain a set of comma-separated values.""" - nin: [String] - """Not null.""" - notnull: String - """Is null.""" - null: String - """To. Must be used with the `from` field.""" - to: String -} - -"""Defines a filter that matches the input exactly.""" -input FilterEqualTypeInput { - """ - Use this attribute to exactly match the specified string. For example, to filter on a specific category ID, specify a value such as `5`. - """ - eq: String - """ - Use this attribute to filter on an array of values. For example, to filter on category IDs 4, 5, and 6, specify a value of `["4", "5", "6"]`. - """ - in: [String] -} - -""" -Defines a filter that matches a range of values, such as prices or dates. -""" -input FilterRangeTypeInput { - """Use this attribute to specify the lowest possible value in the range.""" - from: String - """Use this attribute to specify the highest possible value in the range.""" - to: String -} - -"""Defines a filter that performs a fuzzy search.""" -input FilterMatchTypeInput { - """ - Use this attribute to fuzzy match the specified string. For example, to filter on a specific SKU, specify a value such as `24-MB01`. - """ - match: String - """ - Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match. - """ - match_type: FilterMatchTypeEnum -} - -enum FilterMatchTypeEnum { - FULL - PARTIAL -} - -"""Defines a filter for an input string.""" -input FilterStringTypeInput { - """Filters items that are exactly the same as the specified string.""" - eq: String - """ - Filters items that are exactly the same as entries specified in an array of strings. - """ - in: [String] - """ - Defines a filter that performs a fuzzy search using the specified string. - """ - match: String -} - -"""Provides navigation for the query response.""" -type SearchResultPageInfo { - """The specific page to return.""" - current_page: Int - """The maximum number of items to return per page of results.""" - page_size: Int - """The total number of pages in the response.""" - total_pages: Int -} - -"""Indicates whether to return results in ascending or descending order.""" -enum SortEnum { - ASC - DESC -} - -type ComplexTextValue { - """Text that can contain HTML tags.""" - html: String! -} - -""" -Defines a monetary value, including a numeric value and a currency code. -""" -type Money { - """A three-letter currency code, such as USD or EUR.""" - currency: CurrencyEnum - """A number expressing a monetary value.""" - value: Float -} - -"""The list of available currency codes.""" -enum CurrencyEnum { - AFN - ALL - AZN - DZD - AOA - ARS - AMD - AWG - AUD - BSD - BHD - BDT - BBD - BYN - BZD - BMD - BTN - BOB - BAM - BWP - BRL - GBP - BND - BGN - BUK - BIF - KHR - CAD - CVE - CZK - KYD - GQE - CLP - CNY - COP - KMF - CDF - CRC - HRK - CUP - DKK - DJF - DOP - XCD - EGP - SVC - ERN - EEK - ETB - EUR - FKP - FJD - GMD - GEK - GEL - GHS - GIP - GTQ - GNF - GYD - HTG - HNL - HKD - HUF - ISK - INR - IDR - IRR - IQD - ILS - JMD - JPY - JOD - KZT - KES - KWD - KGS - LAK - LVL - LBP - LSL - LRD - LYD - LTL - MOP - MKD - MGA - MWK - MYR - MVR - LSM - MRO - MUR - MXN - MDL - MNT - MAD - MZN - MMK - NAD - NPR - ANG - YTL - NZD - NIC - NGN - KPW - NOK - OMR - PKR - PAB - PGK - PYG - PEN - PHP - PLN - QAR - RHD - RON - RUB - RWF - SHP - STD - SAR - RSD - SCR - SLL - SGD - SKK - SBD - SOS - ZAR - KRW - LKR - SDG - SRD - SZL - SEK - CHF - SYP - TWD - TJS - TZS - THB - TOP - TTD - TND - TMM - USD - UGX - UAH - AED - UYU - UZS - VUV - VEB - VEF - VND - CHE - CHW - XOF - WST - YER - ZMK - ZWD - TRY - AZM - ROL - TRL - XPF -} - -"""Defines a customer-entered option.""" -input EnteredOptionInput { - """ - The unique ID for a `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. - """ - uid: ID! - """Text the customer entered.""" - value: String! -} - -enum BatchMutationStatus { - SUCCESS - FAILURE - MIXED_RESULTS -} - -interface ErrorInterface { - """The returned error message.""" - message: String! -} - -"""Contains an error message when an invalid UID was specified.""" -type NoSuchEntityUidError implements ErrorInterface { - """The returned error message.""" - message: String! - """The specified invalid unique ID of an object.""" - uid: ID! -} - -"""Contains an error message when an internal error occurred.""" -type InternalError implements ErrorInterface { - """The returned error message.""" - message: String! -} - -"""Defines an array of custom attributes.""" -type CustomAttributeMetadata { - """An array of attributes.""" - items: [Attribute] -} - -"""Contains details about the attribute, including the code and type.""" -type Attribute { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - attribute_code: String - """Attribute options list.""" - attribute_options: [AttributeOption] - """The data type of the attribute.""" - attribute_type: String - """The type of entity that defines the attribute.""" - entity_type: String - """The frontend input type of the attribute.""" - input_type: String - """Details about the storefront properties configured for the attribute.""" - storefront_properties: StorefrontProperties -} - -"""Indicates where an attribute can be displayed.""" -type StorefrontProperties { - """ - The relative position of the attribute in the layered navigation block. - """ - position: Int - """ - Indicates whether the attribute is filterable with results, without results, or not at all. - """ - use_in_layered_navigation: UseInLayeredNavigationOptions - """Indicates whether the attribute is displayed in product listings.""" - use_in_product_listing: Boolean - """ - Indicates whether the attribute can be used in layered navigation on search results pages. - """ - use_in_search_results_layered_navigation: Boolean - """Indicates whether the attribute is displayed on product pages.""" - visible_on_catalog_pages: Boolean -} - -"""Defines whether the attribute is filterable in layered navigation.""" -enum UseInLayeredNavigationOptions { - NO - FILTERABLE_WITH_RESULTS - FILTERABLE_NO_RESULT -} - -"""Defines an attribute option.""" -type AttributeOption implements AttributeOptionInterface { - """Indicates if option is set to be used as default value.""" - is_default: Boolean - """The label assigned to the attribute option.""" - label: String - """The unique ID of an attribute option.""" - uid: ID! - """The attribute option value.""" - value: String -} - -""" -Defines the attribute characteristics to search for the `attribute_code` and `entity_type` to search. -""" -input AttributeInput { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - attribute_code: String - """The type of entity that defines the attribute.""" - entity_type: String -} - -"""Metadata of EAV attributes.""" -type AttributesMetadataOutput { - """Errors of retrieving certain attributes metadata.""" - errors: [AttributeMetadataError]! - """Requested attributes metadata.""" - items: [CustomAttributeMetadataInterface]! -} - -"""Attribute metadata retrieval error.""" -type AttributeMetadataError { - """Attribute metadata retrieval error message.""" - message: String! - """Attribute metadata retrieval error type.""" - type: AttributeMetadataErrorType! -} - -"""Attribute metadata retrieval error types.""" -enum AttributeMetadataErrorType { - """The requested entity was not found.""" - ENTITY_NOT_FOUND - """The requested attribute was not found.""" - ATTRIBUTE_NOT_FOUND - """The filter cannot be applied as it does not belong to the entity""" - FILTER_NOT_FOUND - """Not categorized error, see the error message.""" - UNDEFINED -} - -"""An interface containing fields that define the EAV attribute.""" -interface CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """Attribute options.""" - options: [CustomAttributeOptionInterface]! -} - -interface CustomAttributeOptionInterface { - """Is the option value default.""" - is_default: Boolean! - """The label assigned to the attribute option.""" - label: String! - """The attribute option value.""" - value: String! -} - -"""Base EAV implementation of CustomAttributeOptionInterface.""" -type AttributeOptionMetadata implements CustomAttributeOptionInterface { - """Is the option value default.""" - is_default: Boolean! - """The label assigned to the attribute option.""" - label: String! - """The attribute option value.""" - value: String! -} - -"""Base EAV implementation of CustomAttributeMetadataInterface.""" -type AttributeMetadata implements CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """Attribute options.""" - options: [CustomAttributeOptionInterface]! -} - -""" -List of all entity types. Populated by the modules introducing EAV entities. -""" -enum AttributeEntityTypeEnum { - CATALOG_PRODUCT - CATALOG_CATEGORY - CUSTOMER - CUSTOMER_ADDRESS - PRODUCT - RMA_ITEM -} - -"""EAV attribute frontend input types.""" -enum AttributeFrontendInputEnum { - BOOLEAN - DATE - DATETIME - FILE - GALLERY - HIDDEN - IMAGE - MEDIA_IMAGE - MULTILINE - MULTISELECT - PRICE - SELECT - TEXT - TEXTAREA - WEIGHT - UNDEFINED -} - -"""Metadata of EAV attributes associated to form""" -type AttributesFormOutput { - """Errors of retrieving certain attributes metadata.""" - errors: [AttributeMetadataError]! - """Requested attributes metadata.""" - items: [CustomAttributeMetadataInterface]! -} - -interface AttributeValueInterface { - """The attribute code.""" - code: ID! -} - -type AttributeValue implements AttributeValueInterface { - """The attribute code.""" - code: ID! - """The attribute value.""" - value: String! -} - -type AttributeSelectedOptions implements AttributeValueInterface { - """The attribute code.""" - code: ID! - selected_options: [AttributeSelectedOptionInterface]! -} - -interface AttributeSelectedOptionInterface { - """The attribute selected option label.""" - label: String! - """The attribute selected option value.""" - value: String! -} - -type AttributeSelectedOption implements AttributeSelectedOptionInterface { - """The attribute selected option label.""" - label: String! - """The attribute selected option value.""" - value: String! -} - -"""Specifies the value for attribute.""" -input AttributeValueInput { - """The code of the attribute.""" - attribute_code: String! - """ - An array containing selected options for a select or multiselect attribute. - """ - selected_options: [AttributeInputSelectedOption] - """The value assigned to the attribute.""" - value: String -} - -"""Specifies selected option for a select or multiselect attribute value.""" -input AttributeInputSelectedOption { - """The attribute option value.""" - value: String! -} - -"""An input object that specifies the filters used for attributes.""" -input AttributeFilterInput { - """ - Whether a product or category attribute can be compared against another or not. - """ - is_comparable: Boolean - """Whether a product or category attribute can be filtered or not.""" - is_filterable: Boolean - """ - Whether a product or category attribute can be filtered in search or not. - """ - is_filterable_in_search: Boolean - """Whether a product or category attribute can use HTML on front or not.""" - is_html_allowed_on_front: Boolean - """Whether a product or category attribute can be searched or not.""" - is_searchable: Boolean - """ - Whether a customer or customer address attribute is used for customer segment or not. - """ - is_used_for_customer_segment: Boolean - """ - Whether a product or category attribute can be used for price rules or not. - """ - is_used_for_price_rules: Boolean - """ - Whether a product or category attribute is used for promo rules or not. - """ - is_used_for_promo_rules: Boolean - """ - Whether a product or category attribute is visible in advanced search or not. - """ - is_visible_in_advanced_search: Boolean - """Whether a product or category attribute is visible on front or not.""" - is_visible_on_front: Boolean - """Whether a product or category attribute has WYSIWYG enabled or not.""" - is_wysiwyg_enabled: Boolean - """ - Whether a product or category attribute is used in product listing or not. - """ - used_in_product_listing: Boolean -} - -"""Contains information about a store's configuration.""" -type StoreConfig { - """ - Contains scripts that must be included in the HTML before the closing `` tag. - """ - absolute_footer: String - """ - Indicates if the gift sender has the option to send a gift receipt. Possible values: 1 (Yes) and 0 (No). - """ - allow_gift_receipt: String - """ - Indicates whether gift wrapping can be added for the entire order. Possible values: 1 (Yes) and 0 (No). - """ - allow_gift_wrapping_on_order: String - """ - Indicates whether gift wrapping can be added for individual order items. Possible values: 1 (Yes) and 0 (No). - """ - allow_gift_wrapping_on_order_items: String - """ - Indicates whether guest users can write product reviews. Possible values: 1 (Yes) and 0 (No). - """ - allow_guests_to_write_product_reviews: String - """The value of the Allow Gift Messages for Order Items option""" - allow_items: String - """The value of the Allow Gift Messages on Order Level option""" - allow_order: String - """ - Indicates if a printed card can accompany an order. Possible values: 1 (Yes) and 0 (No). - """ - allow_printed_card: String - """ - Indicates whether to enable autocomplete on login and forgot password forms. - """ - autocomplete_on_storefront: Boolean - """The base currency code.""" - base_currency_code: String - """ - A fully-qualified URL that is used to create relative links to the `base_url`. - """ - base_link_url: String - """The fully-qualified URL that specifies the location of media files.""" - base_media_url: String - """ - The fully-qualified URL that specifies the location of static view files. - """ - base_static_url: String - """The store’s fully-qualified base URL.""" - base_url: String - """Braintree 3D Secure, should 3D Secure be used for specific countries.""" - braintree_3dsecure_allowspecific: Boolean - """Braintree 3D Secure, always request 3D Secure flag.""" - braintree_3dsecure_always_request_3ds: Boolean - """ - Braintree 3D Secure, the specific countries to use 3D Secure in, to be used if allow specific is status is enabled. - """ - braintree_3dsecure_specificcountry: String - """ - Braintree 3D Secure, threshold above which 3D Secure should be requested. - """ - braintree_3dsecure_threshold_amount: String - """Braintree 3D Secure enabled/active status.""" - braintree_3dsecure_verify_3dsecure: Boolean - """Braintree ACH vault status.""" - braintree_ach_direct_debit_vault_active: Boolean - """Braintree Apple Pay merchant name.""" - braintree_applepay_merchant_name: String - """Braintree Apple Pay vault status.""" - braintree_applepay_vault_active: Boolean - """Braintree cc vault status.""" - braintree_cc_vault_active: String - """Braintree cc vault CVV re-verification enabled status.""" - braintree_cc_vault_cvv: Boolean - """Braintree environment.""" - braintree_environment: String - """Braintree Google Pay button color.""" - braintree_googlepay_btn_color: String - """Braintree Google Pay Card types supported.""" - braintree_googlepay_cctypes: String - """Braintree Google Pay merchant ID.""" - braintree_googlepay_merchant_id: String - """Braintree Google Pay vault status.""" - braintree_googlepay_vault_active: Boolean - """Braintree Local Payment Methods allowed payment methods.""" - braintree_local_payment_allowed_methods: String - """Braintree Local Payment Methods fallback button text.""" - braintree_local_payment_fallback_button_text: String - """Braintree Local Payment Methods redirect URL on failed payment.""" - braintree_local_payment_redirect_on_fail: String - """Braintree Merchant Account ID.""" - braintree_merchant_account_id: String - """Braintree PayPal Credit mini-cart & cart button style color.""" - braintree_paypal_button_location_cart_type_credit_color: String - """Braintree PayPal Credit mini-cart & cart button style label.""" - braintree_paypal_button_location_cart_type_credit_label: String - """Braintree PayPal Credit mini-cart & cart button style shape.""" - braintree_paypal_button_location_cart_type_credit_shape: String - """Braintree PayPal Credit mini-cart & cart button show status.""" - braintree_paypal_button_location_cart_type_credit_show: Boolean - """Braintree PayPal Pay Later messaging mini-cart & cart style layout.""" - braintree_paypal_button_location_cart_type_messaging_layout: String - """Braintree PayPal Pay Later messaging mini-cart & cart style logo.""" - braintree_paypal_button_location_cart_type_messaging_logo: String - """ - Braintree PayPal Pay Later messaging mini-cart & cart style logo position. - """ - braintree_paypal_button_location_cart_type_messaging_logo_position: String - """Braintree PayPal Pay Later messaging mini-cart & cart show status.""" - braintree_paypal_button_location_cart_type_messaging_show: Boolean - """Braintree PayPal Pay Later messaging checkout style text color.""" - braintree_paypal_button_location_cart_type_messaging_text_color: String - """Braintree PayPal Pay Later mini-cart & cart button style color.""" - braintree_paypal_button_location_cart_type_paylater_color: String - """Braintree PayPal Pay Later mini-cart & cart button style label.""" - braintree_paypal_button_location_cart_type_paylater_label: String - """Braintree PayPal Pay Later mini-cart & cart button style shape.""" - braintree_paypal_button_location_cart_type_paylater_shape: String - """Braintree PayPal Pay Later mini-cart & cart button show status.""" - braintree_paypal_button_location_cart_type_paylater_show: Boolean - """Braintree PayPal mini-cart & cart button style color.""" - braintree_paypal_button_location_cart_type_paypal_color: String - """Braintree PayPal mini-cart & cart button style label.""" - braintree_paypal_button_location_cart_type_paypal_label: String - """Braintree PayPal mini-cart & cart button style shape.""" - braintree_paypal_button_location_cart_type_paypal_shape: String - """Braintree PayPal mini-cart & cart button show.""" - braintree_paypal_button_location_cart_type_paypal_show: Boolean - """Braintree PayPal Credit checkout button style color.""" - braintree_paypal_button_location_checkout_type_credit_color: String - """Braintree PayPal Credit checkout button style label.""" - braintree_paypal_button_location_checkout_type_credit_label: String - """Braintree PayPal Credit checkout button style shape.""" - braintree_paypal_button_location_checkout_type_credit_shape: String - """Braintree PayPal Credit checkout button show status.""" - braintree_paypal_button_location_checkout_type_credit_show: Boolean - """Braintree PayPal Pay Later messaging checkout style layout.""" - braintree_paypal_button_location_checkout_type_messaging_layout: String - """Braintree PayPal Pay Later messaging checkout style logo.""" - braintree_paypal_button_location_checkout_type_messaging_logo: String - """Braintree PayPal Pay Later messaging checkout style logo position.""" - braintree_paypal_button_location_checkout_type_messaging_logo_position: String - """Braintree PayPal Pay Later messaging checkout show status.""" - braintree_paypal_button_location_checkout_type_messaging_show: Boolean - """Braintree PayPal Pay Later messaging checkout style text color.""" - braintree_paypal_button_location_checkout_type_messaging_text_color: String - """Braintree PayPal Pay Later checkout button style color.""" - braintree_paypal_button_location_checkout_type_paylater_color: String - """Braintree PayPal Pay Later checkout button style label.""" - braintree_paypal_button_location_checkout_type_paylater_label: String - """Braintree PayPal Pay Later checkout button style shape.""" - braintree_paypal_button_location_checkout_type_paylater_shape: String - """Braintree PayPal Pay Later checkout button show status.""" - braintree_paypal_button_location_checkout_type_paylater_show: Boolean - """Braintree PayPal checkout button style color.""" - braintree_paypal_button_location_checkout_type_paypal_color: String - """Braintree PayPal checkout button style label.""" - braintree_paypal_button_location_checkout_type_paypal_label: String - """Braintree PayPal checkout button style shape.""" - braintree_paypal_button_location_checkout_type_paypal_shape: String - """Braintree PayPal checkout button show.""" - braintree_paypal_button_location_checkout_type_paypal_show: Boolean - """Braintree PayPal Credit PDP button style color.""" - braintree_paypal_button_location_productpage_type_credit_color: String - """Braintree PayPal Credit PDP button style label.""" - braintree_paypal_button_location_productpage_type_credit_label: String - """Braintree PayPal Credit PDP button style shape.""" - braintree_paypal_button_location_productpage_type_credit_shape: String - """Braintree PayPal Credit PDP button show status.""" - braintree_paypal_button_location_productpage_type_credit_show: Boolean - """Braintree PayPal Pay Later messaging PDP style layout.""" - braintree_paypal_button_location_productpage_type_messaging_layout: String - """Braintree PayPal Pay Later messaging PDP style logo.""" - braintree_paypal_button_location_productpage_type_messaging_logo: String - """Braintree PayPal Pay Later messaging PDP style logo position.""" - braintree_paypal_button_location_productpage_type_messaging_logo_position: String - """Braintree PayPal Pay Later messaging PDP show status.""" - braintree_paypal_button_location_productpage_type_messaging_show: Boolean - """Braintree PayPal Pay Later messaging PDP style text color.""" - braintree_paypal_button_location_productpage_type_messaging_text_color: String - """Braintree PayPal Pay Later PDP button style color.""" - braintree_paypal_button_location_productpage_type_paylater_color: String - """Braintree PayPal Pay Later PDP button style label.""" - braintree_paypal_button_location_productpage_type_paylater_label: String - """Braintree PayPal Pay Later PDP button style shape.""" - braintree_paypal_button_location_productpage_type_paylater_shape: String - """Braintree PayPal Pay Later PDP button show status.""" - braintree_paypal_button_location_productpage_type_paylater_show: Boolean - """Braintree PayPal PDP button style color.""" - braintree_paypal_button_location_productpage_type_paypal_color: String - """Braintree PayPal PDP button style label.""" - braintree_paypal_button_location_productpage_type_paypal_label: String - """Braintree PayPal PDP button style shape.""" - braintree_paypal_button_location_productpage_type_paypal_shape: String - """Braintree PayPal PDP button show.""" - braintree_paypal_button_location_productpage_type_paypal_show: Boolean - """Braintree PayPal Credit Merchant Name on the FCA Register.""" - braintree_paypal_credit_uk_merchant_name: String - """Should display Braintree PayPal in mini-cart & cart?""" - braintree_paypal_display_on_shopping_cart: Boolean - """Braintree PayPal merchant's country.""" - braintree_paypal_merchant_country: String - """Braintree PayPal override for Merchant Name.""" - braintree_paypal_merchant_name_override: String - """Does Braintree PayPal require the customer's billing address?""" - braintree_paypal_require_billing_address: Boolean - """Does Braintree PayPal require the order line items?""" - braintree_paypal_send_cart_line_items: Boolean - """Braintree PayPal vault status.""" - braintree_paypal_vault_active: Boolean - """Extended Config Data - checkout/cart/delete_quote_after""" - cart_expires_in_days: Int - """ - Indicates if gift wrapping prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). - """ - cart_gift_wrapping: String - """ - Indicates if printed card prices are displayed on the Shopping Cart page. Possible values: 1 (Yes) and 0 (No). - """ - cart_printed_card: String - """Extended Config Data - checkout/cart_link/use_qty""" - cart_summary_display_quantity: Int - """The default sort order of the search results list.""" - catalog_default_sort_by: String - """ - Corresponds to the 'Display Prices In Product Lists' field in the Admin. It indicates how FPT information is displayed on category pages. - """ - category_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings - """The suffix applied to category pages, such as `.htm` or `.html`.""" - category_url_suffix: String - """Indicates whether only specific countries can use this payment method.""" - check_money_order_enable_for_specific_countries: Boolean - """Indicates whether the Check/Money Order payment method is enabled.""" - check_money_order_enabled: Boolean - """The name of the party to whom the check must be payable.""" - check_money_order_make_check_payable_to: String - """ - The maximum order amount required to qualify for the Check/Money Order payment method. - """ - check_money_order_max_order_total: String - """ - The minimum order amount required to qualify for the Check/Money Order payment method. - """ - check_money_order_min_order_total: String - """ - The status of new orders placed using the Check/Money Order payment method. - """ - check_money_order_new_order_status: String - """ - A comma-separated list of specific countries allowed to use the Check/Money Order payment method. - """ - check_money_order_payment_from_specific_countries: String - """The full street address or PO Box where the checks are mailed.""" - check_money_order_send_check_to: String - """ - A number indicating the position of the Check/Money Order payment method in the list of available payment methods during checkout. - """ - check_money_order_sort_order: Int - """ - The title of the Check/Money Order payment method displayed on the storefront. - """ - check_money_order_title: String - """The name of the CMS page that identifies the home page for the store.""" - cms_home_page: String - """ - A specific CMS page that displays when cookies are not enabled for the browser. - """ - cms_no_cookies: String - """ - A specific CMS page that displays when a 404 'Page Not Found' error occurs. - """ - cms_no_route: String - """A code assigned to the store to identify it.""" - code: String @deprecated(reason: "Use `store_code` instead.") - """ - Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products. - """ - configurable_thumbnail_source: String - """Indicates whether the Contact Us form in enabled.""" - contact_enabled: Boolean! - """The copyright statement that appears at the bottom of each page.""" - copyright: String - """Extended Config Data - general/region/state_required""" - countries_with_required_region: String - """Indicates if the new accounts need confirmation.""" - create_account_confirmation: Boolean - """Customer access token lifetime.""" - customer_access_token_lifetime: Float - """Extended Config Data - general/country/default""" - default_country: String - """ - The description that provides a summary of your site for search engine listings. It should not be more than 160 characters in length. - """ - default_description: String - """The default display currency code.""" - default_display_currency_code: String - """ - A series of keywords that describe your store, each separated by a comma. - """ - default_keywords: String - """ - The title that appears at the title bar of each page when viewed in a browser. - """ - default_title: String - """ - Controls the display of the demo store notice at the top of the page. Options: 0 (No) or 1 (Yes). - """ - demonotice: Int - """Extended Config Data - general/region/display_all""" - display_state_if_optional: Boolean - """ - Indicates whether customers can have multiple wish lists. Possible values: 1 (Yes) and 0 (No). - """ - enable_multiple_wishlists: String - """The landing page that is associated with the base URL.""" - front: String - """The default number of products per page in Grid View.""" - grid_per_page: Int - """ - A list of numbers that define how many products can be displayed in Grid View. - """ - grid_per_page_values: String - """ - Scripts that must be included in the HTML before the closing `` tag. - """ - head_includes: String - """ - The small graphic image (favicon) that appears in the address bar and tab of the browser. - """ - head_shortcut_icon: String - """The path to the logo that appears in the header.""" - header_logo_src: String - """The ID number assigned to the store.""" - id: Int @deprecated(reason: "Use `store_code` instead.") - """ - Indicates whether the store view has been designated as the default within the store group. - """ - is_default_store: Boolean - """ - Indicates whether the store group has been designated as the default within the website. - """ - is_default_store_group: Boolean - """Extended Config Data - checkout/options/guest_checkout""" - is_guest_checkout_enabled: Boolean - """Indicates whether negotiable quote functionality is enabled.""" - is_negotiable_quote_active: Boolean - """Extended Config Data - checkout/options/onepage_checkout_enabled""" - is_one_page_checkout_enabled: Boolean - """ - Indicates whether requisition lists are enabled. Possible values: 1 (Yes) and 0 (No). - """ - is_requisition_list_active: String - """The format of the search results list.""" - list_mode: String - """The default number of products per page in List View.""" - list_per_page: Int - """ - A list of numbers that define how many products can be displayed in List View. - """ - list_per_page_values: String - """The store locale.""" - locale: String - """The Alt text that is associated with the logo.""" - logo_alt: String - """The height of the logo image, in pixels.""" - logo_height: Int - """The width of the logo image, in pixels.""" - logo_width: Int - """ - Indicates whether reward points functionality is enabled. Possible values: 1 (Enabled) and 0 (Disabled). - """ - magento_reward_general_is_enabled: String - """ - Indicates whether reward points functionality is enabled on the storefront. Possible values: 1 (Enabled) and 0 (Disabled). - """ - magento_reward_general_is_enabled_on_front: String - """ - The minimum point balance customers must have before they can redeem them. A null value indicates no minimum. - """ - magento_reward_general_min_points_balance: String - """ - When enabled, customers can see a detailed history of their reward points. Possible values: 1 (Enabled) and 0 (Disabled). - """ - magento_reward_general_publish_history: String - """ - The number of points for a referral when an invitee registers on the site. - """ - magento_reward_points_invitation_customer: String - """ - The maximum number of registration referrals that will qualify for rewards. A null value indicates no limit. - """ - magento_reward_points_invitation_customer_limit: String - """ - The number of points for a referral, when an invitee places their first order on the site. - """ - magento_reward_points_invitation_order: String - """ - The number of order conversions that can earn points for the customer who sends the invitation. A null value indicates no limit. - """ - magento_reward_points_invitation_order_limit: String - """ - The number of points earned by registered customers who subscribe to a newsletter. - """ - magento_reward_points_newsletter: String - """ - Indicates customers earn points for shopping according to the reward point exchange rate. In Luma, this also controls whether to show a message in the shopping cart about the rewards points earned for the purchase, as well as the customer’s current reward point balance. - """ - magento_reward_points_order: String - """The number of points customer gets for registering.""" - magento_reward_points_register: String - """The number of points for writing a review.""" - magento_reward_points_review: String - """ - The maximum number of reviews that will qualify for the rewards. A null value indicates no limit. - """ - magento_reward_points_review_limit: String - """Indicates whether wishlists are enabled (1) or disabled (0).""" - magento_wishlist_general_is_enabled: String - """Extended Config Data - checkout/options/max_items_display_count""" - max_items_in_order_summary: Int - """ - If multiple wish lists are enabled, the maximum number of wish lists the customer can have. - """ - maximum_number_of_wishlists: String - """Extended Config Data - checkout/sidebar/display""" - minicart_display: Boolean - """Extended Config Data - checkout/sidebar/count""" - minicart_max_items: Int - """The minimum number of characters required for a valid password.""" - minimum_password_length: String - """Indicates whether newsletters are enabled.""" - newsletter_enabled: Boolean! - """ - The default page that displays when a 404 'Page not Found' error occurs. - """ - no_route: String - """Extended Config Data - general/country/optional_zip_countries""" - optional_zip_countries: String - """Indicates whether orders can be cancelled by customers or not.""" - order_cancellation_enabled: Boolean! - """An array containing available cancellation reasons.""" - order_cancellation_reasons: [CancellationReason]! - """Payflow Pro vault status.""" - payment_payflowpro_cc_vault_active: String - """The default price of a printed card that accompanies an order.""" - printed_card_price: String - """ - Corresponds to the 'Display Prices On Product View Page' field in the Admin. It indicates how FPT information is displayed on product pages. - """ - product_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings - """ - Indicates whether product reviews are enabled. Possible values: 1 (Yes) and 0 (No). - """ - product_reviews_enabled: String - """The suffix applied to product pages, such as `.htm` or `.html`.""" - product_url_suffix: String - """Indicates whether quick order functionality is enabled.""" - quickorder_active: Boolean! - """ - The number of different character classes (lowercase, uppercase, digits, special characters) required in a password. - """ - required_character_classes_number: String - """ - Indicates whether RMA is enabled on the storefront. Possible values: enabled/disabled. - """ - returns_enabled: String! - """The ID of the root category.""" - root_category_id: Int @deprecated(reason: "Use `root_category_uid` instead.") - """The unique ID for a `CategoryInterface` object.""" - root_category_uid: ID - """ - Corresponds to the 'Display Prices In Sales Modules' field in the Admin. It indicates how FPT information is displayed on cart, checkout, and order pages. - """ - sales_fixed_product_tax_display_setting: FixedProductTaxDisplaySettings - """ - Indicates if gift wrapping prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). - """ - sales_gift_wrapping: String - """ - Indicates if printed card prices are displayed on the Orders page. Possible values: 1 (Yes) and 0 (No). - """ - sales_printed_card: String - """ - A secure fully-qualified URL that is used to create relative links to the `base_url`. - """ - secure_base_link_url: String - """ - The secure fully-qualified URL that specifies the location of media files. - """ - secure_base_media_url: String - """ - The secure fully-qualified URL that specifies the location of static view files. - """ - secure_base_static_url: String - """The store’s fully-qualified secure base URL.""" - secure_base_url: String - """Email to a Friend configuration.""" - send_friend: SendFriendConfiguration - """Extended Config Data - tax/cart_display/full_summary""" - shopping_cart_display_full_summary: Boolean - """Extended Config Data - tax/cart_display/grandtotal""" - shopping_cart_display_grand_total: Boolean - """Extended Config Data - tax/cart_display/price""" - shopping_cart_display_price: Int - """Extended Config Data - tax/cart_display/shipping""" - shopping_cart_display_shipping: Int - """Extended Config Data - tax/cart_display/subtotal""" - shopping_cart_display_subtotal: Int - """Extended Config Data - tax/cart_display/gift_wrapping""" - shopping_cart_display_tax_gift_wrapping: TaxWrappingEnum - """Extended Config Data - tax/cart_display/zero_tax""" - shopping_cart_display_zero_tax: Boolean - """ - Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes). - """ - show_cms_breadcrumbs: Int - """ - The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope. - """ - store_code: ID - """ - The unique ID assigned to the store group. In the Admin, this is called the Store Name. - """ - store_group_code: ID - """The label assigned to the store group.""" - store_group_name: String - """The label assigned to the store view.""" - store_name: String - """The store view sort order.""" - store_sort_order: Int - """The time zone of the store.""" - timezone: String - """ - A prefix that appears before the title to create a two- or three-part title. - """ - title_prefix: String - """ - The character that separates the category name and subcategory in the browser title bar. - """ - title_separator: String - """ - A suffix that appears after the title to create a two- or three-part title. - """ - title_suffix: String - """Indicates whether the store code should be used in the URL.""" - use_store_in_url: Boolean - """The unique ID for the website.""" - website_code: ID - """The ID number assigned to the website store.""" - website_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """The label assigned to the website.""" - website_name: String - """The unit of weight.""" - weight_unit: String - """ - Text that appears in the header of the page and includes the name of the logged in customer. - """ - welcome: String - """Indicates whether only specific countries can use this payment method.""" - zero_subtotal_enable_for_specific_countries: Boolean - """Indicates whether the Zero Subtotal payment method is enabled.""" - zero_subtotal_enabled: Boolean - """ - The status of new orders placed using the Zero Subtotal payment method. - """ - zero_subtotal_new_order_status: String - """ - When the new order status is 'Processing', this can be set to `authorize_capture` to automatically invoice all items that have a zero balance. - """ - zero_subtotal_payment_action: String - """ - A comma-separated list of specific countries allowed to use the Zero Subtotal payment method. - """ - zero_subtotal_payment_from_specific_countries: String - """ - A number indicating the position of the Zero Subtotal payment method in the list of available payment methods during checkout. - """ - zero_subtotal_sort_order: Int - """ - The title of the Zero Subtotal payment method displayed on the storefront. - """ - zero_subtotal_title: String -} - -"""Contains details about a CMS page.""" -type CmsPage implements RoutableInterface { - """The content of the CMS page in raw HTML.""" - content: String - """The heading that displays at the top of the CMS page.""" - content_heading: String - """The ID of a CMS page.""" - identifier: String - """A brief description of the page for search results listings.""" - meta_description: String - """A brief description of the page for search results listings.""" - meta_keywords: String - """ - A page title that is indexed by search engines and appears in search results listings. - """ - meta_title: String - """ - The design layout of the page, indicating the number of columns and navigation features used on the page. - """ - page_layout: String - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """ - The name that appears in the breadcrumb trail navigation and in the browser title bar and tab. - """ - title: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - The URL key of the CMS page, which is often based on the `content_heading`. - """ - url_key: String -} - -"""Contains an array CMS block items.""" -type CmsBlocks { - """An array of CMS blocks.""" - items: [CmsBlock] -} - -"""Contains details about a specific CMS block.""" -type CmsBlock { - """The content of the CMS block in raw HTML.""" - content: String - """The CMS block identifier.""" - identifier: String - """The title assigned to the CMS block.""" - title: String -} - -""" -Deprecated. It should not be used on the storefront. Contains information about a website. -""" -type Website { - """A code assigned to the website to identify it.""" - code: String @deprecated(reason: "The field should not be used on the storefront.") - """The default group ID of the website.""" - default_group_id: String @deprecated(reason: "The field should not be used on the storefront.") - """The ID number assigned to the website.""" - id: Int @deprecated(reason: "The field should not be used on the storefront.") - """Indicates whether this is the default website.""" - is_default: Boolean @deprecated(reason: "The field should not be used on the storefront.") - """The website name. Websites use this name to identify it easier.""" - name: String @deprecated(reason: "The field should not be used on the storefront.") - """The attribute to use for sorting websites.""" - sort_order: Int @deprecated(reason: "The field should not be used on the storefront.") -} - -"""Contains an array of custom and system attributes.""" -type AttributesMetadata { - """An array of attributes.""" - items: [AttributeMetadataInterface] -} - -"""An interface containing fields that define attributes.""" -interface AttributeMetadataInterface { - """An array of attribute labels defined for the current store.""" - attribute_labels: [StoreLabels] - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: String - """The data type of the attribute.""" - data_type: ObjectDataTypeEnum - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum - """Indicates whether the attribute is a system attribute.""" - is_system: Boolean - """The label assigned to the attribute.""" - label: String - """The relative position of the attribute.""" - sort_order: Int - """Frontend UI properties of the attribute.""" - ui_input: UiInputTypeInterface - """The unique ID of an attribute.""" - uid: ID -} - -"""Defines frontend UI properties of an attribute.""" -interface UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Defines attribute options.""" -interface AttributeOptionsInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] -} - -"""Defines selectable input types of the attribute.""" -interface SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] -} - -"""Defines attribute options.""" -interface AttributeOptionInterface { - """Indicates if option is set to be used as default value.""" - is_default: Boolean - """The label assigned to the attribute option.""" - label: String - """The unique ID of an attribute option.""" - uid: ID! -} - -type AttributeOptions implements AttributeOptionsInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] -} - -type UiAttributeTypeSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeMultiSelect implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeBoolean implements UiInputTypeInterface & AttributeOptionsInterface & SelectableInputTypeInterface { - """An array of attribute options.""" - attribute_options: [AttributeOptionInterface] - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeAny implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeTextarea implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -type UiAttributeTypeTextEditor implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Contains the store code and label of an attribute.""" -type StoreLabels { - """The label assigned to the attribute.""" - label: String - """The assigned store code.""" - store_code: String -} - -enum ObjectDataTypeEnum { - STRING - FLOAT - INT - BOOLEAN - COMPLEX -} - -enum UiInputTypeEnum { - BOOLEAN - DATE - DATETIME - GALLERY - IMAGE - MEDIA_IMAGE - MULTISELECT - PRICE - SELECT - TEXT - TEXTAREA - TEXTEDITOR - WEIGHT - PAGEBUILDER - FIXED_PRODUCT_TAX -} - -"""Contains custom attribute value and metadata details.""" -type CustomAttribute { - """Attribute metadata details.""" - attribute_metadata: AttributeMetadataInterface - """ - Attribute value represented as entered data using input type like text field. - """ - entered_attribute_value: EnteredAttributeValue - """ - Attribute value represented as selected options using input type like select. - """ - selected_attribute_options: SelectedAttributeOption -} - -type SelectedAttributeOption { - """Selected attribute option details.""" - attribute_option: [AttributeOptionInterface] -} - -type EnteredAttributeValue { - """Attribute value.""" - value: String -} - -"""Contains fields that are common to all types of products.""" -interface ProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """An array of related products.""" - related_products: [ProductInterface] - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") -} - -""" -This enumeration states whether a product stock status is in stock or out of stock -""" -enum ProductStockStatus { - IN_STOCK - OUT_OF_STOCK -} - -""" -Deprecated. Use `ProductPrice` instead. Defines the price of a product as well as any tax-related adjustments. -""" -type Price { - """ - An array that provides information about tax, weee, or weee_tax adjustments. - """ - adjustments: [PriceAdjustment] @deprecated(reason: "Use `ProductPrice` instead.") - """The price of a product plus a three-letter currency code.""" - amount: Money @deprecated(reason: "Use `ProductPrice` instead.") -} - -""" -Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment. -""" -type PriceAdjustment { - """The amount of the price adjustment and its currency code.""" - amount: Money - """Indicates whether the adjustment involves tax, weee, or weee_tax.""" - code: PriceAdjustmentCodesEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") - """ - Indicates whether the entity described by the code attribute is included or excluded from the adjustment. - """ - description: PriceAdjustmentDescriptionEnum @deprecated(reason: "`PriceAdjustment` is deprecated.") -} - -"""`PriceAdjustment.code` is deprecated.""" -enum PriceAdjustmentCodesEnum { - TAX @deprecated(reason: "`PriceAdjustmentCodesEnum` is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog.") - WEEE @deprecated(reason: "WEEE code is deprecated. Use `fixed_product_taxes.label` instead.") - WEEE_TAX @deprecated(reason: "Use `fixed_product_taxes` instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog.") -} - -""" -`PriceAdjustmentDescriptionEnum` is deprecated. States whether a price adjustment is included or excluded. -""" -enum PriceAdjustmentDescriptionEnum { - INCLUDED - EXCLUDED -} - -"""Defines the price type.""" -enum PriceTypeEnum { - FIXED - PERCENT - DYNAMIC -} - -"""Defines the customizable date type.""" -enum CustomizableDateTypeEnum { - DATE - DATE_TIME - TIME -} - -""" -Deprecated. Use `PriceRange` instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price. -""" -type ProductPrices { - """ - The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `to` value. - """ - maximalPrice: Price @deprecated(reason: "Use `PriceRange.maximum_price` instead.") - """ - The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the `from` value. - """ - minimalPrice: Price @deprecated(reason: "Use `PriceRange.minimum_price` instead.") - """The base price of a product.""" - regularPrice: Price @deprecated(reason: "Use `regular_price` from `PriceRange.minimum_price` or `PriceRange.maximum_price` instead.") -} - -""" -Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same. -""" -type PriceRange { - """The highest possible price for the product.""" - maximum_price: ProductPrice - """The lowest possible price for the product.""" - minimum_price: ProductPrice! -} - -"""Represents a product price.""" -type ProductPrice { - """ - The price discount. Represents the difference between the regular and final price. - """ - discount: ProductDiscount - """The final price of the product after applying discounts.""" - final_price: Money! - """ - An array of the multiple Fixed Product Taxes that can be applied to a product price. - """ - fixed_product_taxes: [FixedProductTax] - """The regular price of the product.""" - regular_price: Money! -} - -"""Contains the discount applied to a product price.""" -type ProductDiscount { - """The actual value of the discount.""" - amount_off: Float - """The discount expressed a percentage.""" - percent_off: Float -} - -"""An implementation of `ProductLinksInterface`.""" -type ProductLinks implements ProductLinksInterface { - """One of related, associated, upsell, or crosssell.""" - link_type: String - """The SKU of the linked product.""" - linked_product_sku: String - """ - The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). - """ - linked_product_type: String - """The position within the list of product links.""" - position: Int - """The identifier of the linked product.""" - sku: String -} - -""" -Contains information about linked products, including the link type and product type of each item. -""" -interface ProductLinksInterface { - """One of related, associated, upsell, or crosssell.""" - link_type: String - """The SKU of the linked product.""" - linked_product_sku: String - """ - The type of linked product (simple, virtual, bundle, downloadable, grouped, configurable). - """ - linked_product_type: String - """The position within the list of product links.""" - position: Int - """The identifier of the linked product.""" - sku: String -} - -"""Contains attributes specific to tangible products.""" -interface PhysicalProductInterface { - """The weight of the item, in units defined by the store.""" - weight: Float -} - -""" -Contains information about a text area that is defined as part of a customizable option. -""" -type CustomizableAreaOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a text area.""" - value: CustomizableAreaValue -} - -""" -Defines the price and sku of a product whose page contains a customized text area. -""" -type CustomizableAreaValue { - """ - The maximum number of characters that can be entered for this customizable option. - """ - max_characters: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The unique ID for a `CustomizableAreaValue` object.""" - uid: ID! -} - -"""Contains the hierarchy of categories.""" -type CategoryTree implements CategoryInterface & RoutableInterface { - automatic_sorting: String - available_sort_by: [String] - """An array of breadcrumb items.""" - breadcrumbs: [Breadcrumb] - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. - """ - canonical_url: String - """A tree of child categories.""" - children: [CategoryTree] - children_count: String - """Contains a category CMS block.""" - cms_block: CmsBlock - """The timestamp indicating when the category was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - custom_layout_update_file: String - """The attribute to use for sorting.""" - default_sort_by: String - """An optional description of the category.""" - description: String - display_mode: String - filter_price_range: Float - """An ID that uniquely identifies the category.""" - id: Int @deprecated(reason: "Use `uid` instead.") - image: String - include_in_menu: Int - is_anchor: Int - landing_page: Int - """The depth of the category within the tree.""" - level: Int - meta_description: String - meta_keywords: String - meta_title: String - """The display name of the category.""" - name: String - """The full category path.""" - path: String - """The category path within the store.""" - path_in_store: String - """ - The position of the category relative to other categories at the same level in tree. - """ - position: Int - """ - The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - product_count: Int - """The list of products assigned to the category.""" - products( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - The attributes to sort on, and whether to return the results in ascending or descending order. - """ - sort: ProductAttributeSortInput - ): CategoryProducts - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """Indicates whether the category is staged for a future campaign.""" - staged: Boolean! - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """The unique ID for a `CategoryInterface` object.""" - uid: ID! - """The timestamp indicating when the category was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """The URL key assigned to the category.""" - url_key: String - """The URL path assigned to the category.""" - url_path: String - """The part of the category URL that is appended after the url key""" - url_suffix: String -} - -""" -Contains a collection of `CategoryTree` objects and pagination information. -""" -type CategoryResult { - """A list of categories that match the filter criteria.""" - items: [CategoryTree] - """ - An object that includes the `page_info` and `currentPage` values specified in the query. - """ - page_info: SearchResultPageInfo - """The total number of categories that match the criteria.""" - total_count: Int -} - -""" -Contains information about a date picker that is defined as part of a customizable option. -""" -type CustomizableDateOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a date field in a customizable option.""" - value: CustomizableDateValue -} - -""" -Defines the price and sku of a product whose page contains a customized date picker. -""" -type CustomizableDateValue { - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """DATE, DATE_TIME or TIME""" - type: CustomizableDateTypeEnum - """The unique ID for a `CustomizableDateValue` object.""" - uid: ID! -} - -""" -Contains information about a drop down menu that is defined as part of a customizable option. -""" -type CustomizableDropDownOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines the set of options for a drop down menu.""" - value: [CustomizableDropDownValue] -} - -""" -Defines the price and sku of a product whose page contains a customized drop down menu. -""" -type CustomizableDropDownValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableDropDownValue` object.""" - uid: ID! -} - -""" -Contains information about a multiselect that is defined as part of a customizable option. -""" -type CustomizableMultipleOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines the set of options for a multiselect.""" - value: [CustomizableMultipleValue] -} - -""" -Defines the price and sku of a product whose page contains a customized multiselect. -""" -type CustomizableMultipleValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableMultipleValue` object.""" - uid: ID! -} - -""" -Contains information about a text field that is defined as part of a customizable option. -""" -type CustomizableFieldOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a text field.""" - value: CustomizableFieldValue -} - -""" -Defines the price and sku of a product whose page contains a customized text field. -""" -type CustomizableFieldValue { - """ - The maximum number of characters that can be entered for this customizable option. - """ - max_characters: Int - """The price of the custom value.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The unique ID for a `CustomizableFieldValue` object.""" - uid: ID! -} - -""" -Contains information about a file picker that is defined as part of a customizable option. -""" -type CustomizableFileOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """The Stock Keeping Unit of the base product.""" - product_sku: String - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An object that defines a file value.""" - value: CustomizableFileValue -} - -""" -Defines the price and sku of a product whose page contains a customized file picker. -""" -type CustomizableFileValue { - """The file extension to accept.""" - file_extension: String - """The maximum width of an image.""" - image_size_x: Int - """The maximum height of an image.""" - image_size_y: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The unique ID for a `CustomizableFileValue` object.""" - uid: ID! -} - -"""Contains basic information about a product image or video.""" -interface MediaGalleryInterface { - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The label of the product image or video.""" - label: String - """The media item's position after it has been sorted.""" - position: Int - """The URL of the product image or video.""" - url: String -} - -"""Contains product image information, including the image URL and label.""" -type ProductImage implements MediaGalleryInterface { - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The label of the product image or video.""" - label: String - """The media item's position after it has been sorted.""" - position: Int - """The URL of the product image or video.""" - url: String -} - -"""Contains information about a product video.""" -type ProductVideo implements MediaGalleryInterface { - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The label of the product image or video.""" - label: String - """The media item's position after it has been sorted.""" - position: Int - """The URL of the product image or video.""" - url: String - """Contains a `ProductMediaGalleryEntriesVideoContent` object.""" - video_content: ProductMediaGalleryEntriesVideoContent -} - -""" -Contains basic information about a customizable option. It can be implemented by several types of configurable options. -""" -interface CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! -} - -"""Contains information about customizable product options.""" -interface CustomizableProductInterface { - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] -} - -""" -Contains the full set of attributes that can be returned in a category search. -""" -interface CategoryInterface { - automatic_sorting: String - available_sort_by: [String] - """An array of breadcrumb items.""" - breadcrumbs: [Breadcrumb] - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Categories' is enabled. - """ - canonical_url: String - children_count: String - """Contains a category CMS block.""" - cms_block: CmsBlock - """The timestamp indicating when the category was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - custom_layout_update_file: String - """The attribute to use for sorting.""" - default_sort_by: String - """An optional description of the category.""" - description: String - display_mode: String - filter_price_range: Float - """An ID that uniquely identifies the category.""" - id: Int @deprecated(reason: "Use `uid` instead.") - image: String - include_in_menu: Int - is_anchor: Int - landing_page: Int - """The depth of the category within the tree.""" - level: Int - meta_description: String - meta_keywords: String - meta_title: String - """The display name of the category.""" - name: String - """The full category path.""" - path: String - """The category path within the store.""" - path_in_store: String - """ - The position of the category relative to other categories at the same level in tree. - """ - position: Int - """ - The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - product_count: Int - """The list of products assigned to the category.""" - products( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - The attributes to sort on, and whether to return the results in ascending or descending order. - """ - sort: ProductAttributeSortInput - ): CategoryProducts - """Indicates whether the category is staged for a future campaign.""" - staged: Boolean! - """The unique ID for a `CategoryInterface` object.""" - uid: ID! - """The timestamp indicating when the category was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """The URL key assigned to the category.""" - url_key: String - """The URL path assigned to the category.""" - url_path: String - """The part of the category URL that is appended after the url key""" - url_suffix: String -} - -""" -Contains details about an individual category that comprises a breadcrumb. -""" -type Breadcrumb { - """The ID of the category.""" - category_id: Int @deprecated(reason: "Use `category_uid` instead.") - """The category level.""" - category_level: Int - """The display name of the category.""" - category_name: String - """The unique ID for a `Breadcrumb` object.""" - category_uid: ID! - """The URL key of the category.""" - category_url_key: String - """The URL path of the category.""" - category_url_path: String -} - -""" -Contains information about a set of radio buttons that are defined as part of a customizable option. -""" -type CustomizableRadioOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines a set of radio buttons.""" - value: [CustomizableRadioValue] -} - -""" -Defines the price and sku of a product whose page contains a customized set of radio buttons. -""" -type CustomizableRadioValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the radio button is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableRadioValue` object.""" - uid: ID! -} - -""" -Contains information about a set of checkbox values that are defined as part of a customizable option. -""" -type CustomizableCheckboxOption implements CustomizableOptionInterface { - """Option ID.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether the option is required.""" - required: Boolean - """The order in which the option is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableOptionInterface` object.""" - uid: ID! - """An array that defines a set of checkbox values.""" - value: [CustomizableCheckboxValue] -} - -""" -Defines the price and sku of a product whose page contains a customized set of checkbox values. -""" -type CustomizableCheckboxValue { - """The ID assigned to the value.""" - option_type_id: Int - """The price assigned to this option.""" - price: Float - """FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """The Stock Keeping Unit for this option.""" - sku: String - """The order in which the checkbox value is displayed.""" - sort_order: Int - """The display name for this option.""" - title: String - """The unique ID for a `CustomizableCheckboxValue` object.""" - uid: ID! -} - -""" -Defines a virtual product, which is a non-tangible product that does not require shipping and is not kept in inventory. -""" -type VirtualProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") -} - -""" -Defines a simple product, which is tangible and is usually sold in single units or in fixed quantities. -""" -type SimpleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -"""Contains the results of a `products` query.""" -type Products { - """ - A bucket that contains the attribute code and label for each filterable option. - """ - aggregations(filter: AggregationsFilterInput): [Aggregation] - """Layered navigation filters array.""" - filters: [LayerFilter] @deprecated(reason: "Use `aggregations` instead.") - """An array of products that match the specified search criteria.""" - items: [ProductInterface] - """ - An object that includes the page_info and currentPage values specified in the query. - """ - page_info: SearchResultPageInfo - """ - An object that includes the default sort field and all available sort fields. - """ - sort_fields: SortFields - """ - An array of search suggestions for case when search query have no results. - """ - suggestions: [SearchSuggestion] - """ - The number of products that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - total_count: Int -} - -""" -An input object that specifies the filters used in product aggregations. -""" -input AggregationsFilterInput { - """Filter category aggregations in layered navigation.""" - category: AggregationsCategoryFilterInput -} - -"""Filter category aggregations in layered navigation.""" -input AggregationsCategoryFilterInput { - """ - Indicates whether to include only direct subcategories or all children categories at all levels. - """ - includeDirectChildrenOnly: Boolean -} - -"""Contains details about the products assigned to a category.""" -type CategoryProducts { - """An array of products that are assigned to the category.""" - items: [ProductInterface] - """Pagination metadata.""" - page_info: SearchResultPageInfo - """ - The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not. - """ - total_count: Int -} - -""" -Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. -""" -input ProductAttributeFilterInput { - """Attribute label: Brand""" - accessory_brand: FilterEqualTypeInput - """Attribute label: Gemstone Addon""" - accessory_gemstone_addon: FilterEqualTypeInput - """Attribute label: Recyclable Material""" - accessory_recyclable_material: FilterEqualTypeInput - """Deprecated: use `category_uid` to filter product by category ID.""" - category_id: FilterEqualTypeInput - """Filter product by the unique ID for a `CategoryInterface` object.""" - category_uid: FilterEqualTypeInput - """Filter product by category URL path.""" - category_url_path: FilterEqualTypeInput - """Attribute label: Color""" - color: FilterEqualTypeInput - """Attribute label: Description""" - description: FilterMatchTypeInput - """Attribute label: Color""" - fashion_color: FilterEqualTypeInput - """Attribute label: Material""" - fashion_material: FilterEqualTypeInput - """Attribute label: Style""" - fashion_style: FilterEqualTypeInput - """Attribute label: Format""" - format: FilterEqualTypeInput - """Attribute label: Has Video""" - has_video: FilterEqualTypeInput - """Attribute label: Product Name""" - name: FilterMatchTypeInput - """Attribute label: Price""" - price: FilterRangeTypeInput - """Attribute label: Short Description""" - short_description: FilterMatchTypeInput - """Attribute label: SKU""" - sku: FilterEqualTypeInput - """The part of the URL that identifies the product""" - url_key: FilterEqualTypeInput -} - -""" -Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. -""" -input CategoryFilterInput { - """Filter by the unique category ID for a `CategoryInterface` object.""" - category_uid: FilterEqualTypeInput - """ - Deprecated: use 'category_uid' to filter uniquely identifiers of categories. - """ - ids: FilterEqualTypeInput - """Filter by the display name of the category.""" - name: FilterMatchTypeInput - """ - Filter by the unique parent category ID for a `CategoryInterface` object. - """ - parent_category_uid: FilterEqualTypeInput - """ - Filter by the unique parent category ID for a `CategoryInterface` object. - """ - parent_id: FilterEqualTypeInput - """Filter by the part of the URL that identifies the category.""" - url_key: FilterEqualTypeInput - """Filter by the URL path for the category.""" - url_path: FilterEqualTypeInput -} - -""" -ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for. -""" -input ProductFilterInput { - """The category ID the product belongs to.""" - category_id: FilterTypeInput - """The product's country of origin.""" - country_of_manufacture: FilterTypeInput - """The timestamp indicating when the product was created.""" - created_at: FilterTypeInput - """The name of a custom layout.""" - custom_layout: FilterTypeInput - """XML code that is applied as a layout update to the product page.""" - custom_layout_update: FilterTypeInput - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: FilterTypeInput - """Indicates whether a gift message is available.""" - gift_message_available: FilterTypeInput - """ - Indicates whether additional attributes have been created for the product. - """ - has_options: FilterTypeInput - """The relative path to the main image on the product page.""" - image: FilterTypeInput - """The label assigned to a product image.""" - image_label: FilterTypeInput - """Indicates whether the product can be returned.""" - is_returnable: FilterTypeInput - """A number representing the product's manufacturer.""" - manufacturer: FilterTypeInput - """ - The numeric maximal price of the product. Do not include the currency code. - """ - max_price: FilterTypeInput - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: FilterTypeInput - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: FilterTypeInput - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: FilterTypeInput - """ - The numeric minimal price of the product. Do not include the currency code. - """ - min_price: FilterTypeInput - """The product name. Customers use this name to identify the product.""" - name: FilterTypeInput - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - news_from_date: FilterTypeInput - """The end date for new product listings.""" - news_to_date: FilterTypeInput - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: FilterTypeInput - """The keyword required to perform a logical OR comparison.""" - or: ProductFilterInput - """The price of an item.""" - price: FilterTypeInput - """Indicates whether the product has required options.""" - required_options: FilterTypeInput - """A short description of the product. Its use depends on the theme.""" - short_description: FilterTypeInput - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: FilterTypeInput - """The relative path to the small image, which is used on catalog pages.""" - small_image: FilterTypeInput - """The label assigned to a product's small image.""" - small_image_label: FilterTypeInput - """The beginning date that a product has a special price.""" - special_from_date: FilterTypeInput - """The discounted price of the product. Do not include the currency code.""" - special_price: FilterTypeInput - """The end date that a product has a special price.""" - special_to_date: FilterTypeInput - """The file name of a swatch image.""" - swatch_image: FilterTypeInput - """The relative path to the product's thumbnail image.""" - thumbnail: FilterTypeInput - """The label assigned to a product's thumbnail image.""" - thumbnail_label: FilterTypeInput - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: FilterTypeInput - """The timestamp indicating when the product was updated.""" - updated_at: FilterTypeInput - """The part of the URL that identifies the product""" - url_key: FilterTypeInput - url_path: FilterTypeInput - """The weight of the item, in units defined by the store.""" - weight: FilterTypeInput -} - -""" -Contains an image in base64 format and basic information about the image. -""" -type ProductMediaGalleryEntriesContent { - """The image in base64 format.""" - base64_encoded_data: String - """The file name of the image.""" - name: String - """The MIME type of the file, such as image/png.""" - type: String -} - -"""Contains a link to a video file and basic information about the video.""" -type ProductMediaGalleryEntriesVideoContent { - """Must be external-video.""" - media_type: String - """A description of the video.""" - video_description: String - """Optional data about the video.""" - video_metadata: String - """Describes the video source.""" - video_provider: String - """The title of the video.""" - video_title: String - """The URL to the video.""" - video_url: String -} - -""" -Deprecated. Use `ProductAttributeSortInput` instead. Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. -""" -input ProductSortInput { - """The product's country of origin.""" - country_of_manufacture: SortEnum - """The timestamp indicating when the product was created.""" - created_at: SortEnum - """The name of a custom layout.""" - custom_layout: SortEnum - """XML code that is applied as a layout update to the product page.""" - custom_layout_update: SortEnum - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: SortEnum - """Indicates whether a gift message is available.""" - gift_message_available: SortEnum - """ - Indicates whether additional attributes have been created for the product. - """ - has_options: SortEnum - """The relative path to the main image on the product page.""" - image: SortEnum - """The label assigned to a product image.""" - image_label: SortEnum - """Indicates whether the product can be returned.""" - is_returnable: SortEnum - """A number representing the product's manufacturer.""" - manufacturer: SortEnum - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: SortEnum - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: SortEnum - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: SortEnum - """The product name. Customers use this name to identify the product.""" - name: SortEnum - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - news_from_date: SortEnum - """The end date for new product listings.""" - news_to_date: SortEnum - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: SortEnum - """The price of the item.""" - price: SortEnum - """Indicates whether the product has required options.""" - required_options: SortEnum - """A short description of the product. Its use depends on the theme.""" - short_description: SortEnum - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: SortEnum - """The relative path to the small image, which is used on catalog pages.""" - small_image: SortEnum - """The label assigned to a product's small image.""" - small_image_label: SortEnum - """The beginning date that a product has a special price.""" - special_from_date: SortEnum - """The discounted price of the product.""" - special_price: SortEnum - """The end date that a product has a special price.""" - special_to_date: SortEnum - """Indicates the criteria to sort swatches.""" - swatch_image: SortEnum - """The relative path to the product's thumbnail image.""" - thumbnail: SortEnum - """The label assigned to a product's thumbnail image.""" - thumbnail_label: SortEnum - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: SortEnum - """The timestamp indicating when the product was updated.""" - updated_at: SortEnum - """The part of the URL that identifies the product""" - url_key: SortEnum - url_path: SortEnum - """The weight of the item, in units defined by the store.""" - weight: SortEnum -} - -""" -Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option -""" -input ProductAttributeSortInput { - """Attribute label: Brand""" - accessory_brand: SortEnum - """Attribute label: Product Name""" - name: SortEnum - """Sort by the position assigned to each product.""" - position: SortEnum - """Attribute label: Price""" - price: SortEnum - """Sort by the search relevance score (default).""" - relevance: SortEnum -} - -""" -Defines characteristics about images and videos associated with a specific product. -""" -type MediaGalleryEntry { - """Details about the content of the media gallery item.""" - content: ProductMediaGalleryEntriesContent - """Indicates whether the image is hidden from view.""" - disabled: Boolean - """The path of the image on the server.""" - file: String - """The identifier assigned to the object.""" - id: Int @deprecated(reason: "Use `uid` instead.") - """ - The alt text displayed on the storefront when the user points to the image. - """ - label: String - """Either `image` or `video`.""" - media_type: String - """The media item's position after it has been sorted.""" - position: Int - """ - Array of image types. It can have the following values: image, small_image, thumbnail. - """ - types: [String] - """The unique ID for a `MediaGalleryEntry` object.""" - uid: ID! - """Details about the content of a video item.""" - video_content: ProductMediaGalleryEntriesVideoContent -} - -"""Contains information for rendering layered navigation.""" -type LayerFilter { - """An array of filter items.""" - filter_items: [LayerFilterItemInterface] @deprecated(reason: "Use `Aggregation.options` instead.") - """The count of filter items in filter group.""" - filter_items_count: Int @deprecated(reason: "Use `Aggregation.count` instead.") - """The name of a layered navigation filter.""" - name: String @deprecated(reason: "Use `Aggregation.label` instead.") - """The request variable name for a filter query.""" - request_var: String @deprecated(reason: "Use `Aggregation.attribute_code` instead.") -} - -interface LayerFilterItemInterface { - """The count of items per filter.""" - items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") - """The label for a filter.""" - label: String @deprecated(reason: "Use `AggregationOption.label` instead.") - """The value of a filter request variable to be used in query.""" - value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") -} - -type LayerFilterItem implements LayerFilterItemInterface { - """The count of items per filter.""" - items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") - """The label for a filter.""" - label: String @deprecated(reason: "Use `AggregationOption.label` instead.") - """The value of a filter request variable to be used in query.""" - value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") -} - -""" -Contains information for each filterable option (such as price, category `UID`, and custom attributes). -""" -type Aggregation { - """Attribute code of the aggregation group.""" - attribute_code: String! - """The number of options in the aggregation group.""" - count: Int - """The aggregation display name.""" - label: String - """Array of options for the aggregation.""" - options: [AggregationOption] - """The relative position of the attribute in a layered navigation block.""" - position: Int -} - -"""A string that contains search suggestion""" -type SearchSuggestion { - """The search suggestion of existing product.""" - search: String! -} - -"""Defines aggregation option fields.""" -interface AggregationOptionInterface { - """The number of items that match the aggregation option.""" - count: Int - """The display label for an aggregation option.""" - label: String - """The internal ID that represents the value of the option.""" - value: String! -} - -"""An implementation of `AggregationOptionInterface`.""" -type AggregationOption implements AggregationOptionInterface { - """The number of items that match the aggregation option.""" - count: Int - """The display label for an aggregation option.""" - label: String - """The internal ID that represents the value of the option.""" - value: String! -} - -"""Defines a possible sort field.""" -type SortField { - """The label of the sort field.""" - label: String - """The attribute code of the sort field.""" - value: String -} - -""" -Contains a default value for sort fields and all available sort fields. -""" -type SortFields { - """The default sort field value.""" - default: String - """An array of possible sort fields.""" - options: [SortField] -} - -"""Contains a simple product wish list item.""" -type SimpleWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Contains a virtual product wish list item.""" -type VirtualWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Swatch attribute metadata.""" -type CatalogAttributeMetadata implements CustomAttributeMetadataInterface { - """To which catalog types an attribute can be applied.""" - apply_to: [CatalogAttributeApplyToEnum] - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """ - Whether a product or category attribute can be compared against another or not. - """ - is_comparable: Boolean - """Whether a product or category attribute can be filtered or not.""" - is_filterable: Boolean - """ - Whether a product or category attribute can be filtered in search or not. - """ - is_filterable_in_search: Boolean - """Whether a product or category attribute can use HTML on front or not.""" - is_html_allowed_on_front: Boolean - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether a product or category attribute can be searched or not.""" - is_searchable: Boolean - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """ - Whether a product or category attribute can be used for price rules or not. - """ - is_used_for_price_rules: Boolean - """ - Whether a product or category attribute is used for promo rules or not. - """ - is_used_for_promo_rules: Boolean - """ - Whether a product or category attribute is visible in advanced search or not. - """ - is_visible_in_advanced_search: Boolean - """Whether a product or category attribute is visible on front or not.""" - is_visible_on_front: Boolean - """Whether a product or category attribute has WYSIWYG enabled or not.""" - is_wysiwyg_enabled: Boolean - """The label assigned to the attribute.""" - label: String - """Attribute options.""" - options: [CustomAttributeOptionInterface]! - """Input type of the swatch attribute option.""" - swatch_input_type: SwatchInputTypeEnum - """Whether update product preview image or not.""" - update_product_preview_image: Boolean - """Whether use product image for swatch or not.""" - use_product_image_for_swatch: Boolean - """ - Whether a product or category attribute is used in product listing or not. - """ - used_in_product_listing: Boolean -} - -enum CatalogAttributeApplyToEnum { - SIMPLE - VIRTUAL - BUNDLE - DOWNLOADABLE - CONFIGURABLE - GROUPED - CATEGORY -} - -"""Product custom attributes""" -type ProductCustomAttributes { - """Errors when retrieving custom attributes metadata.""" - errors: [AttributeMetadataError]! - """Requested custom attributes""" - items: [AttributeValueInterface]! -} - -"""Contains the `uid`, `relative_url`, and `type` attributes.""" -type EntityUrl { - canonical_url: String @deprecated(reason: "Use `relative_url` instead.") - """ - The unique ID for a `ProductInterface`, `CategoryInterface`, `CmsPage`, or similar object associated with the specified URL. This could be a product, category, or CMS page UID. - """ - entity_uid: ID - """ - The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID. - """ - id: Int @deprecated(reason: "Use `entity_uid` instead.") - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirectCode: Int - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum -} - -"""This enumeration defines the entity type.""" -enum UrlRewriteEntityTypeEnum { - CMS_PAGE - PRODUCT - CATEGORY - PWA_404 -} - -"""Contains URL rewrite details.""" -type UrlRewrite { - """An array of request parameters.""" - parameters: [HttpQueryParameter] - """The request URL.""" - url: String -} - -"""Contains target path parameters.""" -type HttpQueryParameter { - """A parameter name.""" - name: String - """A parameter value.""" - value: String -} - -""" -Default implementation of RoutableInterface. This type is returned when the URL is not linked to an entity. -""" -type RoutableUrl implements RoutableInterface { - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum -} - -"""Routable entities serve as the model for a rendered page.""" -interface RoutableInterface { - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum -} - -input CreateGuestCartInput { - """Optional client-generated ID""" - cart_uid: ID -} - -"""Assigns a specific `cart_id` to the empty cart.""" -input createEmptyCartInput { - """The ID to assign to the cart.""" - cart_id: String -} - -"""Defines the simple and group products to add to the cart.""" -input AddSimpleProductsToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of simple and group items to add.""" - cart_items: [SimpleProductCartItemInput]! -} - -"""Defines a single product to add to the cart.""" -input SimpleProductCartItemInput { - """An array that defines customizable options for the product.""" - customizable_options: [CustomizableOptionInput] - """ - An object containing the `sku`, `quantity`, and other relevant information about the product. - """ - data: CartItemInput! -} - -"""Defines the virtual products to add to the cart.""" -input AddVirtualProductsToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of virtual products to add.""" - cart_items: [VirtualProductCartItemInput]! -} - -"""Defines a single product to add to the cart.""" -input VirtualProductCartItemInput { - """An array that defines customizable options for the product.""" - customizable_options: [CustomizableOptionInput] - """ - An object containing the `sku`, `quantity`, and other relevant information about the product. - """ - data: CartItemInput! -} - -"""Defines an item to be added to the cart.""" -input CartItemInput { - """ - An array of entered options for the base product, such as personalization text. - """ - entered_options: [EnteredOptionInput] - """For a child product, the SKU of its parent product.""" - parent_sku: String - """The amount or number of an item to add.""" - quantity: Float! - """ - The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`. - """ - selected_options: [ID] - """The SKU of the product.""" - sku: String! -} - -"""Specifies the field to use for sorting quote items""" -enum SortQuoteItemsEnum { - ITEM_ID - CREATED_AT - UPDATED_AT - PRODUCT_ID - SKU - NAME - DESCRIPTION - WEIGHT - QTY - PRICE - BASE_PRICE - CUSTOM_PRICE - DISCOUNT_PERCENT - DISCOUNT_AMOUNT - BASE_DISCOUNT_AMOUNT - TAX_PERCENT - TAX_AMOUNT - BASE_TAX_AMOUNT - ROW_TOTAL - BASE_ROW_TOTAL - ROW_TOTAL_WITH_DISCOUNT - ROW_WEIGHT - PRODUCT_TYPE - BASE_TAX_BEFORE_DISCOUNT - TAX_BEFORE_DISCOUNT - ORIGINAL_CUSTOM_PRICE - PRICE_INC_TAX - BASE_PRICE_INC_TAX - ROW_TOTAL_INC_TAX - BASE_ROW_TOTAL_INC_TAX - DISCOUNT_TAX_COMPENSATION_AMOUNT - BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT - FREE_SHIPPING -} - -"""Specifies the field to use for sorting quote items""" -input QuoteItemsSortInput { - """Specifies the quote items field to sort by""" - field: SortQuoteItemsEnum! - """Specifies the order of quote items' sorting""" - order: SortEnum! -} - -"""Defines a customizable option.""" -input CustomizableOptionInput { - """The customizable option ID of the product.""" - id: Int - """The unique ID for a `CartItemInterface` object.""" - uid: ID - """The string value of the option.""" - value_string: String! -} - -"""Specifies the coupon code to apply to the cart.""" -input ApplyCouponToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """A valid coupon code.""" - coupon_code: String! -} - -"""Modifies the specified items in the cart.""" -input UpdateCartItemsInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of items to be updated.""" - cart_items: [CartItemUpdateInput]! -} - -"""A single item to be updated.""" -input CartItemUpdateInput { - """Deprecated. Use `cart_item_uid` instead.""" - cart_item_id: Int - """The unique ID for a `CartItemInterface` object.""" - cart_item_uid: ID - """An array that defines customizable options for the product.""" - customizable_options: [CustomizableOptionInput] - """Gift message details for the cart item""" - gift_message: GiftMessageInput - """ - The unique ID for a `GiftWrapping` object to be used for the cart item. - """ - gift_wrapping_id: ID - """The new quantity of the item.""" - quantity: Float -} - -"""Specifies which items to remove from the cart.""" -input RemoveItemFromCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """Deprecated. Use `cart_item_uid` instead.""" - cart_item_id: Int - """Required field. The unique ID for a `CartItemInterface` object.""" - cart_item_uid: ID -} - -"""Specifies an array of addresses to use for shipping.""" -input SetShippingAddressesOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of shipping addresses.""" - shipping_addresses: [ShippingAddressInput]! -} - -"""Defines a single shipping address.""" -input ShippingAddressInput { - """Defines a shipping address.""" - address: CartAddressInput - """ - An ID from the customer's address book that uniquely identifies the address to be used for shipping. - """ - customer_address_id: Int - """Text provided by the shopper.""" - customer_notes: String - """The code of Pickup Location which will be used for In-Store Pickup.""" - pickup_location_code: String -} - -"""Sets the billing address.""" -input SetBillingAddressOnCartInput { - """The billing address.""" - billing_address: BillingAddressInput! - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Defines the billing address.""" -input BillingAddressInput { - """Defines a billing address.""" - address: CartAddressInput - """ - An ID from the customer's address book that uniquely identifies the address to be used for billing. - """ - customer_address_id: Int - """ - Indicates whether to set the billing address to be the same as the existing shipping address on the cart. - """ - same_as_shipping: Boolean - """ - Indicates whether to set the shipping address to be the same as this billing address. - """ - use_for_shipping: Boolean -} - -"""Defines the billing or shipping address to be applied to the cart.""" -input CartAddressInput { - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """The country code and label for the billing or shipping address.""" - country_code: String! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInput] - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """ - A string that defines the state or province of the billing or shipping address. - """ - region: String - """ - An integer that defines the state or province of the billing or shipping address. - """ - region_id: Int - """ - Determines whether to save the address in the customer's address book. The default value is true. - """ - save_in_address_book: Boolean - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -"""Applies one or shipping methods to the cart.""" -input SetShippingMethodsOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of shipping methods.""" - shipping_methods: [ShippingMethodInput]! -} - -"""Defines the shipping carrier and method.""" -input ShippingMethodInput { - """ - A string that identifies a commercial carrier or an offline delivery method. - """ - carrier_code: String! - """ - A string that indicates which service a commercial carrier will use to ship items. For offline delivery methods, this value is similar to the label displayed on the checkout page. - """ - method_code: String! -} - -"""Applies a payment method to the quote.""" -input SetPaymentMethodAndPlaceOrderInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """The payment method data to apply to the cart.""" - payment_method: PaymentMethodInput! -} - -"""Specifies the quote to be converted to an order.""" -input PlaceOrderInput { - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Applies a payment method to the cart.""" -input SetPaymentMethodOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """The payment method data to apply to the cart.""" - payment_method: PaymentMethodInput! -} - -"""Defines the payment method.""" -input PaymentMethodInput { - braintree: BraintreeInput - braintree_ach_direct_debit: BraintreeInput - braintree_ach_direct_debit_vault: BraintreeVaultInput - braintree_applepay_vault: BraintreeVaultInput - braintree_cc_vault: BraintreeCcVaultInput - braintree_googlepay_vault: BraintreeVaultInput - braintree_paypal: BraintreeInput - braintree_paypal_vault: BraintreeVaultInput - """The internal name for the payment method.""" - code: String! - """Required input for PayPal Hosted pro payments.""" - hosted_pro: HostedProInput - """Required input for Payflow Express Checkout payments.""" - payflow_express: PayflowExpressInput - """Required input for PayPal Payflow Link and Payments Advanced payments.""" - payflow_link: PayflowLinkInput - """Required input for PayPal Payflow Pro and Payment Pro payments.""" - payflowpro: PayflowProInput - """Required input for PayPal Payflow Pro vault payments.""" - payflowpro_cc_vault: VaultTokenInput - """Required input for Apple Pay button""" - payment_services_paypal_apple_pay: ApplePayMethodInput - """Required input for Google Pay button""" - payment_services_paypal_google_pay: GooglePayMethodInput - """Required input for Hosted Fields""" - payment_services_paypal_hosted_fields: HostedFieldsInput - """Required input for Smart buttons""" - payment_services_paypal_smart_buttons: SmartButtonMethodInput - """Required input for vault""" - payment_services_paypal_vault: VaultMethodInput - """Required input for Express Checkout and Payments Standard payments.""" - paypal_express: PaypalExpressInput - """The purchase order number. Optional for most payment methods.""" - purchase_order_number: String -} - -"""Defines the guest email and cart.""" -input SetGuestEmailOnCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """The email address of the guest.""" - email: String! -} - -""" -Contains details about the final price of items in the cart, including discount and tax information. -""" -type CartPrices { - """ - An array containing the names and amounts of taxes applied to each item in the cart. - """ - applied_taxes: [CartTaxItem] - discount: CartDiscount @deprecated(reason: "Use discounts instead.") - """ - An array containing cart rule discounts, store credit and gift cards applied to the cart. - """ - discounts: [Discount] - """The list of prices for the selected gift options.""" - gift_options: GiftOptionsPrices - """The total, including discounts, taxes, shipping, and other fees.""" - grand_total: Money - """The subtotal without any applied taxes.""" - subtotal_excluding_tax: Money - """The subtotal including any applied taxes.""" - subtotal_including_tax: Money - """The subtotal with any discounts applied, but not taxes.""" - subtotal_with_discount_excluding_tax: Money -} - -"""Contains tax information about an item in the cart.""" -type CartTaxItem { - """The amount of tax applied to the item.""" - amount: Money! - """The description of the tax.""" - label: String! -} - -"""Contains information about discounts applied to the cart.""" -type CartDiscount { - """The amount of the discount applied to the item.""" - amount: Money! - """The description of the discount.""" - label: [String]! -} - -type CreateGuestCartOutput { - """The newly created cart.""" - cart: Cart -} - -"""Contains details about the cart after setting the payment method.""" -type SetPaymentMethodOnCartOutput { - """The cart after setting the payment method.""" - cart: Cart! -} - -"""Contains details about the cart after setting the billing address.""" -type SetBillingAddressOnCartOutput { - """The cart after setting the billing address.""" - cart: Cart! -} - -"""Contains details about the cart after setting the shipping addresses.""" -type SetShippingAddressesOnCartOutput { - """The cart after setting the shipping addresses.""" - cart: Cart! -} - -"""Contains details about the cart after setting the shipping methods.""" -type SetShippingMethodsOnCartOutput { - """The cart after setting the shipping methods.""" - cart: Cart! -} - -"""Contains details about the cart after applying a coupon.""" -type ApplyCouponToCartOutput { - """The cart after applying a coupon.""" - cart: Cart! -} - -"""Contains the results of the request to place an order.""" -type PlaceOrderOutput { - """An array of place order errors.""" - errors: [PlaceOrderError]! - """The ID of the order.""" - order: Order @deprecated(reason: "Use `orderV2` instead.") - """Full order information.""" - orderV2: CustomerOrder -} - -"""An error encountered while placing an order.""" -type PlaceOrderError { - """An error code that is specific to place order.""" - code: PlaceOrderErrorCodes! - """A localized error message.""" - message: String! -} - -""" -Contains the contents and other details about a guest or customer cart. -""" -type Cart { - applied_coupon: AppliedCoupon @deprecated(reason: "Use `applied_coupons` instead.") - """ - An array of `AppliedCoupon` objects. Each object contains the `code` text attribute, which specifies the coupon code. - """ - applied_coupons: [AppliedCoupon] - """An array of gift card items applied to the cart.""" - applied_gift_cards: [AppliedGiftCard] - """The amount of reward points applied to the cart.""" - applied_reward_points: RewardPointsAmount - """Store credit information applied to the cart.""" - applied_store_credit: AppliedStoreCredit - """The list of available gift wrapping options for the cart.""" - available_gift_wrappings: [GiftWrapping]! - """An array of available payment methods.""" - available_payment_methods: [AvailablePaymentMethod] - """The billing address assigned to the cart.""" - billing_address: BillingCartAddress - """The email address of the guest or customer.""" - email: String - """The entered gift message for the cart""" - gift_message: GiftMessage - """Indicates whether the shopper requested gift receipt for the cart.""" - gift_receipt_included: Boolean! - """The selected gift wrapping for the cart.""" - gift_wrapping: GiftWrapping - """The unique ID for a `Cart` object.""" - id: ID! - """Indicates whether the cart contains only virtual products.""" - is_virtual: Boolean! - """An array of products that have been added to the cart.""" - items: [CartItemInterface] @deprecated(reason: "Use `itemsV2` instead.") - itemsV2(pageSize: Int = 20, currentPage: Int = 1, sort: QuoteItemsSortInput): CartItems - """Pricing details for the quote.""" - prices: CartPrices - """Indicates whether the shopper requested a printed card for the cart.""" - printed_card_included: Boolean! - """Indicates which payment method was applied to the cart.""" - selected_payment_method: SelectedPaymentMethod - """An array of shipping addresses assigned to the cart.""" - shipping_addresses: [ShippingCartAddress]! - """The total number of items in the cart.""" - total_quantity: Float! - """The total number of items in the cart.""" - total_summary_quantity_including_config: Float! -} - -type CartItems { - """An array of products that have been added to the cart.""" - items: [CartItemInterface]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo - """The number of returned cart items.""" - total_count: Int! -} - -interface CartAddressInterface { - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """An object containing the country label and code.""" - country: CartAddressCountry! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInterface]! - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region label and code.""" - region: CartAddressRegion - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The unique id of the customer address.""" - uid: String! - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -"""Contains shipping addresses and methods.""" -type ShippingCartAddress implements CartAddressInterface { - """ - An array that lists the shipping methods that can be applied to the cart. - """ - available_shipping_methods: [AvailableShippingMethod] - cart_items: [CartItemQuantity] @deprecated(reason: "Use `cart_items_v2` instead.") - """An array that lists the items in the cart.""" - cart_items_v2: [CartItemInterface] - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """An object containing the country label and code.""" - country: CartAddressCountry! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInterface]! - """Text provided by the shopper.""" - customer_notes: String - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - items_weight: Float @deprecated(reason: "This information should not be exposed on the frontend.") - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - pickup_location_code: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region label and code.""" - region: CartAddressRegion - """An object that describes the selected shipping method.""" - selected_shipping_method: SelectedShippingMethod - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The unique id of the customer address.""" - uid: String! - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -"""Contains details about the billing address.""" -type BillingCartAddress implements CartAddressInterface { - """The city specified for the billing or shipping address.""" - city: String! - """The company specified for the billing or shipping address.""" - company: String - """An object containing the country label and code.""" - country: CartAddressCountry! - """The custom attribute values of the billing or shipping address.""" - custom_attributes: [AttributeValueInterface]! - customer_notes: String @deprecated(reason: "The field is used only in shipping address.") - """The customer's fax number.""" - fax: String - """The first name of the customer or guest.""" - firstname: String! - """The last name of the customer or guest.""" - lastname: String! - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region label and code.""" - region: CartAddressRegion - """An array containing the street for the billing or shipping address.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number for the billing or shipping address.""" - telephone: String - """The unique id of the customer address.""" - uid: String! - """The VAT company number for billing or shipping address.""" - vat_id: String -} - -""" -Deprecated: The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`. -""" -type CartItemQuantity { - cart_item_id: Int! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") - quantity: Float! @deprecated(reason: "The `ShippingCartAddress.cart_items` field now returns `CartItemInterface`.") -} - -"""Contains details about the region in a billing or shipping address.""" -type CartAddressRegion { - """The state or province code.""" - code: String - """The display label for the region.""" - label: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -"""Contains details the country in a billing or shipping address.""" -type CartAddressCountry { - """The country code.""" - code: String! - """The display label for the country.""" - label: String! -} - -"""Contains details about the selected shipping method and carrier.""" -type SelectedShippingMethod { - """The cost of shipping using this shipping method.""" - amount: Money! - base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") - """ - A string that identifies a commercial carrier or an offline shipping method. - """ - carrier_code: String! - """The label for the carrier code.""" - carrier_title: String! - """A shipping method code associated with a carrier.""" - method_code: String! - """The label for the method code.""" - method_title: String! - """The cost of shipping using this shipping method, excluding tax.""" - price_excl_tax: Money! - """The cost of shipping using this shipping method, including tax.""" - price_incl_tax: Money! -} - -"""Contains details about the possible shipping methods and carriers.""" -type AvailableShippingMethod { - """The cost of shipping using this shipping method.""" - amount: Money! - """Indicates whether this shipping method can be applied to the cart.""" - available: Boolean! - base_amount: Money @deprecated(reason: "The field should not be used on the storefront.") - """ - A string that identifies a commercial carrier or an offline shipping method. - """ - carrier_code: String! - """The label for the carrier code.""" - carrier_title: String! - """Describes an error condition.""" - error_message: String - """ - A shipping method code associated with a carrier. The value could be null if no method is available. - """ - method_code: String - """ - The label for the shipping method code. The value could be null if no method is available. - """ - method_title: String - """The cost of shipping using this shipping method, excluding tax.""" - price_excl_tax: Money! - """The cost of shipping using this shipping method, including tax.""" - price_incl_tax: Money! -} - -""" -Describes a payment method that the shopper can use to pay for the order. -""" -type AvailablePaymentMethod { - """The payment method code.""" - code: String! - """If the payment method is an online integration""" - is_deferred: Boolean! - """The payment method title.""" - title: String! -} - -"""Describes the payment method the shopper selected.""" -type SelectedPaymentMethod { - """The payment method code.""" - code: String! - """The purchase order number.""" - purchase_order_number: String - """The payment method title.""" - title: String! -} - -"""Contains the applied coupon code.""" -type AppliedCoupon { - """The coupon code the shopper applied to the card.""" - code: String! -} - -"""Specifies the cart from which to remove a coupon.""" -input RemoveCouponFromCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Contains details about the cart after removing a coupon.""" -type RemoveCouponFromCartOutput { - """The cart after removing a coupon.""" - cart: Cart -} - -"""Contains details about the cart after adding simple or group products.""" -type AddSimpleProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""Contains details about the cart after adding virtual products.""" -type AddVirtualProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""Contains details about the cart after updating items.""" -type UpdateCartItemsOutput { - """The cart after updating products.""" - cart: Cart! -} - -"""Contains details about the cart after removing an item.""" -type RemoveItemFromCartOutput { - """The cart after removing an item.""" - cart: Cart! -} - -"""Contains details about the cart after setting the email of a guest.""" -type SetGuestEmailOnCartOutput { - """The cart after setting the guest email.""" - cart: Cart! -} - -"""An implementation for simple product cart items.""" -type SimpleCartItem implements CartItemInterface { - """The list of available gift wrapping options for the cart item.""" - available_gift_wrapping: [GiftWrapping]! - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - """The entered gift message for the cart item""" - gift_message: GiftMessage - """The selected gift wrapping for the cart item.""" - gift_wrapping: GiftWrapping - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""An implementation for virtual product cart items.""" -type VirtualCartItem implements CartItemInterface { - """An array containing customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""An interface for products in a cart.""" -interface CartItemInterface { - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -type CartItemError { - """An error code that describes the error encountered""" - code: CartItemErrorType! - """A localized error message""" - message: String! -} - -enum CartItemErrorType { - UNDEFINED - ITEM_QTY - ITEM_INCREMENTS -} - -"""Specifies the discount type and value for quote line item.""" -type Discount { - """The amount of the discount.""" - amount: Money! - """The type of the entity the discount is applied to.""" - applied_to: CartDiscountType! - """The coupon related to the discount.""" - coupon: AppliedCoupon - """Is quote discounting locked for line item.""" - is_discounting_locked: Boolean - """A description of the discount.""" - label: String! - """ - Quote line item discount type. Values: 1 = PERCENTAGE_DISCOUNT; 2 = AMOUNT_DISCOUNT; 3 = PROPOSED_TOTAL. - """ - type: String - """Quote line item discount value.""" - value: Float -} - -enum CartDiscountType { - ITEM - SHIPPING -} - -""" -Contains details about the price of the item, including taxes and discounts. -""" -type CartItemPrices { - """An array of discounts to be applied to the cart item.""" - discounts: [Discount] - """An array of FPTs applied to the cart item.""" - fixed_product_taxes: [FixedProductTax] - """ - The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. - """ - price: Money! - """ - The price of the item before any discounts were applied. The price that might include tax, depending on the configured display settings for cart. - """ - price_including_tax: Money! - """The value of the price multiplied by the quantity of the item.""" - row_total: Money! - """The value of `row_total` plus the tax applied to the item.""" - row_total_including_tax: Money! - """The total of all discounts applied to the item.""" - total_item_discount: Money -} - -"""Identifies a customized product that has been placed in a cart.""" -type SelectedCustomizableOption { - """ - The unique ID for a specific `CustomizableOptionInterface` object, such as a `CustomizableFieldOption`, `CustomizableFileOption`, or `CustomizableAreaOption` object. - """ - customizable_option_uid: ID! - id: Int! @deprecated(reason: "Use `SelectedCustomizableOption.customizable_option_uid` instead.") - """Indicates whether the customizable option is required.""" - is_required: Boolean! - """The display name of the selected customizable option.""" - label: String! - """A value indicating the order to display this option.""" - sort_order: Int! - """The type of `CustomizableOptionInterface` object.""" - type: String! - """An array of selectable values.""" - values: [SelectedCustomizableOptionValue]! -} - -"""Identifies the value of the selected customized option.""" -type SelectedCustomizableOptionValue { - """ - The unique ID for a value object that corresponds to the object represented by the `customizable_option_uid` attribute. - """ - customizable_option_value_uid: ID! - id: Int! @deprecated(reason: "Use `SelectedCustomizableOptionValue.customizable_option_value_uid` instead.") - """The display name of the selected value.""" - label: String! - """The price of the selected customizable value.""" - price: CartItemSelectedOptionValuePrice! - """The text identifying the selected value.""" - value: String! -} - -"""Contains details about the price of a selected customizable value.""" -type CartItemSelectedOptionValuePrice { - """Indicates whether the price type is fixed, percent, or dynamic.""" - type: PriceTypeEnum! - """A string that describes the unit of the value.""" - units: String! - """A price value.""" - value: Float! -} - -"""Contains the order ID.""" -type Order { - order_id: String @deprecated(reason: "Use `order_number` instead.") - """The unique ID for an `Order` object.""" - order_number: String! -} - -"""An error encountered while adding an item to the the cart.""" -type CartUserInputError { - """A cart-specific error code.""" - code: CartUserInputErrorType! - """A localized error message.""" - message: String! -} - -"""Contains details about the cart after adding products to it.""" -type AddProductsToCartOutput { - """The cart after products have been added.""" - cart: Cart! - """Contains errors encountered while adding an item to the cart.""" - user_errors: [CartUserInputError]! -} - -enum CartUserInputErrorType { - PRODUCT_NOT_FOUND - NOT_SALABLE - INSUFFICIENT_STOCK - UNDEFINED - PERMISSION_DENIED -} - -enum PlaceOrderErrorCodes { - CART_NOT_FOUND - CART_NOT_ACTIVE - GUEST_EMAIL_MISSING - UNABLE_TO_PLACE_ORDER - UNDEFINED -} - -input EstimateTotalsInput { - """Customer's address to estimate totals.""" - address: EstimateAddressInput! - """The unique ID of the cart to query.""" - cart_id: String! - """Selected shipping method to estimate totals.""" - shipping_method: ShippingMethodInput -} - -"""Estimate totals output.""" -type EstimateTotalsOutput { - """Cart after totals estimation""" - cart: Cart -} - -"""Contains details about an address.""" -input EstimateAddressInput { - """The two-letter code representing the customer's country.""" - country_code: CountryCodeEnum! - """The customer's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: CustomerAddressRegionInput -} - -"""Defines details about an individual checkout agreement.""" -type CheckoutAgreement { - """The ID for a checkout agreement.""" - agreement_id: Int! - """The checkbox text for the checkout agreement.""" - checkbox_text: String! - """Required. The text of the agreement.""" - content: String! - """ - The height of the text box where the Terms and Conditions statement appears during checkout. - """ - content_height: String - """Indicates whether the `content` text is in HTML format.""" - is_html: Boolean! - """Indicates whether agreements are accepted automatically or manually.""" - mode: CheckoutAgreementMode! - """The name given to the condition.""" - name: String! -} - -"""Indicates how agreements are accepted.""" -enum CheckoutAgreementMode { - """Conditions are automatically accepted upon checkout.""" - AUTO - """Shoppers must manually accept the conditions to place an order.""" - MANUAL -} - -"""Contains details about a customer email address to confirm.""" -input ConfirmEmailInput { - """The key to confirm the email address.""" - confirmation_key: String! - """The email address to be confirmed.""" - email: String! -} - -"""Contains details about a billing or shipping address.""" -input CustomerAddressInput { - """The customer's city or town.""" - city: String - """The customer's company.""" - company: String - """The two-letter code representing the customer's country.""" - country_code: CountryCodeEnum - """Deprecated: use `country_code` instead.""" - country_id: CountryCodeEnum - """Deprecated. Use custom_attributesV2 instead.""" - custom_attributes: [CustomerAddressAttributeInput] - """Custom attributes assigned to the customer address.""" - custom_attributesV2: [AttributeValueInput] - """Indicates whether the address is the default billing address.""" - default_billing: Boolean - """Indicates whether the address is the default shipping address.""" - default_shipping: Boolean - """The customer's fax number.""" - fax: String - """ - The first name of the person associated with the billing/shipping address. - """ - firstname: String - """ - The family name of the person associated with the billing/shipping address. - """ - lastname: String - """ - The middle name of the person associated with the billing/shipping address. - """ - middlename: String - """The customer's ZIP or postal code.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region name, region code, and region ID.""" - region: CustomerAddressRegionInput - """An array of strings that define the street number and name.""" - street: [String] - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's telephone number.""" - telephone: String - """The customer's Tax/VAT number (for corporate customers).""" - vat_id: String -} - -"""Defines the customer's state or province.""" -input CustomerAddressRegionInput { - """The state or province name.""" - region: String - """The address region code.""" - region_code: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -"""Specifies the attribute code and value of a customer attribute.""" -input CustomerAddressAttributeInput { - """The name assigned to the attribute.""" - attribute_code: String! - """The value assigned to the attribute.""" - value: String! -} - -"""Contains a customer authorization token.""" -type CustomerToken { - """Generate logout time""" - customer_token_lifetime: Int - """The customer authorization token.""" - token: String -} - -"""An input object that assigns or updates customer attributes.""" -input CustomerInput { - """The customer's date of birth.""" - date_of_birth: String - """Deprecated: Use `date_of_birth` instead.""" - dob: String - """The customer's email address. Required when creating a customer.""" - email: String - """The customer's first name.""" - firstname: String - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The customer's family name.""" - lastname: String - """The customer's middle name.""" - middlename: String - """The customer's password.""" - password: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Tax/VAT number (for corporate customers).""" - taxvat: String -} - -"""An input object for creating a customer.""" -input CustomerCreateInput { - """Indicates whether the customer has enabled remote shopping assistance.""" - allow_remote_shopping_assistance: Boolean - """The customer's custom attributes.""" - custom_attributes: [AttributeValueInput] - """The customer's date of birth.""" - date_of_birth: String - """Deprecated: Use `date_of_birth` instead.""" - dob: String - """The customer's email address.""" - email: String! - """The customer's first name.""" - firstname: String! - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The customer's family name.""" - lastname: String! - """The customer's middle name.""" - middlename: String - """The customer's password.""" - password: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Tax/VAT number (for corporate customers).""" - taxvat: String -} - -"""An input object for updating a customer.""" -input CustomerUpdateInput { - """Indicates whether the customer has enabled remote shopping assistance.""" - allow_remote_shopping_assistance: Boolean - """The customer's custom attributes.""" - custom_attributes: [AttributeValueInput] - """The customer's date of birth.""" - date_of_birth: String - """Deprecated: Use `date_of_birth` instead.""" - dob: String - """The customer's first name.""" - firstname: String - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The customer's family name.""" - lastname: String - """The customer's middle name.""" - middlename: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Tax/VAT number (for corporate customers).""" - taxvat: String -} - -"""Contains details about a newly-created or updated customer.""" -type CustomerOutput { - """Customer details after creating or updating a customer.""" - customer: Customer! -} - -"""Contains the result of a request to revoke a customer token.""" -type RevokeCustomerTokenOutput { - """The result of a request to revoke a customer token.""" - result: Boolean! -} - -"""Defines the customer name, addresses, and other details.""" -type Customer { - """An array containing the customer's shipping and billing addresses.""" - addresses: [CustomerAddress] - """Indicates whether the customer has enabled remote shopping assistance.""" - allow_remote_shopping_assistance: Boolean! - """An object that contains a list of companies user is assigned to.""" - companies(input: UserCompaniesInput): UserCompaniesOutput! - """The contents of the customer's compare list.""" - compare_list: CompareList - """The customer's confirmation status.""" - confirmation_status: ConfirmationStatusEnum! - """Timestamp indicating when the account was created.""" - created_at: String - """Customer's custom attributes.""" - custom_attributes(attributeCodes: [ID!]): [AttributeValueInterface] - """The customer's date of birth.""" - date_of_birth: String - """The ID assigned to the billing address.""" - default_billing: String - """The ID assigned to the shipping address.""" - default_shipping: String - """The customer's date of birth.""" - dob: String @deprecated(reason: "Use `date_of_birth` instead.") - """The customer's email address. Required.""" - email: String - """The customer's first name.""" - firstname: String - """The customer's gender (Male - 1, Female - 2).""" - gender: Int - """Details about all of the customer's gift registries.""" - gift_registries: [GiftRegistry] - """Details about a specific gift registry.""" - gift_registry(giftRegistryUid: ID!): GiftRegistry - group_id: Int @deprecated(reason: "Customer group should not be exposed in the storefront scenarios.") - """The ID assigned to the customer.""" - id: Int @deprecated(reason: "`id` is not needed as part of `Customer`, because on the server side, it can be identified based on the customer token used for authentication. There is no need to know customer ID on the client side.") - """ - Customer's confirmation status (confirmed/confirmation not required - true, unconfirmed - false). - """ - is_confirmed: Boolean - """ - Indicates whether the customer is subscribed to the company's newsletter. - """ - is_subscribed: Boolean - """The job title of a company user.""" - job_title: String - """The customer's family name.""" - lastname: String - """The customer's middle name.""" - middlename: String - orders( - """Defines the filter to use for searching customer orders.""" - filter: CustomerOrdersFilterInput - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - """ - Specifies the maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """ - Specifies which field to sort on, and whether to return the results in ascending or descending order. - """ - sort: CustomerOrderSortInput - """ - Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores. - """ - scope: ScopeTypeEnum - ): CustomerOrders - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """Purchase order details.""" - purchase_order(uid: ID!): PurchaseOrder - """Details about a single purchase order approval rule.""" - purchase_order_approval_rule(uid: ID!): PurchaseOrderApprovalRule - """ - Purchase order approval rule metadata that can be used for rule edit form rendering. - """ - purchase_order_approval_rule_metadata: PurchaseOrderApprovalRuleMetadata - """A list of purchase order approval rules visible to the customer.""" - purchase_order_approval_rules(currentPage: Int = 1, pageSize: Int = 20): PurchaseOrderApprovalRules - """A list of purchase orders visible to the customer.""" - purchase_orders(filter: PurchaseOrdersFilterInput, currentPage: Int = 1, pageSize: Int = 20): PurchaseOrders - """ - Indicates whether purchase order functionality is enabled for the current customer. Global and company-level settings are factored into the result. - """ - purchase_orders_enabled: Boolean! - """An object that contains the customer's requisition lists.""" - requisition_lists( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The filter to use to limit the number of requisition lists to return.""" - filter: RequisitionListFilterInput - ): RequisitionLists - """ - Details about the specified return request from the unique ID for a `Return` object. - """ - return(uid: ID!): Return - """Information about the customer's return requests.""" - returns( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): Returns - """Contains the customer's product reviews.""" - reviews( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """Customer reward points details.""" - reward_points: RewardPoints - """The role name and permissions assigned to the company user.""" - role: CompanyRole - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum - """Store credit information applied for the logged in customer.""" - store_credit: CustomerStoreCredit - """ID of the company structure""" - structure_id: ID! - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's Value-added tax (VAT) number (for corporate customers).""" - taxvat: String - """The team the company user is assigned to.""" - team: CompanyTeam - """The phone number of the company user.""" - telephone: String - """Return a customer's wish lists.""" - wishlist: Wishlist! @deprecated(reason: "Use `Customer.wishlists` or `Customer.wishlist_v2` instead.") - """ - Retrieve the wish list identified by the unique ID for a `Wishlist` object. - """ - wishlist_v2(id: ID!): Wishlist - """ - An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce. - """ - wishlists( - """ - Specifies the maximum number of results to return at once. This attribute is optional. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): [Wishlist]! -} - -""" -Contains detailed information about a customer's billing or shipping address. -""" -type CustomerAddress { - """The customer's city or town.""" - city: String - """The customer's company.""" - company: String - """The customer's country.""" - country_code: CountryCodeEnum - """The customer's country.""" - country_id: String @deprecated(reason: "Use `country_code` instead.") - custom_attributes: [CustomerAddressAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") - """Custom attributes assigned to the customer address.""" - custom_attributesV2(attributeCodes: [ID!]): [AttributeValueInterface]! - """The customer ID""" - customer_id: Int @deprecated(reason: "`customer_id` is not needed as part of `CustomerAddress`. The `id` is a unique identifier for the addresses.") - """ - Indicates whether the address is the customer's default billing address. - """ - default_billing: Boolean - """ - Indicates whether the address is the customer's default shipping address. - """ - default_shipping: Boolean - """Contains any extension attributes for the address.""" - extension_attributes: [CustomerAddressAttribute] - """The customer's fax number.""" - fax: String - """ - The first name of the person associated with the shipping/billing address. - """ - firstname: String - """The ID of a `CustomerAddress` object.""" - id: Int - """ - The family name of the person associated with the shipping/billing address. - """ - lastname: String - """ - The middle name of the person associated with the shipping/billing address. - """ - middlename: String - """The customer's ZIP or postal code.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """An object containing the region name, region code, and region ID.""" - region: CustomerAddressRegion - """The unique ID for a pre-defined region.""" - region_id: Int - """An array of strings that define the street number and name.""" - street: [String] - """A value such as Sr., Jr., or III.""" - suffix: String - """The customer's telephone number.""" - telephone: String - """The customer's Value-added tax (VAT) number (for corporate customers).""" - vat_id: String -} - -"""Defines the customer's state or province.""" -type CustomerAddressRegion { - """The state or province name.""" - region: String - """The address region code.""" - region_code: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -""" -Specifies the attribute code and value of a customer address attribute. -""" -type CustomerAddressAttribute { - """The name assigned to the customer address attribute.""" - attribute_code: String - """The value assigned to the customer address attribute.""" - value: String -} - -"""Contains the result of the `isEmailAvailable` query.""" -type IsEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a customer. - """ - is_email_available: Boolean -} - -"""The list of country codes.""" -enum CountryCodeEnum { - """Afghanistan""" - AF - """Åland Islands""" - AX - """Albania""" - AL - """Algeria""" - DZ - """American Samoa""" - AS - """Andorra""" - AD - """Angola""" - AO - """Anguilla""" - AI - """Antarctica""" - AQ - """Antigua & Barbuda""" - AG - """Argentina""" - AR - """Armenia""" - AM - """Aruba""" - AW - """Australia""" - AU - """Austria""" - AT - """Azerbaijan""" - AZ - """Bahamas""" - BS - """Bahrain""" - BH - """Bangladesh""" - BD - """Barbados""" - BB - """Belarus""" - BY - """Belgium""" - BE - """Belize""" - BZ - """Benin""" - BJ - """Bermuda""" - BM - """Bhutan""" - BT - """Bolivia""" - BO - """Bosnia & Herzegovina""" - BA - """Botswana""" - BW - """Bouvet Island""" - BV - """Brazil""" - BR - """British Indian Ocean Territory""" - IO - """British Virgin Islands""" - VG - """Brunei""" - BN - """Bulgaria""" - BG - """Burkina Faso""" - BF - """Burundi""" - BI - """Cambodia""" - KH - """Cameroon""" - CM - """Canada""" - CA - """Cape Verde""" - CV - """Cayman Islands""" - KY - """Central African Republic""" - CF - """Chad""" - TD - """Chile""" - CL - """China""" - CN - """Christmas Island""" - CX - """Cocos (Keeling) Islands""" - CC - """Colombia""" - CO - """Comoros""" - KM - """Congo-Brazzaville""" - CG - """Congo-Kinshasa""" - CD - """Cook Islands""" - CK - """Costa Rica""" - CR - """Côte d’Ivoire""" - CI - """Croatia""" - HR - """Cuba""" - CU - """Cyprus""" - CY - """Czech Republic""" - CZ - """Denmark""" - DK - """Djibouti""" - DJ - """Dominica""" - DM - """Dominican Republic""" - DO - """Ecuador""" - EC - """Egypt""" - EG - """El Salvador""" - SV - """Equatorial Guinea""" - GQ - """Eritrea""" - ER - """Estonia""" - EE - """Eswatini""" - SZ - """Ethiopia""" - ET - """Falkland Islands""" - FK - """Faroe Islands""" - FO - """Fiji""" - FJ - """Finland""" - FI - """France""" - FR - """French Guiana""" - GF - """French Polynesia""" - PF - """French Southern Territories""" - TF - """Gabon""" - GA - """Gambia""" - GM - """Georgia""" - GE - """Germany""" - DE - """Ghana""" - GH - """Gibraltar""" - GI - """Greece""" - GR - """Greenland""" - GL - """Grenada""" - GD - """Guadeloupe""" - GP - """Guam""" - GU - """Guatemala""" - GT - """Guernsey""" - GG - """Guinea""" - GN - """Guinea-Bissau""" - GW - """Guyana""" - GY - """Haiti""" - HT - """Heard & McDonald Islands""" - HM - """Honduras""" - HN - """Hong Kong SAR China""" - HK - """Hungary""" - HU - """Iceland""" - IS - """India""" - IN - """Indonesia""" - ID - """Iran""" - IR - """Iraq""" - IQ - """Ireland""" - IE - """Isle of Man""" - IM - """Israel""" - IL - """Italy""" - IT - """Jamaica""" - JM - """Japan""" - JP - """Jersey""" - JE - """Jordan""" - JO - """Kazakhstan""" - KZ - """Kenya""" - KE - """Kiribati""" - KI - """Kuwait""" - KW - """Kyrgyzstan""" - KG - """Laos""" - LA - """Latvia""" - LV - """Lebanon""" - LB - """Lesotho""" - LS - """Liberia""" - LR - """Libya""" - LY - """Liechtenstein""" - LI - """Lithuania""" - LT - """Luxembourg""" - LU - """Macau SAR China""" - MO - """Macedonia""" - MK - """Madagascar""" - MG - """Malawi""" - MW - """Malaysia""" - MY - """Maldives""" - MV - """Mali""" - ML - """Malta""" - MT - """Marshall Islands""" - MH - """Martinique""" - MQ - """Mauritania""" - MR - """Mauritius""" - MU - """Mayotte""" - YT - """Mexico""" - MX - """Micronesia""" - FM - """Moldova""" - MD - """Monaco""" - MC - """Mongolia""" - MN - """Montenegro""" - ME - """Montserrat""" - MS - """Morocco""" - MA - """Mozambique""" - MZ - """Myanmar (Burma)""" - MM - """Namibia""" - NA - """Nauru""" - NR - """Nepal""" - NP - """Netherlands""" - NL - """Netherlands Antilles""" - AN - """New Caledonia""" - NC - """New Zealand""" - NZ - """Nicaragua""" - NI - """Niger""" - NE - """Nigeria""" - NG - """Niue""" - NU - """Norfolk Island""" - NF - """Northern Mariana Islands""" - MP - """North Korea""" - KP - """Norway""" - NO - """Oman""" - OM - """Pakistan""" - PK - """Palau""" - PW - """Palestinian Territories""" - PS - """Panama""" - PA - """Papua New Guinea""" - PG - """Paraguay""" - PY - """Peru""" - PE - """Philippines""" - PH - """Pitcairn Islands""" - PN - """Poland""" - PL - """Portugal""" - PT - """Qatar""" - QA - """Réunion""" - RE - """Romania""" - RO - """Russia""" - RU - """Rwanda""" - RW - """Samoa""" - WS - """San Marino""" - SM - """São Tomé & Príncipe""" - ST - """Saudi Arabia""" - SA - """Senegal""" - SN - """Serbia""" - RS - """Seychelles""" - SC - """Sierra Leone""" - SL - """Singapore""" - SG - """Slovakia""" - SK - """Slovenia""" - SI - """Solomon Islands""" - SB - """Somalia""" - SO - """South Africa""" - ZA - """South Georgia & South Sandwich Islands""" - GS - """South Korea""" - KR - """Spain""" - ES - """Sri Lanka""" - LK - """St. Barthélemy""" - BL - """St. Helena""" - SH - """St. Kitts & Nevis""" - KN - """St. Lucia""" - LC - """St. Martin""" - MF - """St. Pierre & Miquelon""" - PM - """St. Vincent & Grenadines""" - VC - """Sudan""" - SD - """Suriname""" - SR - """Svalbard & Jan Mayen""" - SJ - """Sweden""" - SE - """Switzerland""" - CH - """Syria""" - SY - """Taiwan""" - TW - """Tajikistan""" - TJ - """Tanzania""" - TZ - """Thailand""" - TH - """Timor-Leste""" - TL - """Togo""" - TG - """Tokelau""" - TK - """Tonga""" - TO - """Trinidad & Tobago""" - TT - """Tunisia""" - TN - """Turkey""" - TR - """Turkmenistan""" - TM - """Turks & Caicos Islands""" - TC - """Tuvalu""" - TV - """Uganda""" - UG - """Ukraine""" - UA - """United Arab Emirates""" - AE - """United Kingdom""" - GB - """United States""" - US - """Uruguay""" - UY - """U.S. Outlying Islands""" - UM - """U.S. Virgin Islands""" - VI - """Uzbekistan""" - UZ - """Vanuatu""" - VU - """Vatican City""" - VA - """Venezuela""" - VE - """Vietnam""" - VN - """Wallis & Futuna""" - WF - """Western Sahara""" - EH - """Yemen""" - YE - """Zambia""" - ZM - """Zimbabwe""" - ZW -} - -"""Customer attribute metadata.""" -type CustomerAttributeMetadata implements CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """The template used for the input of the attribute (e.g., 'date').""" - input_filter: InputFilterEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """The number of lines of the attribute value.""" - multiline_count: Int - """Attribute options.""" - options: [CustomAttributeOptionInterface]! - """The position of the attribute in the form.""" - sort_order: Int - """The validation rules of the attribute value.""" - validate_rules: [ValidationRule] -} - -"""List of templates/filters applied to customer attribute input.""" -enum InputFilterEnum { - """There are no templates or filters to be applied.""" - NONE - """Forces attribute input to follow the date format.""" - DATE - """ - Strip whitespace (or other characters) from the beginning and end of the input. - """ - TRIM - """Strip HTML Tags.""" - STRIPTAGS - """Escape HTML Entities.""" - ESCAPEHTML -} - -"""Defines a customer attribute validation rule.""" -type ValidationRule { - """Validation rule name applied to a customer attribute.""" - name: ValidationRuleEnum - """Validation rule value.""" - value: String -} - -"""List of validation rule names applied to a customer attribute.""" -enum ValidationRuleEnum { - DATE_RANGE_MAX - DATE_RANGE_MIN - FILE_EXTENSIONS - INPUT_VALIDATION - MAX_TEXT_LENGTH - MIN_TEXT_LENGTH - MAX_FILE_SIZE - MAX_IMAGE_HEIGHT - MAX_IMAGE_WIDTH -} - -"""List of account confirmation statuses.""" -enum ConfirmationStatusEnum { - """Account confirmed""" - ACCOUNT_CONFIRMED - """Account confirmation not required""" - ACCOUNT_CONFIRMATION_NOT_REQUIRED -} - -"""Defines properties of a negotiable quote request.""" -input RequestNegotiableQuoteInput { - """The cart ID of the buyer requesting a new negotiable quote.""" - cart_id: ID! - """Comments the buyer entered to describe the request.""" - comment: NegotiableQuoteCommentInput! - """Flag indicating if quote is draft or not.""" - is_draft: Boolean - """The name the buyer assigned to the negotiable quote request.""" - quote_name: String! -} - -"""Specifies the items to update.""" -input UpdateNegotiableQuoteQuantitiesInput { - """An array of items to update.""" - items: [NegotiableQuoteItemQuantityInput]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Specifies the updated quantity of an item.""" -input NegotiableQuoteItemQuantityInput { - """The new quantity of the negotiable quote item.""" - quantity: Float! - """The unique ID of a `CartItemInterface` object.""" - quote_item_uid: ID! -} - -"""Contains the updated negotiable quote.""" -type UpdateNegotiableQuoteItemsQuantityOutput { - """The updated negotiable quote.""" - quote: NegotiableQuote -} - -"""Specifies the negotiable quote to convert to an order.""" -input PlaceNegotiableQuoteOrderInput { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""An output object that returns the generated order.""" -type PlaceNegotiableQuoteOrderOutput { - """Contains the generated order number.""" - order: Order! -} - -"""Specifies which negotiable quote to send for review.""" -input SendNegotiableQuoteForReviewInput { - """A comment for the seller to review.""" - comment: NegotiableQuoteCommentInput - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Contains the negotiable quote.""" -type SendNegotiableQuoteForReviewOutput { - """The negotiable quote after sending for seller review.""" - quote: NegotiableQuote -} - -"""Defines the shipping address to assign to the negotiable quote.""" -input SetNegotiableQuoteShippingAddressInput { - """The unique ID of a `CustomerAddress` object.""" - customer_address_id: ID - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! - """An array of shipping addresses to apply to the negotiable quote.""" - shipping_addresses: [NegotiableQuoteShippingAddressInput] -} - -"""Defines shipping addresses for the negotiable quote.""" -input NegotiableQuoteShippingAddressInput { - """A shipping address.""" - address: NegotiableQuoteAddressInput - """ - An ID from the company user's address book that uniquely identifies the address to be used for shipping. - """ - customer_address_uid: ID - """Text provided by the company user.""" - customer_notes: String -} - -"""Sets the billing address.""" -input SetNegotiableQuoteBillingAddressInput { - """The billing address to be added.""" - billing_address: NegotiableQuoteBillingAddressInput! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Defines the billing address.""" -input NegotiableQuoteBillingAddressInput { - """Defines a billing address.""" - address: NegotiableQuoteAddressInput - """The unique ID of a `CustomerAddress` object.""" - customer_address_uid: ID - """ - Indicates whether to set the billing address to be the same as the existing shipping address on the negotiable quote. - """ - same_as_shipping: Boolean - """ - Indicates whether to set the shipping address to be the same as this billing address. - """ - use_for_shipping: Boolean -} - -"""Defines the billing or shipping address to be applied to the cart.""" -input NegotiableQuoteAddressInput { - """The city specified for the billing or shipping address.""" - city: String! - """The company name.""" - company: String - """The country code and label for the billing or shipping address.""" - country_code: String! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The ZIP or postal code of the billing or shipping address.""" - postcode: String - """ - A string that defines the state or province of the billing or shipping address. - """ - region: String - """ - An integer that defines the state or province of the billing or shipping address. - """ - region_id: Int - """ - Determines whether to save the address in the customer's address book. The default value is true. - """ - save_in_address_book: Boolean - """An array containing the street for the billing or shipping address.""" - street: [String]! - """The telephone number for the billing or shipping address.""" - telephone: String -} - -"""Defines the shipping method to apply to the negotiable quote.""" -input SetNegotiableQuoteShippingMethodsInput { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! - """An array of shipping methods to apply to the negotiable quote.""" - shipping_methods: [ShippingMethodInput]! -} - -"""Sets quote item note.""" -input LineItemNoteInput { - """The note text to be added.""" - note: String - """The unique ID of a `CartLineItem` object.""" - quote_item_uid: ID! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Sets new name for a negotiable quote.""" -input RenameNegotiableQuoteInput { - """The reason for the quote name change specified by the buyer.""" - quote_comment: String - """ - The new quote name the buyer specified to the negotiable quote request. - """ - quote_name: String! - """The cart ID of the buyer requesting a new negotiable quote.""" - quote_uid: ID! -} - -"""Contains the updated negotiable quote.""" -type SetLineItemNoteOutput { - """The negotiable quote after sending for seller review.""" - quote: NegotiableQuote -} - -"""Move Line Item to Requisition List.""" -input MoveLineItemToRequisitionListInput { - """The unique ID of a `CartLineItem` object.""" - quote_item_uid: ID! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! - """The unique ID of a requisition list.""" - requisition_list_uid: ID! -} - -"""Contains the updated negotiable quote.""" -type MoveLineItemToRequisitionListOutput { - """The negotiable quote after moving item to requisition list.""" - quote: NegotiableQuote -} - -"""Contains the negotiable quote.""" -type SetNegotiableQuoteShippingMethodsOutput { - """The negotiable quote after applying shipping methods.""" - quote: NegotiableQuote -} - -"""Contains the negotiable quote.""" -type SetNegotiableQuoteShippingAddressOutput { - """The negotiable quote after assigning a shipping address.""" - quote: NegotiableQuote -} - -"""Contains the negotiable quote.""" -type SetNegotiableQuoteBillingAddressOutput { - """The negotiable quote after assigning a billing address.""" - quote: NegotiableQuote -} - -"""Defines the items to remove from the specified negotiable quote.""" -input RemoveNegotiableQuoteItemsInput { - """ - An array of IDs indicating which items to remove from the negotiable quote. - """ - quote_item_uids: [ID]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Contains the negotiable quote.""" -type RemoveNegotiableQuoteItemsOutput { - """The negotiable quote after removing items.""" - quote: NegotiableQuote -} - -"""Defines the negotiable quotes to mark as closed.""" -input CloseNegotiableQuotesInput { - """A list of unique IDs from `NegotiableQuote` objects.""" - quote_uids: [ID]! -} - -""" -Contains the closed negotiable quotes and other negotiable quotes the company user can view. -""" -type CloseNegotiableQuotesOutput { - """An array containing the negotiable quotes that were just closed.""" - closed_quotes: [NegotiableQuote] @deprecated(reason: "Use `operation_results` instead.") - """ - A list of negotiable quotes that can be viewed by the logged-in customer - """ - negotiable_quotes( - """The filter to use to determine which negotiable quotes to close.""" - filter: NegotiableQuoteFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteSortInput - ): NegotiableQuotesOutput - """An array of closed negotiable quote UIDs and details about any errors.""" - operation_results: [CloseNegotiableQuoteOperationResult]! - """The status of the request to close one or more negotiable quotes.""" - result_status: BatchMutationStatus! -} - -"""Contains the updated negotiable quote.""" -type RenameNegotiableQuoteOutput { - """The negotiable quote after updating the name.""" - quote: NegotiableQuote -} - -union CloseNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | CloseNegotiableQuoteOperationFailure - -union CloseNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError - -""" -Contains a list of undeleted negotiable quotes the company user can view. -""" -type DeleteNegotiableQuotesOutput { - """A list of negotiable quotes that the customer can view""" - negotiable_quotes( - """The filter to use to determine which negotiable quotes to delete.""" - filter: NegotiableQuoteFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The field to use for sorting results.""" - sort: NegotiableQuoteSortInput - ): NegotiableQuotesOutput - """ - An array of deleted negotiable quote UIDs and details about any errors. - """ - operation_results: [DeleteNegotiableQuoteOperationResult]! - """The status of the request to delete one or more negotiable quotes.""" - result_status: BatchMutationStatus! -} - -union DeleteNegotiableQuoteOperationResult = NegotiableQuoteUidOperationSuccess | DeleteNegotiableQuoteOperationFailure - -union DeleteNegotiableQuoteError = NegotiableQuoteInvalidStateError | NoSuchEntityUidError | InternalError - -"""Defines the payment method to be applied to the negotiable quote.""" -input NegotiableQuotePaymentMethodInput { - """Payment method code""" - code: String! - """The purchase order number. Optional for most payment methods.""" - purchase_order_number: String -} - -""" -Contains details about the negotiable quote after setting the payment method. -""" -type SetNegotiableQuotePaymentMethodOutput { - """The updated negotiable quote.""" - quote: NegotiableQuote -} - -"""Contains a list of negotiable that match the specified filter.""" -type NegotiableQuotesOutput { - """A list of negotiable quotes""" - items: [NegotiableQuote]! - """Contains pagination metadata""" - page_info: SearchResultPageInfo! - """Contains the default sort field and all available sort fields.""" - sort_fields: SortFields - """The number of negotiable quotes returned""" - total_count: Int! -} - -"""Defines the field to use to sort a list of negotiable quotes.""" -input NegotiableQuoteSortInput { - """Whether to return results in ascending or descending order.""" - sort_direction: SortEnum! - """The specified sort field.""" - sort_field: NegotiableQuoteSortableField! -} - -enum NegotiableQuoteSortableField { - """Sorts negotiable quotes by name.""" - QUOTE_NAME - """Sorts negotiable quotes by the dates they were created.""" - CREATED_AT - """Sorts negotiable quotes by the dates they were last modified.""" - UPDATED_AT -} - -"""Contains the commend provided by the buyer.""" -input NegotiableQuoteCommentInput { - """The comment provided by the buyer.""" - comment: String! -} - -"""Contains a single plain text comment from either the buyer or seller.""" -type NegotiableQuoteComment { - """The first and last name of the commenter.""" - author: NegotiableQuoteUser! - """Timestamp indicating when the comment was created.""" - created_at: String! - """Indicates whether a buyer or seller commented.""" - creator_type: NegotiableQuoteCommentCreatorType! - """The plain text comment.""" - text: String! - """The unique ID of a `NegotiableQuoteComment` object.""" - uid: ID! -} - -enum NegotiableQuoteCommentCreatorType { - BUYER - SELLER -} - -"""Contains details about a negotiable quote.""" -type NegotiableQuote { - """ - An array of payment methods that can be applied to the negotiable quote. - """ - available_payment_methods: [AvailablePaymentMethod] - """The billing address applied to the negotiable quote.""" - billing_address: NegotiableQuoteBillingAddress - """The first and last name of the buyer.""" - buyer: NegotiableQuoteUser! - """A list of comments made by the buyer and seller.""" - comments: [NegotiableQuoteComment] - """Timestamp indicating when the negotiable quote was created.""" - created_at: String - """The email address of the company user.""" - email: String - """A list of status and price changes for the negotiable quote.""" - history: [NegotiableQuoteHistoryEntry] - """Indicates whether the negotiable quote contains only virtual products.""" - is_virtual: Boolean! - """The list of items in the negotiable quote.""" - items: [CartItemInterface] - """The title assigned to the negotiable quote.""" - name: String! - """A set of subtotals and totals applied to the negotiable quote.""" - prices: CartPrices - """The payment method that was applied to the negotiable quote.""" - selected_payment_method: SelectedPaymentMethod - """A list of shipping addresses applied to the negotiable quote.""" - shipping_addresses: [NegotiableQuoteShippingAddress]! - """The status of the negotiable quote.""" - status: NegotiableQuoteStatus! - """The total number of items in the negotiable quote.""" - total_quantity: Float! - """The unique ID of a `NegotiableQuote` object.""" - uid: ID! - """Timestamp indicating when the negotiable quote was updated.""" - updated_at: String -} - -enum NegotiableQuoteStatus { - SUBMITTED - PENDING - UPDATED - OPEN - ORDERED - CLOSED - DECLINED - EXPIRED - DRAFT -} - -"""Defines a filter to limit the negotiable quotes to return.""" -input NegotiableQuoteFilterInput { - """Filter by the ID of one or more negotiable quotes.""" - ids: FilterEqualTypeInput - """Filter by the negotiable quote name.""" - name: FilterMatchTypeInput -} - -"""Contains details about a change for a negotiable quote.""" -type NegotiableQuoteHistoryEntry { - """The person who made a change in the status of the negotiable quote.""" - author: NegotiableQuoteUser! - """ - An enum that describes the why the entry in the negotiable quote history changed status. - """ - change_type: NegotiableQuoteHistoryEntryChangeType! - """The set of changes in the negotiable quote.""" - changes: NegotiableQuoteHistoryChanges - """Timestamp indicating when the negotiable quote entry was created.""" - created_at: String - """The unique ID of a `NegotiableQuoteHistoryEntry` object.""" - uid: ID! -} - -"""Contains a list of changes to a negotiable quote.""" -type NegotiableQuoteHistoryChanges { - """The comment provided with a change in the negotiable quote history.""" - comment_added: NegotiableQuoteHistoryCommentChange - """Lists log entries added by third-party extensions.""" - custom_changes: NegotiableQuoteCustomLogChange - """ - The expiration date of the negotiable quote before and after a change in the quote history. - """ - expiration: NegotiableQuoteHistoryExpirationChange - """ - Lists products that were removed as a result of a change in the quote history. - """ - products_removed: NegotiableQuoteHistoryProductsRemovedChange - """The status before and after a change in the negotiable quote history.""" - statuses: NegotiableQuoteHistoryStatusesChange - """ - The total amount of the negotiable quote before and after a change in the quote history. - """ - total: NegotiableQuoteHistoryTotalChange -} - -""" -Lists a new status change applied to a negotiable quote and the previous status. -""" -type NegotiableQuoteHistoryStatusChange { - """The updated status.""" - new_status: NegotiableQuoteStatus! - """ - The previous status. The value will be null for the first history entry in a negotiable quote. - """ - old_status: NegotiableQuoteStatus -} - -""" -Contains a list of status changes that occurred for the negotiable quote. -""" -type NegotiableQuoteHistoryStatusesChange { - """A list of status changes.""" - changes: [NegotiableQuoteHistoryStatusChange]! -} - -"""Contains a comment submitted by a seller or buyer.""" -type NegotiableQuoteHistoryCommentChange { - """A plain text comment submitted by a seller or buyer.""" - comment: String! -} - -"""Contains a new price and the previous price.""" -type NegotiableQuoteHistoryTotalChange { - """The total price as a result of the change.""" - new_price: Money - """The previous total price on the negotiable quote.""" - old_price: Money -} - -"""Contains a new expiration date and the previous date.""" -type NegotiableQuoteHistoryExpirationChange { - """ - The expiration date after the change. The value will be 'null' if not set. - """ - new_expiration: String - """ - The previous expiration date. The value will be 'null' if not previously set. - """ - old_expiration: String -} - -""" -Contains lists of products that have been removed from the catalog and negotiable quote. -""" -type NegotiableQuoteHistoryProductsRemovedChange { - """A list of product IDs the seller removed from the catalog.""" - products_removed_from_catalog: [ID] - """ - A list of products removed from the negotiable quote by either the buyer or the seller. - """ - products_removed_from_quote: [ProductInterface] -} - -"""Contains custom log entries added by third-party extensions.""" -type NegotiableQuoteCustomLogChange { - """The new entry content.""" - new_value: String! - """The previous entry in the custom log.""" - old_value: String - """The title of the custom log entry.""" - title: String! -} - -enum NegotiableQuoteHistoryEntryChangeType { - CREATED - UPDATED - CLOSED - UPDATED_BY_SYSTEM -} - -""" -Contains the `NegotiableQuote` object generated when a buyer requests a negotiable quote. -""" -type RequestNegotiableQuoteOutput { - """Details about the negotiable quote.""" - quote: NegotiableQuote -} - -interface NegotiableQuoteAddressInterface { - """The company's city or town.""" - city: String! - """The company name associated with the shipping/billing address.""" - company: String - """The company's country.""" - country: NegotiableQuoteAddressCountry! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The company's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: NegotiableQuoteAddressRegion - """An array of strings that define the street number and name.""" - street: [String]! - """The customer's telephone number.""" - telephone: String -} - -"""Defines the company's state or province.""" -type NegotiableQuoteAddressRegion { - """The address region code.""" - code: String - """The display name of the region.""" - label: String - """The unique ID for a pre-defined region.""" - region_id: Int -} - -"""Defines the company's country.""" -type NegotiableQuoteAddressCountry { - """The address country code.""" - code: String! - """The display name of the region.""" - label: String! -} - -type NegotiableQuoteShippingAddress implements NegotiableQuoteAddressInterface { - """An array of shipping methods available to the buyer.""" - available_shipping_methods: [AvailableShippingMethod] - """The company's city or town.""" - city: String! - """The company name associated with the shipping/billing address.""" - company: String - """The company's country.""" - country: NegotiableQuoteAddressCountry! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The company's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: NegotiableQuoteAddressRegion - """The selected shipping method.""" - selected_shipping_method: SelectedShippingMethod - """An array of strings that define the street number and name.""" - street: [String]! - """The customer's telephone number.""" - telephone: String -} - -type NegotiableQuoteBillingAddress implements NegotiableQuoteAddressInterface { - """The company's city or town.""" - city: String! - """The company name associated with the shipping/billing address.""" - company: String - """The company's country.""" - country: NegotiableQuoteAddressCountry! - """The first name of the company user.""" - firstname: String! - """The last name of the company user.""" - lastname: String! - """The company's ZIP or postal code.""" - postcode: String - """An object containing the region name, region code, and region ID.""" - region: NegotiableQuoteAddressRegion - """An array of strings that define the street number and name.""" - street: [String]! - """The customer's telephone number.""" - telephone: String -} - -"""A limited view of a Buyer or Seller in the negotiable quote process.""" -type NegotiableQuoteUser { - """The first name of the buyer or seller making a change.""" - firstname: String! - """The buyer's or seller's last name.""" - lastname: String! -} - -interface NegotiableQuoteUidNonFatalResultInterface { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Contains details about a successful operation on a negotiable quote.""" -type NegotiableQuoteUidOperationSuccess implements NegotiableQuoteUidNonFatalResultInterface { - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -""" -An error indicating that an operation was attempted on a negotiable quote in an invalid state. -""" -type NegotiableQuoteInvalidStateError implements ErrorInterface { - """The returned error message.""" - message: String! -} - -"""The note object for quote line item.""" -type ItemNote { - """Timestamp that reflects note creation date.""" - created_at: String - """ID of the user who submitted a note.""" - creator_id: Int - """Type of teh user who submitted a note.""" - creator_type: Int - """The unique ID of a `CartItemInterface` object.""" - negotiable_quote_item_uid: ID - """Note text.""" - note: String - """The unique ID of a `ItemNote` object.""" - note_uid: ID -} - -"""Contains details about a failed close operation on a negotiable quote.""" -type CloseNegotiableQuoteOperationFailure { - """ - An array of errors encountered while attempting close the negotiable quote. - """ - errors: [CloseNegotiableQuoteError]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -input DeleteNegotiableQuotesInput { - """A list of unique IDs for `NegotiableQuote` objects to delete.""" - quote_uids: [ID]! -} - -""" -Contains details about a failed delete operation on a negotiable quote. -""" -type DeleteNegotiableQuoteOperationFailure { - errors: [DeleteNegotiableQuoteError]! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -"""Defines the payment method of the specified negotiable quote.""" -input SetNegotiableQuotePaymentMethodInput { - """The payment method to be assigned to the negotiable quote.""" - payment_method: NegotiableQuotePaymentMethodInput! - """The unique ID of a `NegotiableQuote` object.""" - quote_uid: ID! -} - -""" -Defines an object used to iterate through items for product comparisons. -""" -type ComparableItem { - """An array of product attributes that can be used to compare products.""" - attributes: [ProductAttribute]! - """Details about a product in a compare list.""" - product: ProductInterface! - """The unique ID of an item in a compare list.""" - uid: ID! -} - -"""Contains a product attribute code and value.""" -type ProductAttribute { - """The unique identifier for a product attribute code.""" - code: String! - """The display value of the attribute.""" - value: String! -} - -"""Contains an attribute code that is used for product comparisons.""" -type ComparableAttribute { - """An attribute code that is enabled for product comparisons.""" - code: String! - """The label of the attribute code.""" - label: String! -} - -""" -Contains iterable information such as the array of items, the count, and attributes that represent the compare list. -""" -type CompareList { - """An array of attributes that can be used for comparing products.""" - attributes: [ComparableAttribute] - """The number of items in the compare list.""" - item_count: Int! - """An array of products to compare.""" - items: [ComparableItem] - """The unique ID assigned to the compare list.""" - uid: ID! -} - -"""Contains an array of product IDs to use for creating a compare list.""" -input CreateCompareListInput { - """An array of product IDs to add to the compare list.""" - products: [ID] -} - -"""Contains products to add to an existing compare list.""" -input AddProductsToCompareListInput { - """An array of product IDs to add to the compare list.""" - products: [ID]! - """The unique identifier of the compare list to modify.""" - uid: ID! -} - -"""Defines which products to remove from a compare list.""" -input RemoveProductsFromCompareListInput { - """An array of product IDs to remove from the compare list.""" - products: [ID]! - """The unique identifier of the compare list to modify.""" - uid: ID! -} - -"""Contains the results of the request to delete a compare list.""" -type DeleteCompareListOutput { - """Indicates whether the compare list was successfully deleted.""" - result: Boolean! -} - -"""Contains the results of the request to assign a compare list.""" -type AssignCompareListToCustomerOutput { - """The contents of the customer's compare list.""" - compare_list: CompareList - """ - Indicates whether the compare list was successfully assigned to the customer. - """ - result: Boolean! -} - -""" -Defines basic features of a configurable product and its simple product variants. -""" -type ConfigurableProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of options for the configurable product.""" - configurable_options: [ConfigurableProductOptions] - """ - An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options. - """ - configurable_product_options_selection(configurableOptionValueUids: [ID!]): ConfigurableProductOptionsSelection - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - """An array of simple product variants.""" - variants: [ConfigurableVariant] - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -"""Contains all the simple product variants of a configurable product.""" -type ConfigurableVariant { - """An array of configurable attribute options.""" - attributes: [ConfigurableAttributeOption] - """An array of linked simple products.""" - product: SimpleProduct -} - -"""Contains details about a configurable product attribute option.""" -type ConfigurableAttributeOption { - """The ID assigned to the attribute.""" - code: String - """A string that describes the configurable attribute option.""" - label: String - """The unique ID for a `ConfigurableAttributeOption` object.""" - uid: ID! - """A unique index number assigned to the configurable product option.""" - value_index: Int -} - -"""Defines configurable attributes for the specified product.""" -type ConfigurableProductOptions { - """A string that identifies the attribute.""" - attribute_code: String - """The ID assigned to the attribute.""" - attribute_id: String @deprecated(reason: "Use `attribute_uid` instead.") - """The ID assigned to the attribute.""" - attribute_id_v2: Int @deprecated(reason: "Use `attribute_uid` instead.") - """The unique ID for an `Attribute` object.""" - attribute_uid: ID! - """The configurable option ID number assigned by the system.""" - id: Int @deprecated(reason: "Use `uid` instead.") - """A displayed string that describes the configurable product option.""" - label: String - """A number that indicates the order in which the attribute is displayed.""" - position: Int - """This is the same as a product's `id` field.""" - product_id: Int @deprecated(reason: "`product_id` is not needed and can be obtained from its parent.") - """The unique ID for a `ConfigurableProductOptions` object.""" - uid: ID! - """Indicates whether the option is the default.""" - use_default: Boolean - """ - An array that defines the `value_index` codes assigned to the configurable product. - """ - values: [ConfigurableProductOptionsValues] -} - -"""Contains the index number assigned to a configurable product option.""" -type ConfigurableProductOptionsValues { - """The label of the product on the default store.""" - default_label: String - """The label of the product.""" - label: String - """The label of the product on the current store.""" - store_label: String - """Swatch data for a configurable product option.""" - swatch_data: SwatchDataInterface - """The unique ID for a `ConfigurableProductOptionsValues` object.""" - uid: ID - """Indicates whether to use the default_label.""" - use_default_value: Boolean - """A unique index number assigned to the configurable product option.""" - value_index: Int @deprecated(reason: "Use `uid` instead.") -} - -"""Defines the configurable products to add to the cart.""" -input AddConfigurableProductsToCartInput { - """The ID of the cart.""" - cart_id: String! - """An array of configurable products to add.""" - cart_items: [ConfigurableProductCartItemInput]! -} - -"""Contains details about the cart after adding configurable products.""" -type AddConfigurableProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -input ConfigurableProductCartItemInput { - """The ID and value of the option.""" - customizable_options: [CustomizableOptionInput] - """The quantity and SKU of the configurable product.""" - data: CartItemInput! - """The SKU of the parent configurable product.""" - parent_sku: String - """Deprecated. Use `CartItemInput.sku` instead.""" - variant_sku: String -} - -"""An implementation for configurable product cart items.""" -type ConfigurableCartItem implements CartItemInterface { - """The list of available gift wrapping options for the cart item.""" - available_gift_wrapping: [GiftWrapping]! - """An array containing the configuranle options the shopper selected.""" - configurable_options: [SelectedConfigurableOption]! - """Product details of the cart item.""" - configured_variant: ProductInterface! - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - """The entered gift message for the cart item""" - gift_message: GiftMessage - """The selected gift wrapping for the cart item.""" - gift_wrapping: GiftWrapping - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""Contains details about a selected configurable option.""" -type SelectedConfigurableOption { - """The unique ID for a `ConfigurableProductOptions` object.""" - configurable_product_option_uid: ID! - """The unique ID for a `ConfigurableProductOptionsValues` object.""" - configurable_product_option_value_uid: ID! - id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_uid` instead.") - """The display text for the option.""" - option_label: String! - value_id: Int! @deprecated(reason: "Use `SelectedConfigurableOption.configurable_product_option_value_uid` instead.") - """The display name of the selected configurable option.""" - value_label: String! -} - -"""A configurable product wish list item.""" -type ConfigurableWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """ - The SKU of the simple product corresponding to a set of selected configurable options. - """ - child_sku: String! @deprecated(reason: "Use `ConfigurableWishlistItem.configured_variant.sku` instead.") - """An array of selected configurable options.""" - configurable_options: [SelectedConfigurableOption] - """ - Product details of the selected variant. The value is null if some options are not configured. - """ - configured_variant: ProductInterface - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Contains metadata corresponding to the selected configurable options.""" -type ConfigurableProductOptionsSelection { - """An array of all possible configurable options.""" - configurable_options: [ConfigurableProductOption] - """ - Product images and videos corresponding to the specified configurable options selection. - """ - media_gallery: [MediaGalleryInterface] - """ - The configurable options available for further selection based on the current selection. - """ - options_available_for_selection: [ConfigurableOptionAvailableForSelection] - """ - A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option. - """ - variant: SimpleProduct -} - -""" -Describes configurable options that have been selected and can be selected as a result of the previous selections. -""" -type ConfigurableOptionAvailableForSelection { - """An attribute code that uniquely identifies a configurable option.""" - attribute_code: String! - """An array of selectable option value IDs.""" - option_value_uids: [ID]! -} - -"""Contains details about configurable product options.""" -type ConfigurableProductOption { - """An attribute code that uniquely identifies a configurable option.""" - attribute_code: String! - """The display name of the option.""" - label: String! - """The unique ID of the configurable option.""" - uid: ID! - """An array of values that are applicable for this option.""" - values: [ConfigurableProductOptionValue] -} - -"""Defines a value for a configurable product option.""" -type ConfigurableProductOptionValue { - """Indicates whether the product is available with this selected option.""" - is_available: Boolean! - """Indicates whether the value is the default.""" - is_use_default: Boolean! - """The display name of the value.""" - label: String! - """The URL assigned to the thumbnail of the swatch image.""" - swatch: SwatchDataInterface - """The unique ID of the value.""" - uid: ID! -} - -"""Defines customer requisition lists.""" -type RequisitionLists { - """An array of requisition lists.""" - items: [RequisitionList] - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The number of returned requisition lists.""" - total_count: Int -} - -"""Defines the contents of a requisition list.""" -type RequisitionList { - """Optional text that describes the requisition list.""" - description: String - """An array of products added to the requisition list.""" - items( - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - """The maximum number of results to return. The default value is 1.""" - pageSize: Int = 20 - ): RequistionListItems - """The number of items in the list.""" - items_count: Int! - """The requisition list name.""" - name: String! - """The unique requisition list ID.""" - uid: ID! - """The time of the last modification of the requisition list.""" - updated_at: String -} - -"""Contains an array of items added to a requisition list.""" -type RequistionListItems { - """An array of items in the requisition list.""" - items: [RequisitionListItemInterface]! - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The number of pages returned.""" - total_pages: Int! -} - -"""The interface for requisition list items.""" -interface RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -"""Contains details about simple products added to a requisition list.""" -type SimpleRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -"""Contains details about virtual products added to a requisition list.""" -type VirtualRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -"""An input object that identifies and describes a new requisition list.""" -input CreateRequisitionListInput { - """An optional description of the requisition list.""" - description: String - """The name assigned to the requisition list.""" - name: String! -} - -""" -An input object that defines which requistion list characteristics to update. -""" -input UpdateRequisitionListInput { - """The updated description of the requisition list.""" - description: String - """The new name of the requisition list.""" - name: String! -} - -"""Output of the request to rename the requisition list.""" -type UpdateRequisitionListOutput { - """The renamed requisition list.""" - requisition_list: RequisitionList -} - -"""Defines which items in a requisition list to update.""" -input UpdateRequisitionListItemsInput { - """An array of customer-entered options.""" - entered_options: [EnteredOptionInput] - """The ID of the requisition list item to update.""" - item_id: ID! - """The new quantity of the item.""" - quantity: Float - """An array of selected option IDs.""" - selected_options: [String] -} - -""" -Output of the request to update items in the specified requisition list. -""" -type UpdateRequisitionListItemsOutput { - """The requisition list after updating items.""" - requisition_list: RequisitionList -} - -""" -Indicates whether the request to delete the requisition list was successful. -""" -type DeleteRequisitionListOutput { - """The customer's requisition lists after deleting a requisition list.""" - requisition_lists: RequisitionLists - """ - Indicates whether the request to delete the requisition list was successful. - """ - status: Boolean! -} - -"""Output of the request to add products to a requisition list.""" -type AddProductsToRequisitionListOutput { - """The requisition list after adding products.""" - requisition_list: RequisitionList -} - -"""Output of the request to remove items from the requisition list.""" -type DeleteRequisitionListItemsOutput { - """The requisition list after removing items.""" - requisition_list: RequisitionList -} - -"""Output of the request to add items in a requisition list to the cart.""" -type AddRequisitionListItemsToCartOutput { - """ - Details about why the attempt to add items to the requistion list was not successful. - """ - add_requisition_list_items_to_cart_user_errors: [AddRequisitionListItemToCartUserError]! - """The cart after adding requisition list items.""" - cart: Cart - """ - Indicates whether the attempt to add items to the requisition list was successful. - """ - status: Boolean! -} - -""" -Contains details about why an attempt to add items to the requistion list failed. -""" -type AddRequisitionListItemToCartUserError { - """A description of the error.""" - message: String! - """The type of error that occurred.""" - type: AddRequisitionListItemToCartUserErrorType! -} - -enum AddRequisitionListItemToCartUserErrorType { - OUT_OF_STOCK - UNAVAILABLE_SKU - OPTIONS_UPDATED - LOW_QUANTITY -} - -""" -An input object that defines the items in a requisition list to be copied. -""" -input CopyItemsBetweenRequisitionListsInput { - """ - An array of IDs representing products copied from one requisition list to another. - """ - requisitionListItemUids: [ID]! -} - -""" -Output of the request to copy items to the destination requisition list. -""" -type CopyItemsFromRequisitionListsOutput { - """The destination requisition list after the items were copied.""" - requisition_list: RequisitionList -} - -""" -An input object that defines the items in a requisition list to be moved. -""" -input MoveItemsBetweenRequisitionListsInput { - """ - An array of IDs representing products moved from one requisition list to another. - """ - requisitionListItemUids: [ID]! -} - -"""Output of the request to move items to another requisition list.""" -type MoveItemsBetweenRequisitionListsOutput { - """The destination requisition list after moving items.""" - destination_requisition_list: RequisitionList - """The source requisition list after moving items.""" - source_requisition_list: RequisitionList -} - -"""Defines requisition list filters.""" -input RequisitionListFilterInput { - """Filter by the display name of the requisition list.""" - name: FilterMatchTypeInput - """Filter requisition lists by one or more requisition list IDs.""" - uids: FilterEqualTypeInput -} - -"""Output of the request to create a requisition list.""" -type CreateRequisitionListOutput { - """The created requisition list.""" - requisition_list: RequisitionList -} - -"""Output of the request to clear the customer cart.""" -type ClearCustomerCartOutput { - """The cart after clearing items.""" - cart: Cart - """Indicates whether cart was cleared.""" - status: Boolean! -} - -"""Defines the items to add.""" -input RequisitionListItemsInput { - """Entered option IDs.""" - entered_options: [EnteredOptionInput] - """For configurable products, the SKU of the parent product.""" - parent_sku: String - """The quantity of the product to add.""" - quantity: Float - """Selected option IDs.""" - selected_options: [String] - """The product SKU.""" - sku: String! -} - -input ContactUsInput { - """The shopper's comment to the merchant.""" - comment: String! - """The email address of the shopper.""" - email: String! - """The full name of the shopper.""" - name: String! - """The shopper's telephone number.""" - telephone: String -} - -"""Contains the status of the request.""" -type ContactUsOutput { - """Indicates whether the request was successful.""" - status: Boolean! -} - -""" -Defines the input required to run the `applyStoreCreditToCart` mutation. -""" -input ApplyStoreCreditToCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! -} - -"""Defines the possible output for the `applyStoreCreditToCart` mutation.""" -type ApplyStoreCreditToCartOutput { - """The contents of the specified shopping cart.""" - cart: Cart! -} - -""" -Defines the input required to run the `removeStoreCreditFromCart` mutation. -""" -input RemoveStoreCreditFromCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! -} - -""" -Defines the possible output for the `removeStoreCreditFromCart` mutation. -""" -type RemoveStoreCreditFromCartOutput { - """The contents of the specified shopping cart.""" - cart: Cart! -} - -"""Contains the applied and current balances.""" -type AppliedStoreCredit { - """The applied store credit balance to the current cart.""" - applied_balance: Money - """The current balance remaining on store credit.""" - current_balance: Money - """ - Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned. - """ - enabled: Boolean -} - -"""Contains store credit information with balance and history.""" -type CustomerStoreCredit { - """ - Contains the customer's store credit balance history. If the history or store credit feature is disabled, then a null value will be returned. - """ - balance_history( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """ - The page of results to return. This value is optional. The default is 1. - """ - currentPage: Int = 1 - ): CustomerStoreCreditHistory - """The current balance of store credit.""" - current_balance: Money - """ - Indicates whether store credits are enabled. If the feature is disabled, then the balance will not be returned. - """ - enabled: Boolean -} - -"""Lists changes to the amount of store credit available to the customer.""" -type CustomerStoreCreditHistory { - """ - An array containing information about changes to the store credit available to the customer. - """ - items: [CustomerStoreCreditHistoryItem] - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo - """The number of items returned.""" - total_count: Int -} - -"""Contains store credit history information.""" -type CustomerStoreCreditHistoryItem { - """The action that was made on the store credit.""" - action: String - """ - The store credit available to the customer as a result of this action. - """ - actual_balance: Money - """ - The amount added to or subtracted from the store credit as a result of this action. - """ - balance_change: Money - """The date and time when the store credit change was made.""" - date_time_changed: String -} - -input AddDownloadableProductsToCartInput { - """The ID of the cart.""" - cart_id: String! - """An array of downloadable products to add.""" - cart_items: [DownloadableProductCartItemInput]! -} - -"""Defines a single downloadable product.""" -input DownloadableProductCartItemInput { - """The ID and value of the option.""" - customizable_options: [CustomizableOptionInput] - """The quantity and SKU of the downloadable product.""" - data: CartItemInput! - """ - An array of objects containing the link_id of the downloadable product link. - """ - downloadable_product_links: [DownloadableProductLinksInput] -} - -"""Contains the link ID for the downloadable product.""" -input DownloadableProductLinksInput { - """The unique ID of the downloadable product link.""" - link_id: Int! -} - -"""Contains details about the cart after adding downloadable products.""" -type AddDownloadableProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""An implementation for downloadable product cart items.""" -type DownloadableCartItem implements CartItemInterface { - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """ - An array containing information about the links for the downloadable product added to the cart. - """ - links: [DownloadableProductLinks] - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """ - An array containing information about samples of the selected downloadable product. - """ - samples: [DownloadableProductSamples] - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""Defines a product that the shopper downloads.""" -type DownloadableProduct implements ProductInterface & RoutableInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """ - An array containing information about the links for this downloadable product. - """ - downloadable_product_links: [DownloadableProductLinks] - """ - An array containing information about samples of this downloadable product. - """ - downloadable_product_samples: [DownloadableProductSamples] - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """ - A value of 1 indicates that each link in the array must be purchased separately. - """ - links_purchased_separately: Int - """The heading above the list of downloadable products.""" - links_title: String - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") -} - -enum DownloadableFileTypeEnum { - FILE @deprecated(reason: "`sample_url` serves to get the downloadable sample") - URL @deprecated(reason: "`sample_url` serves to get the downloadable sample") -} - -"""Defines characteristics of a downloadable product.""" -type DownloadableProductLinks { - id: Int @deprecated(reason: "This information should not be exposed on frontend.") - is_shareable: Boolean @deprecated(reason: "This information should not be exposed on frontend.") - link_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") - number_of_downloads: Int @deprecated(reason: "This information should not be exposed on frontend.") - """The price of the downloadable product.""" - price: Float - sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") - sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") - """The full URL to the downloadable sample.""" - sample_url: String - """A number indicating the sort order.""" - sort_order: Int - """The display name of the link.""" - title: String - """The unique ID for a `DownloadableProductLinks` object.""" - uid: ID! -} - -"""Defines characteristics of a downloadable product.""" -type DownloadableProductSamples { - id: Int @deprecated(reason: "This information should not be exposed on frontend.") - sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample") - sample_type: DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") - """The full URL to the downloadable sample.""" - sample_url: String - """A number indicating the sort order.""" - sort_order: Int - """The display name of the sample.""" - title: String -} - -"""Defines downloadable product options for `OrderItemInterface`.""" -type DownloadableOrderItem implements OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - A list of downloadable links that are ordered from the downloadable product. - """ - downloadable_links: [DownloadableItemsLinks] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Defines downloadable product options for `InvoiceItemInterface`.""" -type DownloadableInvoiceItem implements InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """ - A list of downloadable links that are invoiced from the downloadable product. - """ - downloadable_links: [DownloadableItemsLinks] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -"""Defines downloadable product options for `CreditMemoItemInterface`.""" -type DownloadableCreditMemoItem implements CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """ - A list of downloadable links that are refunded from the downloadable product. - """ - downloadable_links: [DownloadableItemsLinks] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -"""Defines characteristics of the links for downloadable product.""" -type DownloadableItemsLinks { - """A number indicating the sort order.""" - sort_order: Int - """The display name of the link.""" - title: String - """The unique ID for a `DownloadableItemsLinks` object.""" - uid: ID! -} - -"""A downloadable product wish list item.""" -type DownloadableWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """An array containing information about the selected links.""" - links_v2: [DownloadableProductLinks] - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! - """An array containing information about the selected samples.""" - samples: [DownloadableProductSamples] -} - -"""Contains the output schema for a company.""" -type Company { - """The list of all resources defined within the company.""" - acl_resources: [CompanyAclResource] - """An object containing information about the company administrator.""" - company_admin: Customer - """Company credit balances and limits.""" - credit: CompanyCredit! - """Details about the history of company credit operations.""" - credit_history(filter: CompanyCreditHistoryFilterInput, pageSize: Int = 20, currentPage: Int = 1): CompanyCreditHistory! - """The email address of the company contact.""" - email: String - """The unique ID of a `Company` object.""" - id: ID! - """The address where the company is registered to conduct business.""" - legal_address: CompanyLegalAddress - """The full legal name of the company.""" - legal_name: String - """The name of the company.""" - name: String - """The list of payment methods available to a company.""" - payment_methods: [String] - """ - The resale number that is assigned to the company for tax reporting purposes. - """ - reseller_id: String - """A company role filtered by the unique ID of a `CompanyRole` object.""" - role(id: ID!): CompanyRole - """An object that contains a list of company roles.""" - roles( - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1""" - currentPage: Int = 1 - ): CompanyRoles! - """ - An object containing information about the company sales representative. - """ - sales_representative: CompanySalesRepresentative - """The company structure of teams and customers in depth-first order.""" - structure( - """ - The ID of the node in the company structure that serves as the root for the query. - """ - rootId: ID - """The maximum depth that can be reached when listing structure nodes.""" - depth: Int = 10 - ): CompanyStructure - """ - The company team data filtered by the unique ID for a `CompanyTeam` object. - """ - team(id: ID!): CompanyTeam - """A company user filtered by the unique ID of a `Customer` object.""" - user(id: ID!): Customer - """ - An object that contains a list of company users based on activity status. - """ - users( - """The type of company users to return.""" - filter: CompanyUsersFilterInput - """ - The maximum number of results to return at once. The default value is 20. - """ - pageSize: Int = 20 - """The page of results to return. The default value is 1.""" - currentPage: Int = 1 - ): CompanyUsers - """ - The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. - """ - vat_tax_id: String -} - -""" -Contains details about the address where the company is registered to conduct business. -""" -type CompanyLegalAddress { - """The city where the company is registered to conduct business.""" - city: String - """The country code of the company's legal address.""" - country_code: CountryCodeEnum - """The company's postal code.""" - postcode: String - """An object containing region data for the company.""" - region: CustomerAddressRegion - """An array of strings that define the company's street address.""" - street: [String] - """The company's phone number.""" - telephone: String -} - -"""Contains details about the company administrator.""" -type CompanyAdmin { - """The email address of the company administrator.""" - email: String - """The company administrator's first name.""" - firstname: String - """ - The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). - """ - gender: Int - """The unique ID for a `CompanyAdmin` object.""" - id: ID! - """The job title of the company administrator.""" - job_title: String - """The company administrator's last name.""" - lastname: String -} - -"""Contains details about a company sales representative.""" -type CompanySalesRepresentative { - """The email address of the company sales representative.""" - email: String - """The company sales representative's first name.""" - firstname: String - """The company sales representative's last name.""" - lastname: String -} - -"""Contains details about company users.""" -type CompanyUsers { - """ - An array of `CompanyUser` objects that match the specified filter criteria. - """ - items: [Customer]! - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The number of objects returned.""" - total_count: Int! -} - -"""Contains an array of roles.""" -type CompanyRoles { - """A list of company roles that match the specified filter criteria.""" - items: [CompanyRole]! - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The total number of objects matching the specified filter.""" - total_count: Int! -} - -"""Contails details about a single role.""" -type CompanyRole { - """The unique ID for a `CompanyRole` object.""" - id: ID! - """The name assigned to the role.""" - name: String - """A list of permission resources defined for a role.""" - permissions: [CompanyAclResource] - """The total number of users assigned the specified role.""" - users_count: Int -} - -"""Contains details about the access control list settings of a resource.""" -type CompanyAclResource { - """An array of sub-resources.""" - children: [CompanyAclResource] - """The unique ID for a `CompanyAclResource` object.""" - id: ID! - """The sort order of an ACL resource.""" - sort_order: Int - """The label assigned to the ACL resource.""" - text: String -} - -"""Contains the response of a role name validation query.""" -type IsCompanyRoleNameAvailableOutput { - """Indicates whether the specified company role name is available.""" - is_role_name_available: Boolean! -} - -"""Contains the response of a company user email validation query.""" -type IsCompanyUserEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a company user. - """ - is_email_available: Boolean! -} - -"""Contains the response of a company admin email validation query.""" -type IsCompanyAdminEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a company administrator. - """ - is_email_available: Boolean! -} - -"""Contains the response of a company email validation query.""" -type IsCompanyEmailAvailableOutput { - """ - Indicates whether the specified email address can be used to create a company. - """ - is_email_available: Boolean! -} - -union CompanyStructureEntity = CompanyTeam | Customer - -""" -Contains an array of the individual nodes that comprise the company structure. -""" -type CompanyStructure { - """An array of elements in a company structure.""" - items: [CompanyStructureItem] -} - -"""Describes a company team.""" -type CompanyTeam { - """An optional description of the team.""" - description: String - """The unique ID for a `CompanyTeam` object.""" - id: ID! - """The display name of the team.""" - name: String - """ID of the company structure""" - structure_id: ID! -} - -"""Defines the filter for returning a list of company users.""" -input CompanyUsersFilterInput { - """The activity status to filter on.""" - status: CompanyUserStatusEnum -} - -"""Defines the list of company user status values.""" -enum CompanyUserStatusEnum { - """Only active users.""" - ACTIVE - """Only inactive users.""" - INACTIVE -} - -"""Contains the response to the request to create a company team.""" -type CreateCompanyTeamOutput { - """The new company team instance.""" - team: CompanyTeam! -} - -"""Contains the response to the request to update a company team.""" -type UpdateCompanyTeamOutput { - """The updated company team instance.""" - team: CompanyTeam! -} - -"""Contains the status of the request to delete a company team.""" -type DeleteCompanyTeamOutput { - """Indicates whether the delete operation succeeded.""" - success: Boolean! -} - -"""Defines the input schema for creating a company team.""" -input CompanyTeamCreateInput { - """An optional description of the team.""" - description: String - """The display name of the team.""" - name: String! - """ - The ID of a node within a company's structure. This ID will be the parent of the created team. - """ - target_id: ID -} - -"""Defines the input schema for updating a company team.""" -input CompanyTeamUpdateInput { - """An optional description of the team.""" - description: String - """The unique ID of the `CompanyTeam` object to update.""" - id: ID! - """The display name of the team.""" - name: String -} - -"""Contains the response to the request to update the company structure.""" -type UpdateCompanyStructureOutput { - """The updated company instance.""" - company: Company! -} - -"""Defines the input schema for updating the company structure.""" -input CompanyStructureUpdateInput { - """The ID of a company that will be the new parent.""" - parent_tree_id: ID! - """The ID of the company team that is being moved to another parent.""" - tree_id: ID! -} - -"""Contains the response to the request to create a company.""" -type CreateCompanyOutput { - """The new company instance.""" - company: Company! -} - -"""Contains the response to the request to update the company.""" -type UpdateCompanyOutput { - """The updated company instance.""" - company: Company! -} - -"""Contains the response to the request to create a company user.""" -type CreateCompanyUserOutput { - """The new company user instance.""" - user: Customer! -} - -"""Contains the response to the request to update the company user.""" -type UpdateCompanyUserOutput { - """The updated company user instance.""" - user: Customer! -} - -"""Contains the response to the request to delete the company user.""" -type DeleteCompanyUserOutput { - """Indicates whether the company user has been deactivated successfully.""" - success: Boolean! -} - -"""Contains the response to the request to create a company role.""" -type CreateCompanyRoleOutput { - """The new company role instance.""" - role: CompanyRole! -} - -"""Contains the response to the request to update the company role.""" -type UpdateCompanyRoleOutput { - """The updated company role instance.""" - role: CompanyRole! -} - -"""Contains the response to the request to delete the company role.""" -type DeleteCompanyRoleOutput { - """SIndicates whether the company role has been deleted successfully.""" - success: Boolean! -} - -"""Defines the input schema for creating a new company.""" -input CompanyCreateInput { - """Defines the company administrator.""" - company_admin: CompanyAdminInput! - """The email address of the company contact.""" - company_email: String! - """The name of the company to create.""" - company_name: String! - """Defines legal address data of the company.""" - legal_address: CompanyLegalAddressCreateInput! - """The full legal name of the company.""" - legal_name: String - """ - The resale number that is assigned to the company for tax reporting purposes. - """ - reseller_id: String - """ - The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. - """ - vat_tax_id: String -} - -"""Defines the input schema for creating a company administrator.""" -input CompanyAdminInput { - """The company administrator's custom attributes.""" - custom_attributes: [AttributeValueInput] - """The email address of the company administrator.""" - email: String! - """The company administrator's first name.""" - firstname: String! - """ - The company administrator's gender (Male - 1, Female - 2, Not Specified - 3). - """ - gender: Int - """The job title of the company administrator.""" - job_title: String - """The company administrator's last name.""" - lastname: String! - """The phone number of the company administrator.""" - telephone: String -} - -"""Defines the input schema for defining a company's legal address.""" -input CompanyLegalAddressCreateInput { - """The city where the company is registered to conduct business.""" - city: String! - """The company's country ID. Use the `countries` query to get this value.""" - country_id: CountryCodeEnum! - """The postal code of the company.""" - postcode: String! - """ - An object containing the region name and/or region ID where the company is registered to conduct business. - """ - region: CustomerAddressRegionInput! - """ - An array of strings that define the street address where the company is registered to conduct business. - """ - street: [String]! - """The primary phone number of the company.""" - telephone: String! -} - -"""Defines the input schema for updating a company.""" -input CompanyUpdateInput { - """The email address of the company contact.""" - company_email: String - """The name of the company to update.""" - company_name: String - """The legal address data of the company.""" - legal_address: CompanyLegalAddressUpdateInput - """The full legal name of the company.""" - legal_name: String - """ - The resale number that is assigned to the company for tax reporting purposes. - """ - reseller_id: String - """ - The value-added tax number that is assigned to the company by some jurisdictions for tax reporting purposes. - """ - vat_tax_id: String -} - -"""Defines the input schema for updating a company's legal address.""" -input CompanyLegalAddressUpdateInput { - """The city where the company is registered to conduct business.""" - city: String - """The unique ID for a `Country` object.""" - country_id: CountryCodeEnum - """The postal code of the company.""" - postcode: String - """ - An object containing the region name and/or region ID where the company is registered to conduct business. - """ - region: CustomerAddressRegionInput - """ - An array of strings that define the street address where the company is registered to conduct business. - """ - street: [String] - """The primary phone number of the company.""" - telephone: String -} - -"""Defines the input schema for creating a company user.""" -input CompanyUserCreateInput { - """The company user's email address""" - email: String! - """The company user's first name.""" - firstname: String! - """The company user's job title or function.""" - job_title: String! - """The company user's last name.""" - lastname: String! - """The unique ID for a `CompanyRole` object.""" - role_id: ID! - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum! - """ - The ID of a node within a company's structure. This ID will be the parent of the created company user. - """ - target_id: ID - """The company user's phone number.""" - telephone: String! -} - -"""Defines the input schema for updating a company user.""" -input CompanyUserUpdateInput { - """The company user's email address.""" - email: String - """The company user's first name.""" - firstname: String - """The unique ID of a `Customer` object.""" - id: ID! - """The company user's job title or function.""" - job_title: String - """The company user's last name.""" - lastname: String - """The unique ID for a `CompanyRole` object.""" - role_id: ID - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum - """The company user's phone number.""" - telephone: String -} - -"""Defines the input schema for creating a company role.""" -input CompanyRoleCreateInput { - """The name of the role to create.""" - name: String! - """A list of resources the role can access.""" - permissions: [String]! -} - -"""Defines the input schema for updating a company role.""" -input CompanyRoleUpdateInput { - """The unique ID for a `CompanyRole` object.""" - id: ID! - """The name of the role to update.""" - name: String - """A list of resources the role can access.""" - permissions: [String] -} - -""" -Defines the input for returning matching companies the customer is assigned to. -""" -input UserCompaniesInput { - """Specifies which page of results to return. The default value is 1.""" - currentPage: Int - """ - Specifies the maximum number of results to return at once. This attribute is optional. - """ - pageSize: Int - """Defines the sorting of the results.""" - sort: [CompaniesSortInput] -} - -"""An object that contains a list of companies customer is assigned to.""" -type UserCompaniesOutput { - """An array of companies customer is assigned to.""" - items: [CompanyBasicInfo]! - """Provides navigation for the query response.""" - page_info: SearchResultPageInfo! -} - -""" -Specifies which field to sort on, and whether to return the results in ascending or descending order. -""" -input CompaniesSortInput { - """The field for sorting the results.""" - field: CompaniesSortFieldEnum! - """Indicates whether to return results in ascending or descending order.""" - order: SortEnum! -} - -"""The fields available for sorting the customer companies.""" -enum CompaniesSortFieldEnum { - """The name of the company.""" - NAME -} - -"""The minimal required information to identify and display the company.""" -type CompanyBasicInfo { - """The unique ID of a `Company` object.""" - id: ID! - """The full legal name of the company.""" - legal_name: String - """The name of the company.""" - name: String -} - -"""Defines the input schema for accepting the company invitation.""" -input CompanyInvitationInput { - """The invitation code.""" - code: String! - """The company role id.""" - role_id: ID - """Company user attributes in the invitation.""" - user: CompanyInvitationUserInput! -} - -"""Company user attributes in the invitation.""" -input CompanyInvitationUserInput { - """The company unique identifier.""" - company_id: ID! - """The customer unique identifier.""" - customer_id: ID! - """The job title of a company user.""" - job_title: String - """Indicates whether the company user is ACTIVE or INACTIVE.""" - status: CompanyUserStatusEnum - """The phone number of the company user.""" - telephone: String -} - -"""The result of accepting the company invitation.""" -type CompanyInvitationOutput { - """Indicates whether the customer was added to the company successfully.""" - success: Boolean -} - -"""Defines an individual node in the company structure.""" -type CompanyStructureItem { - """A union of `CompanyTeam` and `Customer` objects.""" - entity: CompanyStructureEntity - """The unique ID for a `CompanyStructureItem` object.""" - id: ID! - """The ID of the parent item in the company hierarchy.""" - parent_id: ID -} - -"""Contains a single dynamic block.""" -type DynamicBlock { - """The renderable HTML code of the dynamic block.""" - content: ComplexTextValue! - """The unique ID of a `DynamicBlock` object.""" - uid: ID! -} - -"""Contains an array of dynamic blocks.""" -type DynamicBlocks { - """An array containing individual dynamic blocks.""" - items: [DynamicBlock]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo - """The number of returned dynamic blocks.""" - total_count: Int! -} - -""" -Defines the dynamic block filter. The filter can identify the block type, location and IDs to return. -""" -input DynamicBlocksFilterInput { - """The unique ID that identifies the customer's cart""" - cart_id: String - """An array of dynamic block UIDs to filter on.""" - dynamic_block_uids: [ID] - """An array indicating the locations the dynamic block can be placed.""" - locations: [DynamicBlockLocationEnum] - """The unique ID of the product currently viewed""" - product_uid: ID - """A value indicating the type of dynamic block to filter on.""" - type: DynamicBlockTypeEnum! -} - -"""Indicates the selected Dynamic Blocks Rotator inline widget.""" -enum DynamicBlockTypeEnum { - SPECIFIED - CART_PRICE_RULE_RELATED - CATALOG_PRICE_RULE_RELATED -} - -""" -Indicates the locations the dynamic block can be placed. If this field is not specified, the query returns all locations. -""" -enum DynamicBlockLocationEnum { - CONTENT - HEADER - FOOTER - LEFT - RIGHT -} - -type Currency { - """ - An array of three-letter currency codes accepted by the store, such as USD and EUR. - """ - available_currency_codes: [String] - """The base currency set for the store, such as USD.""" - base_currency_code: String - """The symbol for the specified base currency, such as $.""" - base_currency_symbol: String - default_display_currecy_code: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") - default_display_currecy_symbol: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.") - """The currency that is displayed by default, such as USD.""" - default_display_currency_code: String - """The currency symbol that is displayed by default, such as $.""" - default_display_currency_symbol: String - """An array of exchange rates for currencies defined in the store.""" - exchange_rates: [ExchangeRate] -} - -"""Lists the exchange rate.""" -type ExchangeRate { - """Specifies the store’s default currency to exchange to.""" - currency_to: String - """The exchange rate for the store’s default currency.""" - rate: Float -} - -type Country { - """An array of regions within a particular country.""" - available_regions: [Region] - """The name of the country in English.""" - full_name_english: String - """The name of the country in the current locale.""" - full_name_locale: String - """The unique ID for a `Country` object.""" - id: String - """The three-letter abbreviation of the country, such as USA.""" - three_letter_abbreviation: String - """The two-letter abbreviation of the country, such as US.""" - two_letter_abbreviation: String -} - -type Region { - """The two-letter code for the region, such as TX for Texas.""" - code: String - """The unique ID for a `Region` object.""" - id: Int - """The name of the region, such as Texas.""" - name: String -} - -"""Contains a list of downloadable products.""" -type CustomerDownloadableProducts { - """An array of purchased downloadable items.""" - items: [CustomerDownloadableProduct] -} - -"""Contains details about a single downloadable product.""" -type CustomerDownloadableProduct { - """The date and time the purchase was made.""" - date: String - """The fully qualified URL to the download file.""" - download_url: String - """The unique ID assigned to the item.""" - order_increment_id: String - """The remaining number of times the customer can download the product.""" - remaining_downloads: String - """ - Indicates when the product becomes available for download. Options are `Pending` and `Invoiced`. - """ - status: String -} - -""" -Contains details about downloadable products added to a requisition list. -""" -type DownloadableRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """An array of links for downloadable products in the requisition list.""" - links: [DownloadableProductLinks] - """Details about a requisition list item.""" - product: ProductInterface! - """The quantity of the product added to the requisition list.""" - quantity: Float! - """An array of links to downloadable product samples.""" - samples: [DownloadableProductSamples] - """The unique ID of an item in a requisition list.""" - uid: ID! -} - -"""Defines the bundle products to add to the cart.""" -input AddBundleProductsToCartInput { - """The ID of the cart.""" - cart_id: String! - """An array of bundle products to add.""" - cart_items: [BundleProductCartItemInput]! -} - -"""Defines a single bundle product.""" -input BundleProductCartItemInput { - """ - A mandatory array of options for the bundle product, including each chosen option and specified quantity. - """ - bundle_options: [BundleOptionInput]! - """The ID and value of the option.""" - customizable_options: [CustomizableOptionInput] - """The quantity and SKU of the bundle product.""" - data: CartItemInput! -} - -"""Defines the input for a bundle option.""" -input BundleOptionInput { - """The ID of the option.""" - id: Int! - """The number of the selected item to add to the cart.""" - quantity: Float! - """An array with the chosen value of the option.""" - value: [String]! -} - -"""Contains details about the cart after adding bundle products.""" -type AddBundleProductsToCartOutput { - """The cart after adding products.""" - cart: Cart! -} - -"""An implementation for bundle product cart items.""" -type BundleCartItem implements CartItemInterface { - """The list of available gift wrapping options for the cart item.""" - available_gift_wrapping: [GiftWrapping]! - """An array containing the bundle options the shopper selected.""" - bundle_options: [SelectedBundleOption]! - """An array containing the customizable options the shopper selected.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - """The entered gift message for the cart item""" - gift_message: GiftMessage - """The selected gift wrapping for the cart item.""" - gift_wrapping: GiftWrapping - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""Contains details about a selected bundle option.""" -type SelectedBundleOption { - id: Int! @deprecated(reason: "Use `uid` instead") - """The display name of the selected bundle product option.""" - label: String! - """The type of selected bundle product option.""" - type: String! - """The unique ID for a `SelectedBundleOption` object""" - uid: ID! - """An array of selected bundle option values.""" - values: [SelectedBundleOptionValue]! -} - -"""Contains details about a value for a selected bundle option.""" -type SelectedBundleOptionValue { - """Use `uid` instead""" - id: Int! - """The display name of the value for the selected bundle product option.""" - label: String! - """The price of the value for the selected bundle product option.""" - price: Float! - """The quantity of the value for the selected bundle product option.""" - quantity: Float! - """The unique ID for a `SelectedBundleOptionValue` object""" - uid: ID! -} - -""" -Can be used to retrieve the main price details in case of bundle product -""" -type PriceDetails { - """The percentage of discount applied to the main product price""" - discount_percentage: Float - """The final price after applying the discount to the main product""" - main_final_price: Float - """The regular price of the main product""" - main_price: Float -} - -"""Defines an individual item within a bundle product.""" -type BundleItem { - """An ID assigned to each type of item in a bundle product.""" - option_id: Int @deprecated(reason: "Use `uid` instead") - """An array of additional options for this bundle item.""" - options: [BundleItemOption] - """ - A number indicating the sequence order of this item compared to the other bundle items. - """ - position: Int - """The range of prices for the product""" - price_range: PriceRange! - """Indicates whether the item must be included in the bundle.""" - required: Boolean - """The SKU of the bundle product.""" - sku: String - """The display name of the item.""" - title: String - """ - The input type that the customer uses to select the item. Examples include radio button and checkbox. - """ - type: String - """The unique ID for a `BundleItem` object.""" - uid: ID -} - -""" -Defines the characteristics that comprise a specific bundle item and its options. -""" -type BundleItemOption { - """ - Indicates whether the customer can change the number of items for this option. - """ - can_change_quantity: Boolean - """The ID assigned to the bundled item option.""" - id: Int @deprecated(reason: "Use `uid` instead") - """Indicates whether this option is the default option.""" - is_default: Boolean - """The text that identifies the bundled item option.""" - label: String - """ - When a bundle item contains multiple options, the relative position of this option compared to the other options. - """ - position: Int - """The price of the selected option.""" - price: Float - """One of FIXED, PERCENT, or DYNAMIC.""" - price_type: PriceTypeEnum - """Contains details about this product option.""" - product: ProductInterface - """Indicates the quantity of this specific bundle item.""" - qty: Float @deprecated(reason: "Use `quantity` instead.") - """The quantity of this specific bundle item.""" - quantity: Float - """The unique ID for a `BundleItemOption` object.""" - uid: ID! -} - -""" -Defines basic features of a bundle product and contains multiple BundleItems. -""" -type BundleProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface & CustomizableProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether the bundle product has a dynamic price.""" - dynamic_price: Boolean - """Indicates whether the bundle product has a dynamic SKU.""" - dynamic_sku: Boolean - """ - Indicates whether the bundle product has a dynamically calculated weight. - """ - dynamic_weight: Boolean - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """An array containing information about individual bundle items.""" - items: [BundleItem] - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The price details of the main product""" - price_details: PriceDetails - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """One of PRICE_RANGE or AS_LOW_AS.""" - price_view: PriceViewEnum - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """Indicates whether to ship bundle items together or individually.""" - ship_bundle_items: ShipBundleItemsEnum - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -""" -Defines whether a bundle product's price is displayed as the lowest possible value or as a range. -""" -enum PriceViewEnum { - PRICE_RANGE - AS_LOW_AS -} - -"""Defines whether bundle items must be shipped together.""" -enum ShipBundleItemsEnum { - TOGETHER - SEPARATELY -} - -"""Defines bundle product options for `OrderItemInterface`.""" -type BundleOrderItem implements OrderItemInterface { - """A list of bundle options that are assigned to the bundle product.""" - bundle_options: [ItemSelectedBundleOption] - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Defines bundle product options for `InvoiceItemInterface`.""" -type BundleInvoiceItem implements InvoiceItemInterface { - """ - A list of bundle options that are assigned to an invoiced bundle product. - """ - bundle_options: [ItemSelectedBundleOption] - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -"""Defines bundle product options for `ShipmentItemInterface`.""" -type BundleShipmentItem implements ShipmentItemInterface { - """A list of bundle options that are assigned to a shipped product.""" - bundle_options: [ItemSelectedBundleOption] - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -"""Defines bundle product options for `CreditMemoItemInterface`.""" -type BundleCreditMemoItem implements CreditMemoItemInterface { - """ - A list of bundle options that are assigned to a bundle product that is part of a credit memo. - """ - bundle_options: [ItemSelectedBundleOption] - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -"""A list of options of the selected bundle product.""" -type ItemSelectedBundleOption { - """The unique ID for a `ItemSelectedBundleOption` object.""" - id: ID! @deprecated(reason: "Use `uid` instead.") - """The label of the option.""" - label: String! - """The unique ID for a `ItemSelectedBundleOption` object.""" - uid: ID! - """A list of products that represent the values of the parent option.""" - values: [ItemSelectedBundleOptionValue] -} - -"""A list of values for the selected bundle product.""" -type ItemSelectedBundleOptionValue { - """The unique ID for a `ItemSelectedBundleOptionValue` object.""" - id: ID! @deprecated(reason: "Use `uid` instead.") - """The price of the child bundle product.""" - price: Money! - """The name of the child bundle product.""" - product_name: String! - """The SKU of the child bundle product.""" - product_sku: String! - """The number of this bundle product that were ordered.""" - quantity: Float! - """The unique ID for a `ItemSelectedBundleOptionValue` object.""" - uid: ID! -} - -"""Defines bundle product options for `WishlistItemInterface`.""" -type BundleWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """An array containing information about the selected bundle items.""" - bundle_options: [SelectedBundleOption] - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -type ProductAttributeMetadata implements AttributeMetadataInterface { - """An array of attribute labels defined for the current store.""" - attribute_labels: [StoreLabels] - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: String - """The data type of the attribute.""" - data_type: ObjectDataTypeEnum - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum - """Indicates whether the attribute is a system attribute.""" - is_system: Boolean - """The label assigned to the attribute.""" - label: String - """The relative position of the attribute.""" - sort_order: Int - """Frontend UI properties of the attribute.""" - ui_input: UiInputTypeInterface - """The unique ID of an attribute.""" - uid: ID - """Places in the store front where the attribute is used.""" - used_in_components: [CustomAttributesListsEnum] -} - -enum CustomAttributesListsEnum { - PRODUCT_DETAILS_PAGE - PRODUCTS_LISTING - PRODUCTS_COMPARE - PRODUCT_SORT - PRODUCT_FILTER - PRODUCT_SEARCH_RESULTS_FILTER - ADVANCED_CATALOG_SEARCH -} - -"""Defines the input required to run the `applyGiftCardToCart` mutation.""" -input ApplyGiftCardToCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! - """The gift card code to be applied to the cart.""" - gift_card_code: String! -} - -"""Defines the possible output for the `applyGiftCardToCart` mutation.""" -type ApplyGiftCardToCartOutput { - """Describes the contents of the specified shopping cart.""" - cart: Cart! -} - -""" -Defines the input required to run the `removeGiftCardFromCart` mutation. -""" -input RemoveGiftCardFromCartInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! - """The gift card code to be removed to the cart.""" - gift_card_code: String! -} - -"""Defines the possible output for the `removeGiftCardFromCart` mutation.""" -type RemoveGiftCardFromCartOutput { - """The contents of the specified shopping cart.""" - cart: Cart! -} - -"""Contains an applied gift card with applied and remaining balance.""" -type AppliedGiftCard { - """The amount applied to the current cart.""" - applied_balance: Money - """The gift card account code.""" - code: String - """The remaining balance on the gift card.""" - current_balance: Money - """The expiration date of the gift card.""" - expiration_date: String -} - -"""Contains the gift card code.""" -input GiftCardAccountInput { - """The applied gift card code.""" - gift_card_code: String! -} - -"""Contains details about the gift card account.""" -type GiftCardAccount { - """The balance remaining on the gift card.""" - balance: Money - """The gift card account code.""" - code: String - """The expiration date of the gift card.""" - expiration_date: String -} - -""" -Contains details about the sales total amounts used to calculate the final price. -""" -type OrderTotal { - """The final base grand total amount in the base currency.""" - base_grand_total: Money! - """The applied discounts to the order.""" - discounts: [Discount] - """The final total amount, including shipping, discounts, and taxes.""" - grand_total: Money! - """Details about the shipping and handling costs for the order.""" - shipping_handling: ShippingHandling - """The subtotal of the order, excluding shipping, discounts, and taxes.""" - subtotal: Money! - """The order tax details.""" - taxes: [TaxItem] - """The gift card balance applied to the order.""" - total_giftcard: Money - """The shipping amount for the order.""" - total_shipping: Money! - """The amount of tax applied to the order.""" - total_tax: Money! -} - -"""Deprecated: Use the `Wishlist` type instead.""" -type WishlistOutput { - """An array of items in the customer's wish list""" - items: [WishlistItem] @deprecated(reason: "Use the `Wishlist.items` field instead.") - """The number of items in the wish list.""" - items_count: Int @deprecated(reason: "Use the `Wishlist.items_count` field instead.") - """ - When multiple wish lists are enabled, the name the customer assigns to the wishlist. - """ - name: String @deprecated(reason: "This field is related to Commerce functionality and is always `null` in Open Source.") - """An encrypted code that links to the wish list.""" - sharing_code: String @deprecated(reason: "Use the `Wishlist.sharing_code` field instead.") - """The time of the last modification to the wish list.""" - updated_at: String @deprecated(reason: "Use the `Wishlist.updated_at` field instead.") -} - -"""Contains a customer wish list.""" -type Wishlist { - """The unique ID for a `Wishlist` object.""" - id: ID - items: [WishlistItem] @deprecated(reason: "Use the `items_v2` field instead.") - """The number of items in the wish list.""" - items_count: Int - """An array of items in the customer's wish list.""" - items_v2(currentPage: Int = 1, pageSize: Int = 20): WishlistItems - """The name of the wish list.""" - name: String - """An encrypted code that Magento uses to link to the wish list.""" - sharing_code: String - """The time of the last modification to the wish list.""" - updated_at: String - """Indicates whether the wish list is public or private.""" - visibility: WishlistVisibilityEnum! -} - -"""The interface for wish list items.""" -interface WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -"""Contains an array of items in a wish list.""" -type WishlistItems { - """A list of items in the wish list.""" - items: [WishlistItemInterface]! - """Contains pagination metadata.""" - page_info: SearchResultPageInfo -} - -"""Contains details about a wish list item.""" -type WishlistItem { - """The time when the customer added the item to the wish list.""" - added_at: String - """The customer's comment about this item.""" - description: String - """The unique ID for a `WishlistItem` object.""" - id: Int - """Details about the wish list item.""" - product: ProductInterface - """The quantity of this wish list item""" - qty: Float -} - -"""Contains the resultant wish list and any error information.""" -type AddWishlistItemsToCartOutput { - """ - An array of errors encountered while adding products to the customer's cart. - """ - add_wishlist_items_to_cart_user_errors: [WishlistCartUserInputError]! - """ - Indicates whether the attempt to add items to the customer's cart was successful. - """ - status: Boolean! - """Contains the wish list with all items that were successfully added.""" - wishlist: Wishlist! -} - -""" -Contains details about errors encountered when a customer added wish list items to the cart. -""" -type WishlistCartUserInputError { - """An error code that describes the error encountered.""" - code: WishlistCartUserInputErrorType! - """A localized error message.""" - message: String! - """The unique ID of the `Wishlist` object containing an error.""" - wishlistId: ID! - """The unique ID of the wish list item containing an error.""" - wishlistItemId: ID! -} - -"""A list of possible error types.""" -enum WishlistCartUserInputErrorType { - PRODUCT_NOT_FOUND - NOT_SALABLE - INSUFFICIENT_STOCK - UNDEFINED -} - -"""Defines the items to add to a wish list.""" -input WishlistItemInput { - """An array of options that the customer entered.""" - entered_options: [EnteredOptionInput] - """For complex product types, the SKU of the parent product.""" - parent_sku: String - """The amount or number of items to add.""" - quantity: Float! - """An array of strings corresponding to options the customer selected.""" - selected_options: [ID] - """ - The SKU of the product to add. For complex product types, specify the child product SKU. - """ - sku: String! -} - -"""Contains the customer's wish list and any errors encountered.""" -type AddProductsToWishlistOutput { - """An array of errors encountered while adding products to a wish list.""" - user_errors: [WishListUserInputError]! - """Contains the wish list with all items that were successfully added.""" - wishlist: Wishlist! -} - -"""Contains the customer's wish list and any errors encountered.""" -type RemoveProductsFromWishlistOutput { - """ - An array of errors encountered while deleting products from a wish list. - """ - user_errors: [WishListUserInputError]! - """Contains the wish list with after items were successfully deleted.""" - wishlist: Wishlist! -} - -"""Defines updates to items in a wish list.""" -input WishlistItemUpdateInput { - """Customer-entered comments about the item.""" - description: String - """An array of options that the customer entered.""" - entered_options: [EnteredOptionInput] - """The new amount or number of this item.""" - quantity: Float - """An array of strings corresponding to options the customer selected.""" - selected_options: [ID] - """The unique ID for a `WishlistItemInterface` object.""" - wishlist_item_id: ID! -} - -"""Contains the customer's wish list and any errors encountered.""" -type UpdateProductsInWishlistOutput { - """An array of errors encountered while updating products in a wish list.""" - user_errors: [WishListUserInputError]! - """Contains the wish list with all items that were successfully updated.""" - wishlist: Wishlist! -} - -"""An error encountered while performing operations with WishList.""" -type WishListUserInputError { - """A wish list-specific error code.""" - code: WishListUserInputErrorType! - """A localized error message.""" - message: String! -} - -"""A list of possible error types.""" -enum WishListUserInputErrorType { - PRODUCT_NOT_FOUND - UNDEFINED -} - -"""Defines properties of a gift card.""" -type GiftCardProduct implements ProductInterface & PhysicalProductInterface & CustomizableProductInterface & RoutableInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """ - Indicates whether the customer can provide a message to accompany the gift card. - """ - allow_message: Boolean - """ - Indicates whether shoppers have the ability to set the value of the gift card. - """ - allow_open_amount: Boolean - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of customizable gift card options.""" - gift_card_options: [CustomizableOptionInterface]! - """Indicates whether a gift message is available.""" - gift_message_available: String - """ - An array that contains information about the values and ID of a gift card. - """ - giftcard_amounts: [GiftCardAmounts] - """An enumeration that specifies the type of gift card.""" - giftcard_type: GiftCardTypeEnum - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """ - Indicates whether the customer can redeem the value on the card for cash. - """ - is_redeemable: Boolean - """Indicates whether the product can be returned.""" - is_returnable: String - """ - The number of days after purchase until the gift card expires. A null value means there is no limit. - """ - lifetime: Int - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """The maximum number of characters the gift message can contain.""" - message_max_length: Int - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """The maximum acceptable value of an open amount gift card.""" - open_amount_max: Float - """The minimum acceptable value of an open amount gift card.""" - open_amount_min: Float - """An array of options for a customizable product.""" - options: [CustomizableOptionInterface] - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -""" -Contains the value of a gift card, the website that generated the card, and related information. -""" -type GiftCardAmounts { - """An internal attribute ID.""" - attribute_id: Int - """The unique ID for a `GiftCardAmounts` object.""" - uid: ID! - """The value of the gift card.""" - value: Float - """An ID that is assigned to each unique gift card amount.""" - value_id: Int @deprecated(reason: "Use `uid` instead") - """The ID of the website that generated the gift card.""" - website_id: Int - """The value of the gift card.""" - website_value: Float -} - -"""Specifies the gift card type.""" -enum GiftCardTypeEnum { - VIRTUAL - PHYSICAL - COMBINED -} - -type GiftCardOrderItem implements OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """Selected gift card properties for an order item.""" - gift_card: GiftCardItem - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -type GiftCardInvoiceItem implements InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """Selected gift card properties for an invoice item.""" - gift_card: GiftCardItem - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -type GiftCardCreditMemoItem implements CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """Selected gift card properties for a credit memo item.""" - gift_card: GiftCardItem - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -type GiftCardShipmentItem implements ShipmentItemInterface { - """Selected gift card properties for a shipment item.""" - gift_card: GiftCardItem - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -"""Contains details about a gift card.""" -type GiftCardItem { - """The message from the sender to the recipient.""" - message: String - """The email address of the receiver of a virtual gift card.""" - recipient_email: String - """The name of the receiver of a physical or virtual gift card.""" - recipient_name: String - """The email address of the sender of a virtual gift card.""" - sender_email: String - """The name of the sender of a physical or virtual gift card.""" - sender_name: String -} - -"""Contains details about a gift card that has been added to a cart.""" -type GiftCardCartItem implements CartItemInterface { - """The amount and currency of the gift card.""" - amount: Money! - """An array of customizations applied to the gift card.""" - customizable_options: [SelectedCustomizableOption]! - """Contains discount for quote line item.""" - discount: [Discount] - """An array of errors encountered while loading the cart item""" - errors: [CartItemError] - id: String! @deprecated(reason: "Use `uid` instead.") - """ - True if requested quantity is less than available stock, false otherwise. - """ - is_available: Boolean! - """Line item max qty in quote template""" - max_qty: Float - """The message from the sender to the recipient.""" - message: String - """Line item min qty in quote template""" - min_qty: Float - """The buyer's quote line item note.""" - note_from_buyer: [ItemNote] - """The seller's quote line item note.""" - note_from_seller: [ItemNote] - """ - Contains details about the price of the item, including taxes and discounts. - """ - prices: CartItemPrices - """Details about an item in the cart.""" - product: ProductInterface! - """The quantity of this item in the cart.""" - quantity: Float! - """The email address of the person receiving the gift card.""" - recipient_email: String - """The name of the person receiving the gift card.""" - recipient_name: String! - """The email address of the sender.""" - sender_email: String - """The name of the sender.""" - sender_name: String! - """The unique ID for a `CartItemInterface` object.""" - uid: ID! -} - -"""A single gift card added to a wish list.""" -type GiftCardWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """Details about a gift card.""" - gift_card_options: GiftCardOptions! - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -""" -Contains details about the sender, recipient, and amount of a gift card. -""" -type GiftCardOptions { - """The amount and currency of the gift card.""" - amount: Money - """The custom amount and currency of the gift card.""" - custom_giftcard_amount: Money - """A message to the recipient.""" - message: String - """The email address of the person receiving the gift card.""" - recipient_email: String - """The name of the person receiving the gift card.""" - recipient_name: String - """The email address of the person sending the gift card.""" - sender_email: String - """The name of the person sending the gift card.""" - sender_name: String -} - -"""Contains the text of a gift message, its sender, and recipient""" -type GiftMessage { - """Sender name""" - from: String! - """Gift message text""" - message: String! - """Recipient name""" - to: String! -} - -"""Defines a gift message.""" -input GiftMessageInput { - """The name of the sender.""" - from: String! - """The text of the gift message.""" - message: String! - """The name of the recepient.""" - to: String! -} - -type SalesItemInterface { - """The entered gift message for the order item""" - gift_message: GiftMessage -} - -"""Contains details about each of the customer's orders.""" -type CustomerOrder { - """Coupons applied to the order.""" - applied_coupons: [AppliedCoupon]! - """The billing address for the order.""" - billing_address: OrderAddress - """The shipping carrier for the order delivery.""" - carrier: String - """Comments about the order.""" - comments: [SalesCommentItem] - created_at: String @deprecated(reason: "Use the `order_date` field instead.") - """A list of credit memos.""" - credit_memos: [CreditMemo] - """Order customer email.""" - email: String - """The entered gift message for the order""" - gift_message: GiftMessage - """Indicates whether the customer requested a gift receipt for the order.""" - gift_receipt_included: Boolean! - """The selected gift wrapping for the order.""" - gift_wrapping: GiftWrapping - grand_total: Float @deprecated(reason: "Use the `totals.grand_total` field instead.") - """The unique ID for a `CustomerOrder` object.""" - id: ID! - increment_id: String @deprecated(reason: "Use the `id` field instead.") - """A list of invoices for the order.""" - invoices: [Invoice]! - """An array containing the items purchased in this order.""" - items: [OrderItemInterface] - """A list of order items eligible to be in a return request.""" - items_eligible_for_return: [OrderItemInterface] - """The order number.""" - number: String! - """The date the order was placed.""" - order_date: String! - order_number: String! @deprecated(reason: "Use the `number` field instead.") - """Payment details for the order.""" - payment_methods: [OrderPaymentMethod] - """Indicates whether the customer requested a printed card for the order.""" - printed_card_included: Boolean! - """Return requests associated with this order.""" - returns( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): Returns - """A list of shipments for the order.""" - shipments: [OrderShipment] - """The shipping address for the order.""" - shipping_address: OrderAddress - """The delivery method for the order.""" - shipping_method: String - """The current state of the order.""" - state: String! - """The current status of the order.""" - status: String! - """The token that can be used to retrieve the order using order query.""" - token: String! - """Details about the calculated totals for this order.""" - total: OrderTotal -} - -"""Order item details.""" -interface OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Contains the results of a gift registry search.""" -type GiftRegistrySearchResult { - """The date of the event.""" - event_date: String - """The title given to the event.""" - event_title: String! - """The URL key of the gift registry.""" - gift_registry_uid: ID! - """The location of the event.""" - location: String - """The name of the gift registry owner.""" - name: String! - """The type of event being held.""" - type: String -} - -"""Defines a dynamic attribute.""" -input GiftRegistryDynamicAttributeInput { - """A unique key for an additional attribute of the event.""" - code: ID! - """A string that describes a dynamic attribute.""" - value: String! -} - -"""Defines the sender of an invitation to view a gift registry.""" -input ShareGiftRegistrySenderInput { - """A brief message from the sender.""" - message: String! - """The sender of the gift registry invitation.""" - name: String! -} - -"""Defines a gift registry invitee.""" -input ShareGiftRegistryInviteeInput { - """The email address of the gift registry invitee.""" - email: String! - """The name of the gift registry invitee.""" - name: String! -} - -"""Defines an item to add to the gift registry.""" -input AddGiftRegistryItemInput { - """An array of options the customer has entered.""" - entered_options: [EnteredOptionInput] - """A brief note about the item.""" - note: String - """For complex product types, the SKU of the parent product.""" - parent_sku: String - """The quantity of the product to add.""" - quantity: Float! - """ - An array of strings corresponding to options the customer has selected. - """ - selected_options: [String] - """The SKU of the product to add to the gift registry.""" - sku: String! -} - -"""Defines a new gift registry.""" -input CreateGiftRegistryInput { - """Additional attributes specified as a code-value pair.""" - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The name of the event.""" - event_name: String! - """The ID of the selected event type.""" - gift_registry_type_uid: ID! - """A message describing the event.""" - message: String! - """Indicates whether the registry is PRIVATE or PUBLIC.""" - privacy_settings: GiftRegistryPrivacySettings! - """The list of people who receive notifications about the registry.""" - registrants: [AddGiftRegistryRegistrantInput]! - """The shipping address for all gift registry items.""" - shipping_address: GiftRegistryShippingAddressInput - """Indicates whether the registry is ACTIVE or INACTIVE.""" - status: GiftRegistryStatus! -} - -"""Defines updates to an item in a gift registry.""" -input UpdateGiftRegistryItemInput { - """The unique ID of a `giftRegistryItem` object.""" - gift_registry_item_uid: ID! - """The updated description of the item.""" - note: String - """The updated quantity of the gift registry item.""" - quantity: Float! -} - -"""Defines updates to a `GiftRegistry` object.""" -input UpdateGiftRegistryInput { - """ - Additional attributes specified as a code-value pair. Unspecified dynamic attributes are not changed. - """ - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The updated name of the event.""" - event_name: String - """The updated message describing the event.""" - message: String - """Indicates whether the gift registry is PRIVATE or PUBLIC.""" - privacy_settings: GiftRegistryPrivacySettings - """The updated shipping address for all gift registry items.""" - shipping_address: GiftRegistryShippingAddressInput - """Indicates whether the gift registry is ACTIVE or INACTIVE.""" - status: GiftRegistryStatus -} - -"""Defines a new registrant.""" -input AddGiftRegistryRegistrantInput { - """Additional attributes specified as a code-value pair.""" - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The email address of the registrant.""" - email: String! - """The first name of the registrant.""" - firstname: String! - """The last name of the registrant.""" - lastname: String! -} - -""" -Defines a shipping address for a gift registry. Specify either `address_data` or the `address_id`. If both are provided, validation will fail. -""" -input GiftRegistryShippingAddressInput { - """Defines the shipping address for this gift registry.""" - address_data: CustomerAddressInput - """The ID assigned to this customer address.""" - address_id: ID -} - -"""Defines updates to an existing registrant.""" -input UpdateGiftRegistryRegistrantInput { - """ - As a result of the update, only the values of provided attributes will be affected. If the attribute is missing in the request, its value will not be changed. - """ - dynamic_attributes: [GiftRegistryDynamicAttributeInput] - """The updated email address of the registrant.""" - email: String - """The updated first name of the registrant.""" - firstname: String - """The unique ID of a `giftRegistryRegistrant` object.""" - gift_registry_registrant_uid: ID! - """The updated last name of the registrant.""" - lastname: String -} - -"""Contains the customer's gift registry.""" -interface GiftRegistryOutputInterface { - """The gift registry.""" - gift_registry: GiftRegistry -} - -"""Contains details about the gift registry.""" -type GiftRegistryOutput implements GiftRegistryOutputInterface { - """The gift registry.""" - gift_registry: GiftRegistry -} - -""" -Contains the status and any errors that encountered with the customer's gift register item. -""" -interface GiftRegistryItemUserErrorInterface { - """ - Indicates whether the attempt to move the cart items to the gift registry was successful. - """ - status: Boolean! - """ - An array of errors encountered while moving items from the cart to the gift registry. - """ - user_errors: [GiftRegistryItemsUserError]! -} - -"""Contains error information.""" -type GiftRegistryItemUserErrors implements GiftRegistryItemUserErrorInterface { - """ - Indicates whether the attempt to move the cart items to the gift registry was successful. - """ - status: Boolean! - """ - An array of errors encountered while moving items from the cart to the gift registry. - """ - user_errors: [GiftRegistryItemsUserError]! -} - -""" -Contains details about an error that occurred when processing a gift registry item. -""" -type GiftRegistryItemsUserError { - """An error code that describes the error encountered.""" - code: GiftRegistryItemsUserErrorType! - """The unique ID of the gift registry item containing an error.""" - gift_registry_item_uid: ID - """The unique ID of the `GiftRegistry` object containing an error.""" - gift_registry_uid: ID - """A localized error message.""" - message: String! - """The unique ID of the product containing an error.""" - product_uid: ID -} - -"""Defines the error type.""" -enum GiftRegistryItemsUserErrorType { - """Used for handling out of stock products.""" - OUT_OF_STOCK - """Used for exceptions like EntityNotFound.""" - NOT_FOUND - """Used for other exceptions, such as database connection failures.""" - UNDEFINED -} - -"""Contains the customer's gift registry and any errors encountered.""" -type MoveCartItemsToGiftRegistryOutput implements GiftRegistryOutputInterface & GiftRegistryItemUserErrorInterface { - """The gift registry.""" - gift_registry: GiftRegistry - """ - Indicates whether the attempt to move the cart items to the gift registry was successful. - """ - status: Boolean! - """ - An array of errors encountered while moving items from the cart to the gift registry. - """ - user_errors: [GiftRegistryItemsUserError]! -} - -"""Contains the results of a request to delete a gift registry.""" -type RemoveGiftRegistryOutput { - """Indicates whether the gift registry was successfully deleted.""" - success: Boolean! -} - -""" -Contains the results of a request to remove an item from a gift registry. -""" -type RemoveGiftRegistryItemsOutput { - """The gift registry after removing items.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to update gift registry items.""" -type UpdateGiftRegistryItemsOutput { - """The gift registry after updating updating items.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to share a gift registry.""" -type ShareGiftRegistryOutput { - """Indicates whether the gift registry was successfully shared.""" - is_shared: Boolean! -} - -"""Contains the results of a request to create a gift registry.""" -type CreateGiftRegistryOutput { - """The newly-created gift registry.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to update a gift registry.""" -type UpdateGiftRegistryOutput { - """The updated gift registry.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to add registrants.""" -type AddGiftRegistryRegistrantsOutput { - """The gift registry after adding registrants.""" - gift_registry: GiftRegistry -} - -"""Contains the results a request to update registrants.""" -type UpdateGiftRegistryRegistrantsOutput { - """The gift registry after updating registrants.""" - gift_registry: GiftRegistry -} - -"""Contains the results of a request to delete a registrant.""" -type RemoveGiftRegistryRegistrantsOutput { - """The gift registry after deleting registrants.""" - gift_registry: GiftRegistry -} - -"""Contains details about a gift registry.""" -type GiftRegistry { - """ - The date on which the gift registry was created. Only the registry owner can access this attribute. - """ - created_at: String! - """ - An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. - """ - dynamic_attributes: [GiftRegistryDynamicAttribute] - """The name of the event.""" - event_name: String! - """An array of products added to the gift registry.""" - items: [GiftRegistryItemInterface] - """The message text the customer entered to describe the event.""" - message: String! - """The customer who created the gift registry.""" - owner_name: String! - """ - An enum that states whether the gift registry is PRIVATE or PUBLIC. Only the registry owner can access this attribute. - """ - privacy_settings: GiftRegistryPrivacySettings! - """Contains details about each registrant for the event.""" - registrants: [GiftRegistryRegistrant] - """ - Contains the customer's shipping address. Only the registry owner can access this attribute. - """ - shipping_address: CustomerAddress - """ - An enum that states whether the gift registry is ACTIVE or INACTIVE. Only the registry owner can access this attribute. - """ - status: GiftRegistryStatus! - """The type of gift registry.""" - type: GiftRegistryType - """The unique ID assigned to the gift registry.""" - uid: ID! -} - -"""Contains details about a gift registry type.""" -type GiftRegistryType { - """ - An array of attributes that define elements of the gift registry. Each attribute is specified as a code-value pair. - """ - dynamic_attributes_metadata: [GiftRegistryDynamicAttributeMetadataInterface] - """The label assigned to the gift registry type on the Admin.""" - label: String! - """The unique ID assigned to the gift registry type.""" - uid: ID! -} - -interface GiftRegistryDynamicAttributeMetadataInterface { - """Indicates which group the dynamic attribute a member of.""" - attribute_group: String! - """The internal ID of the dynamic attribute.""" - code: ID! - """ - The selected input type for this dynamic attribute. The value can be one of several static or custom types. - """ - input_type: String! - """Indicates whether the dynamic attribute is required.""" - is_required: Boolean! - """The display name of the dynamic attribute.""" - label: String! - """The order in which to display the dynamic attribute.""" - sort_order: Int -} - -type GiftRegistryDynamicAttributeMetadata implements GiftRegistryDynamicAttributeMetadataInterface { - """Indicates which group the dynamic attribute a member of.""" - attribute_group: String! - """The internal ID of the dynamic attribute.""" - code: ID! - """ - The selected input type for this dynamic attribute. The value can be one of several static or custom types. - """ - input_type: String! - """Indicates whether the dynamic attribute is required.""" - is_required: Boolean! - """The display name of the dynamic attribute.""" - label: String! - """The order in which to display the dynamic attribute.""" - sort_order: Int -} - -"""Defines the status of the gift registry.""" -enum GiftRegistryStatus { - ACTIVE - INACTIVE -} - -"""Defines the privacy setting of the gift registry.""" -enum GiftRegistryPrivacySettings { - PRIVATE - PUBLIC -} - -"""Contains details about a registrant.""" -type GiftRegistryRegistrant { - """An array of dynamic attributes assigned to the registrant.""" - dynamic_attributes: [GiftRegistryRegistrantDynamicAttribute] - """ - The email address of the registrant. Only the registry owner can access this attribute. - """ - email: String! - """The first name of the registrant.""" - firstname: String! - """The last name of the registrant.""" - lastname: String! - """The unique ID assigned to the registrant.""" - uid: ID! -} - -interface GiftRegistryDynamicAttributeInterface { - """The internal ID of the dynamic attribute.""" - code: ID! - """The display name of the dynamic attribute.""" - label: String! - """A corresponding value for the code.""" - value: String! -} - -type GiftRegistryRegistrantDynamicAttribute implements GiftRegistryDynamicAttributeInterface { - """The internal ID of the dynamic attribute.""" - code: ID! - """The display name of the dynamic attribute.""" - label: String! - """A corresponding value for the code.""" - value: String! -} - -type GiftRegistryDynamicAttribute implements GiftRegistryDynamicAttributeInterface { - """The internal ID of the dynamic attribute.""" - code: ID! - """Indicates which group the dynamic attribute is a member of.""" - group: GiftRegistryDynamicAttributeGroup! - """The display name of the dynamic attribute.""" - label: String! - """A corresponding value for the code.""" - value: String! -} - -"""Defines the group type of a gift registry dynamic attribute.""" -enum GiftRegistryDynamicAttributeGroup { - EVENT_INFORMATION - PRIVACY_SETTINGS - REGISTRANT - GENERAL_INFORMATION - DETAILED_INFORMATION - SHIPPING_ADDRESS -} - -interface GiftRegistryItemInterface { - """The date the product was added to the gift registry.""" - created_at: String! - """A brief message about the gift registry item.""" - note: String - """Details about the gift registry item.""" - product: ProductInterface - """The requested quantity of the product.""" - quantity: Float! - """The fulfilled quantity of the product.""" - quantity_fulfilled: Float! - """The unique ID of a gift registry item.""" - uid: ID! -} - -type GiftRegistryItem implements GiftRegistryItemInterface { - """The date the product was added to the gift registry.""" - created_at: String! - """A brief message about the gift registry item.""" - note: String - """Details about the gift registry item.""" - product: ProductInterface - """The requested quantity of the product.""" - quantity: Float! - """The fulfilled quantity of the product.""" - quantity_fulfilled: Float! - """The unique ID of a gift registry item.""" - uid: ID! -} - -""" -Contains details about the selected or available gift wrapping options. -""" -type GiftWrapping { - """The name of the gift wrapping design.""" - design: String! - """The unique ID for a `GiftWrapping` object.""" - id: ID! @deprecated(reason: "Use `uid` instead") - """The preview image for a gift wrapping option.""" - image: GiftWrappingImage - """The gift wrapping price.""" - price: Money! - """The unique ID for a `GiftWrapping` object.""" - uid: ID! -} - -"""Points to an image associated with a gift wrapping option.""" -type GiftWrappingImage { - """The gift wrapping preview image label.""" - label: String! - """The gift wrapping preview image URL.""" - url: String! -} - -"""Contains prices for gift wrapping options.""" -type GiftOptionsPrices { - """Price of the gift wrapping for all individual order items.""" - gift_wrapping_for_items: Money - """Price of the gift wrapping for the whole order.""" - gift_wrapping_for_order: Money - """Price for the printed card.""" - printed_card: Money -} - -"""Defines the gift options applied to the cart.""" -input SetGiftOptionsOnCartInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! - """Gift message details for the cart.""" - gift_message: GiftMessageInput - """Whether customer requested gift receipt for the cart.""" - gift_receipt_included: Boolean! - """The unique ID for a `GiftWrapping` object to be used for the cart.""" - gift_wrapping_id: ID - """Whether customer requested printed card for the cart.""" - printed_card_included: Boolean! -} - -"""Contains the cart after gift options have been applied.""" -type SetGiftOptionsOnCartOutput { - """The modified cart object.""" - cart: Cart! -} - -"""Contains details about bundle products added to a requisition list.""" -type BundleRequisitionListItem implements RequisitionListItemInterface { - """An array of selected options for a bundle product.""" - bundle_options: [SelectedBundleOption]! - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The quantity of the product added to the requisition list.""" - quantity: Float! - """The unique ID of an item in a requisition list.""" - uid: ID! -} - -""" -Defines a grouped product, which consists of simple standalone products that are presented as a group. -""" -type GroupedProduct implements ProductInterface & RoutableInterface & PhysicalProductInterface { - accessory_announcement_date: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_brand: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_custom_engraving_text: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_detailed_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_description_pagebuilder_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_gemstone_addon: String @deprecated(reason: "Use the `custom_attributes` field instead.") - accessory_recyclable_material: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The attribute set assigned to the product.""" - attribute_set_id: Int @deprecated(reason: "The field should not be used on the storefront.") - """ - The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled. - """ - canonical_url: String - """The categories assigned to a product.""" - categories: [CategoryInterface] - color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The product's country of origin.""" - country_of_manufacture: String - """Timestamp indicating when the product was created.""" - created_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of cross-sell products.""" - crosssell_products: [ProductInterface] - """List of product custom attributes details.""" - custom_attributes: [CustomAttribute]! @deprecated(reason: "Use Adobe Commerce `custom_attributesV2` query instead") - """Product custom attributes.""" - custom_attributesV2(filters: AttributeFilterInput): ProductCustomAttributes - """ - Detailed information about the product. The value can include simple HTML tags. - """ - description: ComplexTextValue - description_extra: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_color: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_material: String @deprecated(reason: "Use the `custom_attributes` field instead.") - fashion_style: String @deprecated(reason: "Use the `custom_attributes` field instead.") - format: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """Indicates whether a gift message is available.""" - gift_message_available: String - has_video: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """The ID number assigned to the product.""" - id: Int @deprecated(reason: "Use the `uid` field instead.") - """The relative path to the main image on the product page.""" - image: ProductImage - """Indicates whether the product can be returned.""" - is_returnable: String - """An array containing grouped product items.""" - items: [GroupedProductItem] - """A number representing the product's manufacturer.""" - manufacturer: Int @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of media gallery objects.""" - media_gallery: [MediaGalleryInterface] - """An array of MediaGalleryEntry objects.""" - media_gallery_entries: [MediaGalleryEntry] @deprecated(reason: "Use `media_gallery` instead.") - """ - A brief overview of the product for search results listings, maximum 255 characters. - """ - meta_description: String - """ - A comma-separated list of keywords that are visible only to search engines. - """ - meta_keyword: String - """ - A string that is displayed in the title bar and tab of the browser and in search results lists. - """ - meta_title: String - """The product name. Customers use this name to identify the product.""" - name: String - """ - The beginning date for new product listings, and determines if the product is featured as a new product. - """ - new_from_date: String - """The end date for new product listings.""" - new_to_date: String - """Product stock only x left count""" - only_x_left_in_stock: Float - """ - If the product has multiple options, determines where they appear on the product page. - """ - options_container: String - """Indicates the price of an item.""" - price: ProductPrices @deprecated(reason: "Use `price_range` for product price information.") - """The range of prices for the product""" - price_range: PriceRange! - """An array of `TierPrice` objects.""" - price_tiers: [TierPrice] - """An array of `ProductLinks` objects.""" - product_links: [ProductLinksInterface] - """The average of all the ratings given to the product.""" - rating_summary: Float! - """ - Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect. - """ - redirect_code: Int! - """An array of related products.""" - related_products: [ProductInterface] - """ - The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original. - """ - relative_url: String - """The total count of all the reviews given to the product.""" - review_count: Int! - """The list of products reviews.""" - reviews( - """The maximum number of results to return at once. The default is 20.""" - pageSize: Int = 20 - """The page of results to return. The default is 1.""" - currentPage: Int = 1 - ): ProductReviews! - """A short description of the product. Its use depends on the theme.""" - short_description: ComplexTextValue - """ - A number or code assigned to a product to identify the product, options, price, and manufacturer. - """ - sku: String - """The relative path to the small image, which is used on catalog pages.""" - small_image: ProductImage - """The beginning date that a product has a special price.""" - special_from_date: String @deprecated(reason: "The field should not be used on the storefront.") - """The discounted price of the product.""" - special_price: Float - """The end date for a product with a special price.""" - special_to_date: String - """Indicates whether the product is staged for a future campaign.""" - staged: Boolean! - """Stock status of the product""" - stock_status: ProductStockStatus - """The file name of a swatch image.""" - swatch_image: String - """The relative path to the product's thumbnail image.""" - thumbnail: ProductImage - """ - The price when tier pricing is in effect and the items purchased threshold has been reached. - """ - tier_price: Float @deprecated(reason: "Use `price_tiers` for product tier price information.") - """An array of ProductTierPrices objects.""" - tier_prices: [ProductTierPrices] @deprecated(reason: "Use `price_tiers` for product tier price information.") - """One of PRODUCT, CATEGORY, or CMS_PAGE.""" - type: UrlRewriteEntityTypeEnum - """ - One of simple, virtual, bundle, downloadable, grouped, or configurable. - """ - type_id: String @deprecated(reason: "Use `__typename` instead.") - """The unique ID for a `ProductInterface` object.""" - uid: ID! - """Timestamp indicating when the product was updated.""" - updated_at: String @deprecated(reason: "The field should not be used on the storefront.") - """An array of up-sell products.""" - upsell_products: [ProductInterface] - """The part of the URL that identifies the product""" - url_key: String - url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead") - """URL rewrites list""" - url_rewrites: [UrlRewrite] - """The part of the product URL that is appended after the url key""" - url_suffix: String - video_file: String @deprecated(reason: "Use the `custom_attributes` field instead.") - """An array of websites in which the product is available.""" - websites: [Website] @deprecated(reason: "The field should not be used on the storefront.") - """The weight of the item, in units defined by the store.""" - weight: Float -} - -"""Contains information about an individual grouped product item.""" -type GroupedProductItem { - """The relative position of this item compared to the other group items.""" - position: Int - """Details about this product option.""" - product: ProductInterface - """The quantity of this grouped product item.""" - qty: Float -} - -"""A grouped product wish list item.""" -type GroupedProductWishlistItem implements WishlistItemInterface { - """The date and time the item was added to the wish list.""" - added_at: String! - """Custom options selected for the wish list item.""" - customizable_options: [SelectedCustomizableOption]! - """The description of the item.""" - description: String - """The unique ID for a `WishlistItemInterface` object.""" - id: ID! - """Product details of the wish list item.""" - product: ProductInterface - """The quantity of this wish list item.""" - quantity: Float! -} - -""" -AreaInput defines the parameters which will be used for filter by specified location. -""" -input AreaInput { - """The radius for the search in KM.""" - radius: Int! - """ - The country code where search must be performed. Required parameter together with region, city or postcode. - """ - search_term: String! -} - -""" -PickupLocationFilterInput defines the list of attributes and filters for the search. -""" -input PickupLocationFilterInput { - """Filter by city.""" - city: FilterTypeInput - """Filter by country.""" - country_id: FilterTypeInput - """Filter by pickup location name.""" - name: FilterTypeInput - """Filter by pickup location code.""" - pickup_location_code: FilterTypeInput - """Filter by postcode.""" - postcode: FilterTypeInput - """Filter by region.""" - region: FilterTypeInput - """Filter by region id.""" - region_id: FilterTypeInput - """Filter by street.""" - street: FilterTypeInput -} - -""" -PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. -""" -input PickupLocationSortInput { - """City where pickup location is placed.""" - city: SortEnum - """Name of the contact person.""" - contact_name: SortEnum - """Id of the country in two letters.""" - country_id: SortEnum - """Description of the pickup location.""" - description: SortEnum - """ - Distance to the address, requested by distance filter. Applicable only with distance filter. If distance sort order is present, all other sort orders will be ignored. - """ - distance: SortEnum - """Contact email of the pickup location.""" - email: SortEnum - """Contact fax of the pickup location.""" - fax: SortEnum - """Geographic latitude where pickup location is placed.""" - latitude: SortEnum - """Geographic longitude where pickup location is placed.""" - longitude: SortEnum - """ - The pickup location name. Customer use this to identify the pickup location. - """ - name: SortEnum - """Contact phone number of the pickup location.""" - phone: SortEnum - """A code assigned to pickup location to identify the source.""" - pickup_location_code: SortEnum - """Postcode where pickup location is placed.""" - postcode: SortEnum - """Name of the region.""" - region: SortEnum - """Id of the region.""" - region_id: SortEnum - """Street where pickup location is placed.""" - street: SortEnum -} - -"""Top level object returned in a pickup locations search.""" -type PickupLocations { - """An array of pickup locations that match the specific search request.""" - items: [PickupLocation] - """ - An object that includes the page_info and currentPage values specified in the query. - """ - page_info: SearchResultPageInfo - """The number of products returned.""" - total_count: Int -} - -"""Defines Pickup Location information.""" -type PickupLocation { - city: String - contact_name: String - country_id: String - description: String - email: String - fax: String - latitude: Float - longitude: Float - name: String - phone: String - pickup_location_code: String - postcode: String - region: String - region_id: Int - street: String -} - -"""Product Information used for Pickup Locations search.""" -input ProductInfoInput { - """Product SKU.""" - sku: String! -} - -"""Identifies which customer requires remote shopping assistance.""" -input GenerateCustomerTokenAsAdminInput { - """ - The email address of the customer requesting remote shopping assistance. - """ - customer_email: String! -} - -"""Contains the generated customer token.""" -type GenerateCustomerTokenAsAdminOutput { - """The generated customer token.""" - customer_token: String! -} - -"""Apply coupons to the cart.""" -input ApplyCouponsToCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """An array of valid coupon codes.""" - coupon_codes: [String]! - """ - `replace` to replace the existing coupon(s) or `append` to add the coupon to the coupon(s) list. - """ - type: ApplyCouponsStrategy -} - -"""Remove coupons from the cart.""" -input RemoveCouponsFromCartInput { - """The unique ID of a `Cart` object.""" - cart_id: String! - """ - An array of coupon codes to be removed from the quote. If coupon_codes is empty all coupons will be removed from the quote. - """ - coupon_codes: [String]! -} - -"""The strategy to apply coupons to the cart.""" -enum ApplyCouponsStrategy { - """Append new coupons keeping the coupons that have been applied before.""" - APPEND - """ - Remove all the coupons from the cart and apply only new provided coupons. - """ - REPLACE -} - -"""Contains the cart and any errors after adding products.""" -type ReorderItemsOutput { - """Detailed information about the customer's cart.""" - cart: Cart! - """An array of reordering errors.""" - userInputErrors: [CheckoutUserInputError]! -} - -"""An error encountered while adding an item to the cart.""" -type CheckoutUserInputError { - """An error code that is specific to Checkout.""" - code: CheckoutUserInputErrorCodes! - """A localized error message.""" - message: String! - """ - The path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors - """ - path: [String]! -} - -"""Identifies the filter to use for filtering orders.""" -input CustomerOrdersFilterInput { - """Filters by order number.""" - number: FilterStringTypeInput -} - -""" -CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order. -""" -input CustomerOrderSortInput { - """ - This enumeration indicates whether to return results in ascending or descending order - """ - sort_direction: SortEnum! - """Specifies the field to use for sorting""" - sort_field: CustomerOrderSortableField! -} - -"""Specifies the field to use for sorting""" -enum CustomerOrderSortableField { - """Sorts customer orders by number""" - NUMBER - """Sorts customer orders by created_at field""" - CREATED_AT -} - -""" -The collection of orders that match the conditions defined in the filter. -""" -type CustomerOrders { - """An array of customer orders.""" - items: [CustomerOrder]! - """Contains pagination metadata.""" - page_info: SearchResultPageInfo - """The total count of customer orders.""" - total_count: Int -} - -""" -Contains detailed information about an order's billing and shipping addresses. -""" -type OrderAddress { - """The city or town.""" - city: String! - """The customer's company.""" - company: String - """The customer's country.""" - country_code: CountryCodeEnum - """The fax number.""" - fax: String - """ - The first name of the person associated with the shipping/billing address. - """ - firstname: String! - """ - The family name of the person associated with the shipping/billing address. - """ - lastname: String! - """ - The middle name of the person associated with the shipping/billing address. - """ - middlename: String - """The customer's ZIP or postal code.""" - postcode: String - """An honorific, such as Dr., Mr., or Mrs.""" - prefix: String - """The state or province name.""" - region: String - """The unique ID for a `Region` object of a pre-defined region.""" - region_id: ID - """An array of strings that define the street number and name.""" - street: [String]! - """A value such as Sr., Jr., or III.""" - suffix: String - """The telephone number.""" - telephone: String - """The customer's Value-added tax (VAT) number (for corporate customers).""" - vat_id: String -} - -type OrderItem implements OrderItemInterface { - """The final discount information for the product.""" - discounts: [Discount] - """ - Indicates whether the order item is eligible to be in a return request. - """ - eligible_for_return: Boolean - """The entered option for the base product, such as a logo or image.""" - entered_options: [OrderItemOption] - """The selected gift message for the order item""" - gift_message: GiftMessage - """The selected gift wrapping for the order item.""" - gift_wrapping: GiftWrapping - """The unique ID for an `OrderItemInterface` object.""" - id: ID! - """ - The ProductInterface object, which contains details about the base product - """ - product: ProductInterface - """The name of the base product.""" - product_name: String - """The sale price of the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The type of product, such as simple, configurable, etc.""" - product_type: String - """URL key of the base product.""" - product_url_key: String - """The number of canceled items.""" - quantity_canceled: Float - """The number of invoiced items.""" - quantity_invoiced: Float - """The number of units ordered for this item.""" - quantity_ordered: Float - """The number of refunded items.""" - quantity_refunded: Float - """The number of returned items.""" - quantity_returned: Float - """The number of shipped items.""" - quantity_shipped: Float - """The selected options for the base product, such as color or size.""" - selected_options: [OrderItemOption] - """The status of the order item.""" - status: String -} - -"""Represents order item options like selected or entered.""" -type OrderItemOption { - """The name of the option.""" - label: String! - """The value of the option.""" - value: String! -} - -"""Contains tax item details.""" -type TaxItem { - """The amount of tax applied to the item.""" - amount: Money! - """The rate used to calculate the tax.""" - rate: Float! - """A title that describes the tax.""" - title: String! -} - -"""Contains invoice details.""" -type Invoice { - """Comments on the invoice.""" - comments: [SalesCommentItem] - """The unique ID for a `Invoice` object.""" - id: ID! - """Invoiced product details.""" - items: [InvoiceItemInterface] - """Sequential invoice number.""" - number: String! - """Invoice total amount details.""" - total: InvoiceTotal -} - -"""Contains detailes about invoiced items.""" -interface InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -type InvoiceItem implements InvoiceItemInterface { - """ - Information about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for an `InvoiceItemInterface` object.""" - id: ID! - """Details about an individual order item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of invoiced items.""" - quantity_invoiced: Float -} - -"""Contains price details from an invoice.""" -type InvoiceTotal { - """The final base grand total amount in the base currency.""" - base_grand_total: Money! - """The applied discounts to the invoice.""" - discounts: [Discount] - """The final total amount, including shipping, discounts, and taxes.""" - grand_total: Money! - """Details about the shipping and handling costs for the invoice.""" - shipping_handling: ShippingHandling - """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" - subtotal: Money! - """The invoice tax details.""" - taxes: [TaxItem] - """The shipping amount for the invoice.""" - total_shipping: Money! - """The amount of tax applied to the invoice.""" - total_tax: Money! -} - -"""Contains details about shipping and handling costs.""" -type ShippingHandling { - """The shipping amount, excluding tax.""" - amount_excluding_tax: Money - """The shipping amount, including tax.""" - amount_including_tax: Money - """The applied discounts to the shipping.""" - discounts: [ShippingDiscount] - """Details about taxes applied for shipping.""" - taxes: [TaxItem] - """The total amount for shipping.""" - total_amount: Money! -} - -""" -Defines an individual shipping discount. This discount can be applied to shipping. -""" -type ShippingDiscount { - """The amount of the discount.""" - amount: Money! -} - -"""Contains order shipment details.""" -type OrderShipment { - """Comments added to the shipment.""" - comments: [SalesCommentItem] - """The unique ID for a `OrderShipment` object.""" - id: ID! - """An array of items included in the shipment.""" - items: [ShipmentItemInterface] - """The sequential credit shipment number.""" - number: String! - """An array of shipment tracking details.""" - tracking: [ShipmentTracking] -} - -"""Contains details about a comment.""" -type SalesCommentItem { - """The text of the message.""" - message: String! - """The timestamp of the comment.""" - timestamp: String! -} - -"""Order shipment item details.""" -interface ShipmentItemInterface { - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -type ShipmentItem implements ShipmentItemInterface { - """The unique ID for a `ShipmentItemInterface` object.""" - id: ID! - """The order item associated with the shipment item.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of shipped items.""" - quantity_shipped: Float! -} - -"""Contains order shipment tracking details.""" -type ShipmentTracking { - """The shipping carrier for the order delivery.""" - carrier: String! - """The tracking number of the order shipment.""" - number: String - """The shipment tracking title.""" - title: String! -} - -"""Contains details about the payment method used to pay for the order.""" -type OrderPaymentMethod { - """Additional data per payment method type.""" - additional_data: [KeyValue] - """The label that describes the payment method.""" - name: String! - """The payment method code that indicates how the order was paid for.""" - type: String! -} - -"""Contains credit memo details.""" -type CreditMemo { - """Comments on the credit memo.""" - comments: [SalesCommentItem] - """The unique ID for a `CreditMemo` object.""" - id: ID! - """An array containing details about refunded items.""" - items: [CreditMemoItemInterface] - """The sequential credit memo number.""" - number: String! - """Details about the total refunded amount.""" - total: CreditMemoTotal -} - -"""Credit memo item details.""" -interface CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -type CreditMemoItem implements CreditMemoItemInterface { - """ - Details about the final discount amount for the base product, including discounts on options. - """ - discounts: [Discount] - """The unique ID for a `CreditMemoItemInterface` object.""" - id: ID! - """The order item the credit memo is applied to.""" - order_item: OrderItemInterface - """The name of the base product.""" - product_name: String - """The sale price for the base product, including selected options.""" - product_sale_price: Money! - """The SKU of the base product.""" - product_sku: String! - """The number of refunded items.""" - quantity_refunded: Float -} - -"""Contains credit memo price details.""" -type CreditMemoTotal { - """An adjustment manually applied to the order.""" - adjustment: Money! - """The final base grand total amount in the base currency.""" - base_grand_total: Money! - """The applied discounts to the credit memo.""" - discounts: [Discount] - """The final total amount, including shipping, discounts, and taxes.""" - grand_total: Money! - """Details about the shipping and handling costs for the credit memo.""" - shipping_handling: ShippingHandling - """The subtotal of the invoice, excluding shipping, discounts, and taxes.""" - subtotal: Money! - """The credit memo tax details.""" - taxes: [TaxItem] - """The shipping amount for the credit memo.""" - total_shipping: Money! - """The amount of tax applied to the credit memo.""" - total_tax: Money! -} - -"""Contains a key-value pair.""" -type KeyValue { - """The name part of the key/value pair.""" - name: String - """The value part of the key/value pair.""" - value: String -} - -enum CheckoutUserInputErrorCodes { - REORDER_NOT_AVAILABLE - PRODUCT_NOT_FOUND - NOT_SALABLE - INSUFFICIENT_STOCK - UNDEFINED -} - -"""This enumeration defines the scope type for customer orders.""" -enum ScopeTypeEnum { - GLOBAL - WEBSITE - STORE -} - -"""Input to retrieve an order based on token.""" -input OrderTokenInput { - """Order token.""" - token: String! -} - -"""Input to retrieve an order based on details.""" -input OrderInformationInput { - """Order billing address email.""" - email: String! - """Order number.""" - number: String! - """Order billing address postcode.""" - postcode: String! -} - -"""Identifies a quote to be duplicated""" -input DuplicateNegotiableQuoteInput { - """ID for the newly duplicated quote.""" - duplicated_quote_uid: ID! - """ID of the quote to be duplicated.""" - quote_uid: ID! -} - -"""Contains the newly created negotiable quote.""" -type DuplicateNegotiableQuoteOutput { - """Negotiable Quote resulting from duplication operation.""" - quote: NegotiableQuote -} - -"""Contains details about a negotiable quote template.""" -type NegotiableQuoteTemplate { - """The first and last name of the buyer.""" - buyer: NegotiableQuoteUser! - """A list of comments made by the buyer and seller.""" - comments: [NegotiableQuoteComment] - """The expiration period of the negotiable quote template.""" - expiration_date: String! - """A list of status and price changes for the negotiable quote template.""" - history: [NegotiableQuoteHistoryEntry] - """Indicates whether the minimum and maximum quantity settings are used.""" - is_min_max_qty_used: Boolean! - """ - Indicates whether the negotiable quote template contains only virtual products. - """ - is_virtual: Boolean! - """The list of items in the negotiable quote template.""" - items: [CartItemInterface] - """Commitment for maximum orders""" - max_order_commitment: Int! - """Commitment for minimum orders""" - min_order_commitment: Int! - """The title assigned to the negotiable quote template.""" - name: String! - """A list of notifications for the negotiable quote template.""" - notifications: [QuoteTemplateNotificationMessage] - """ - A set of subtotals and totals applied to the negotiable quote template. - """ - prices: CartPrices - """A list of shipping addresses applied to the negotiable quote template.""" - shipping_addresses: [NegotiableQuoteShippingAddress]! - """The status of the negotiable quote template.""" - status: String! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! - """The total number of items in the negotiable quote template.""" - total_quantity: Float! -} - -"""Contains data for a negotiable quote template in a grid.""" -type NegotiableQuoteTemplateGridItem { - """The date and time the negotiable quote template was activated.""" - activated_at: String! - """Company name the quote template is assigned to""" - company_name: String! - """The expiration period of the negotiable quote template.""" - expiration_date: String! - """Indicates whether the minimum and maximum quantity settings are used.""" - is_min_max_qty_used: Boolean! - """The date and time the negotiable quote template was last shared.""" - last_shared_at: String! - """Commitment for maximum orders""" - max_order_commitment: Int! - """The minimum negotiated grand total of the negotiable quote template.""" - min_negotiated_grand_total: Float! - """Commitment for minimum orders""" - min_order_commitment: Int! - """The title assigned to the negotiable quote template.""" - name: String! - """The number of orders placed for the negotiable quote template.""" - orders_placed: Int! - """The first and last name of the sales representative.""" - sales_rep_name: String! - """State of the negotiable quote template.""" - state: String! - """The status of the negotiable quote template.""" - status: String! - """The first and last name of the buyer.""" - submitted_by: String! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -""" -Contains a list of negotiable templates that match the specified filter. -""" -type NegotiableQuoteTemplatesOutput { - """A list of negotiable quote templates""" - items: [NegotiableQuoteTemplateGridItem]! - """Contains pagination metadata""" - page_info: SearchResultPageInfo! - """Contains the default sort field and all available sort fields.""" - sort_fields: SortFields - """The number of negotiable quote templates returned""" - total_count: Int! -} - -"""Contains the updated negotiable quote template.""" -type UpdateNegotiableQuoteTemplateItemsQuantityOutput { - """The updated negotiable quote template.""" - quote_template: NegotiableQuoteTemplate -} - -"""Contains the generated negotiable quote id.""" -type GenerateNegotiableQuoteFromTemplateOutput { - """The unique ID of a generated `NegotiableQuote` object.""" - negotiable_quote_uid: ID! -} - -""" -Contains details about a failed delete operation on a negotiable quote template. -""" -type DeleteNegotiableQuoteTemplateOutput { - """A message that describes the error.""" - error_message: String - """Flag to mark whether the delete operation was successful.""" - status: Boolean! -} - -"""Contains a notification message for a negotiable quote template.""" -type QuoteTemplateNotificationMessage { - """The notification message.""" - message: String! - """The type of notification message.""" - type: String! -} - -"""Defines a filter to limit the negotiable quotes to return.""" -input NegotiableQuoteTemplateFilterInput { - """Filter by state of one or more negotiable quote templates.""" - state: FilterEqualTypeInput - """Filter by status of one or more negotiable quote templates.""" - status: FilterEqualTypeInput -} - -"""Defines the field to use to sort a list of negotiable quotes.""" -input NegotiableQuoteTemplateSortInput { - """Whether to return results in ascending or descending order.""" - sort_direction: SortEnum! - """The specified sort field.""" - sort_field: NegotiableQuoteTemplateSortableField! -} - -"""Defines properties of a negotiable quote template request.""" -input RequestNegotiableQuoteTemplateInput { - """ - The cart ID of the quote to create the new negotiable quote template from. - """ - cart_id: ID! -} - -"""Specifies the items to update.""" -input UpdateNegotiableQuoteTemplateQuantitiesInput { - """An array of items to update.""" - items: [NegotiableQuoteTemplateItemQuantityInput]! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the updated quantity of an item.""" -input NegotiableQuoteTemplateItemQuantityInput { - """The unique ID of a `CartItemInterface` object.""" - item_id: ID! - """ - The new max quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. - """ - max_qty: Float - """ - The new min quantity of the negotiable quote template item. Only used if is_min_max_qty_used is true on the template. - """ - min_qty: Float - """The new quantity of the negotiable quote item.""" - quantity: Float! -} - -""" -Defines the shipping address to assign to the negotiable quote template. -""" -input SetNegotiableQuoteTemplateShippingAddressInput { - """A shipping adadress to apply to the negotiable quote template.""" - shipping_address: NegotiableQuoteTemplateShippingAddressInput! - """The unique ID of a `NegotiableQuote` object.""" - template_id: ID! -} - -"""Defines shipping addresses for the negotiable quote template.""" -input NegotiableQuoteTemplateShippingAddressInput { - """A shipping address.""" - address: NegotiableQuoteAddressInput - """ - An ID from the company user's address book that uniquely identifies the address to be used for shipping. - """ - customer_address_uid: ID - """Text provided by the company user.""" - customer_notes: String -} - -"""Specifies the quote template properties to update.""" -input SubmitNegotiableQuoteTemplateForReviewInput { - """A comment for the seller to review.""" - comment: String - """Commitment for maximum orders""" - max_order_commitment: Int - """Commitment for minimum orders""" - min_order_commitment: Int - """The title assigned to the negotiable quote template.""" - name: String - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id to accept quote template.""" -input AcceptNegotiableQuoteTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id to open quote template.""" -input OpenNegotiableQuoteTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the template id, from which to generate quote from.""" -input GenerateNegotiableQuoteFromTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Defines the items to remove from the specified negotiable quote.""" -input RemoveNegotiableQuoteTemplateItemsInput { - """ - An array of IDs indicating which items to remove from the negotiable quote. - """ - item_uids: [ID]! - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id of the quote template to cancel""" -input CancelNegotiableQuoteTemplateInput { - """A comment to provide reason of cancellation.""" - cancellation_comment: String - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Specifies the quote template id of the quote template to delete""" -input DeleteNegotiableQuoteTemplateInput { - """The unique ID of a `NegotiableQuoteTemplate` object.""" - template_id: ID! -} - -"""Sets quote item note.""" -input QuoteTemplateLineItemNoteInput { - """The unique ID of a `CartLineItem` object.""" - item_id: ID! - """The note text to be added.""" - note: String - """The unique ID of a `NegotiableQuoteTemplate` object.""" - templateId: ID! -} - -enum NegotiableQuoteTemplateSortableField { - """Sorts negotiable quote templates by template id.""" - TEMPLATE_ID - """Sorts negotiable quote templates by the date they were last shared.""" - LAST_SHARED_AT -} - -"""Contains details about prior company credit operations.""" -type CompanyCreditHistory { - """An array of company credit operations.""" - items: [CompanyCreditOperation]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo! - """ - The number of the company credit operations matching the specified filter. - """ - total_count: Int -} - -"""Contains details about a single company credit operation.""" -type CompanyCreditOperation { - """The amount of the company credit operation.""" - amount: Money - """The credit balance as a result of the operation.""" - balance: CompanyCredit! - """ - The purchase order number associated with the company credit operation. - """ - custom_reference_number: String - """The date the operation occurred.""" - date: String! - """The type of the company credit operation.""" - type: CompanyCreditOperationType! - """The company user that submitted the company credit operation.""" - updated_by: CompanyCreditOperationUser! -} - -""" -Defines the administrator or company user that submitted a company credit operation. -""" -type CompanyCreditOperationUser { - """The name of the company user submitting the company credit operation.""" - name: String! - """The type of the company user submitting the company credit operation.""" - type: CompanyCreditOperationUserType! -} - -"""Contains company credit balances and limits.""" -type CompanyCredit { - """ - The sum of the credit limit and the outstanding balance. If the company has exceeded the credit limit, the amount is as a negative value. - """ - available_credit: Money! - """The amount of credit extended to the company.""" - credit_limit: Money! - """ - The amount reimbursed, less the total due from all orders placed using the Payment on Account payment method. The amount can be a positive or negative value. - """ - outstanding_balance: Money! -} - -enum CompanyCreditOperationType { - ALLOCATION - UPDATE - PURCHASE - REIMBURSEMENT - REFUND - REVERT -} - -enum CompanyCreditOperationUserType { - CUSTOMER - ADMIN -} - -"""Defines a filter for narrowing the results of a credit history search.""" -input CompanyCreditHistoryFilterInput { - """ - The purchase order number associated with the company credit operation. - """ - custom_reference_number: String - """The type of the company credit operation.""" - operation_type: CompanyCreditOperationType - """The name of the person submitting the company credit operation.""" - updated_by: String -} - -"""Contains the result of the `subscribeEmailToNewsletter` operation.""" -type SubscribeEmailToNewsletterOutput { - """The status of the subscription request.""" - status: SubscriptionStatusesEnum -} - -"""Indicates the status of the request.""" -enum SubscriptionStatusesEnum { - NOT_ACTIVE - SUBSCRIBED - UNSUBSCRIBED - UNCONFIRMED -} - -type CancellationReason { - description: String! -} - -"""Defines the order to cancel.""" -input CancelOrderInput { - """Order ID.""" - order_id: ID! - """Cancellation reason.""" - reason: String! -} - -"""Contains the updated customer order and error message if any.""" -type CancelOrderOutput { - """Error encountered while cancelling the order.""" - error: String - """Updated customer order.""" - order: CustomerOrder -} - -type UiAttributeTypePageBuilder implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Gets the payment SDK URLs and values""" -type GetPaymentSDKOutput { - """The payment SDK parameters""" - sdkParams: [PaymentSDKParamsItem] -} - -type PaymentSDKParamsItem { - """The payment method code used in the order""" - code: String - """The payment SDK parameters""" - params: [SDKParams] -} - -"""Contains the payment order details""" -type PaymentOrderOutput { - """PayPal order ID""" - id: String - """The order ID generated by Payment Services""" - mp_order_id: String - """Details about the card used on the order""" - payment_source_details: PaymentSourceDetails - """The status of the payment order""" - status: String -} - -type PaymentSourceDetails { - """Details about the card used on the order""" - card: Card -} - -type Card { - """Card bin details""" - bin_details: CardBin - """Expiration month of the card""" - card_expiry_month: String - """Expiration year of the card""" - card_expiry_year: String - """Last four digits of the card""" - last_digits: String - """Name on the card""" - name: String -} - -type CardBin { - """Card bin number""" - bin: String -} - -""" -Contains payment order details that are used while processing the payment order -""" -input CreatePaymentOrderInput { - """The customer cart ID""" - cartId: String! - """Defines the origin location for that payment request""" - location: PaymentLocation! - """The code for the payment method used in the order""" - methodCode: String! - """The identifiable payment source for the payment method""" - paymentSource: String! - """Indicates whether the payment information should be vaulted""" - vaultIntent: Boolean -} - -"""Synchronizes the payment order details""" -input SyncPaymentOrderInput { - """The customer cart ID""" - cartId: String! - """PayPal order ID""" - id: String! -} - -""" -Contains payment order details that are used while processing the payment order -""" -type CreatePaymentOrderOutput { - """The amount of the payment order""" - amount: Float - """The currency of the payment order""" - currency_code: String - """PayPal order ID""" - id: String - """The order ID generated by Payment Services""" - mp_order_id: String - """The status of the payment order""" - status: String -} - -"""Defines the origin location for that payment request""" -enum PaymentLocation { - PRODUCT_DETAIL - MINICART - CART - CHECKOUT - ADMIN -} - -"""Retrieves the payment configuration for a given location""" -type PaymentConfigOutput { - """ApplePay payment method configuration""" - apple_pay: ApplePayConfig - """GooglePay payment method configuration""" - google_pay: GooglePayConfig - """Hosted fields payment method configuration""" - hosted_fields: HostedFieldsConfig - """Smart Buttons payment method configuration""" - smart_buttons: SmartButtonsConfig -} - -""" -Contains payment fields that are common to all types of payment methods. -""" -interface PaymentConfigItem { - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type PaymentCommonConfig implements PaymentConfigItem { - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type HostedFieldsConfig implements PaymentConfigItem { - """Vault payment method code""" - cc_vault_code: String - """The payment method code as defined in the payment gateway""" - code: String - """Card vault enabled""" - is_vault_enabled: Boolean - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The payment source for the payment method""" - payment_source: String - """Card and bin details required""" - requires_card_details: Boolean - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """Whether 3DS is activated; true if 3DS mode is not OFF.""" - three_ds: Boolean @deprecated(reason: "Use 'three_ds_mode' instead.") - """3DS mode""" - three_ds_mode: ThreeDSMode - """The name displayed for the payment method""" - title: String -} - -"""3D Secure mode.""" -enum ThreeDSMode { - OFF - SCA_WHEN_REQUIRED - SCA_ALWAYS -} - -type SmartButtonsConfig implements PaymentConfigItem { - """The styles for the PayPal Smart Button configuration""" - button_styles: ButtonStyles - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether to display the PayPal Pay Later message""" - display_message: Boolean - """Indicates whether to display Venmo""" - display_venmo: Boolean - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Contains details about the styles for the PayPal Pay Later message""" - message_styles: MessageStyles - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type ApplePayConfig implements PaymentConfigItem { - """The styles for the ApplePay Smart Button configuration""" - button_styles: ButtonStyles - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The payment source for the payment method""" - payment_source: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """The name displayed for the payment method""" - title: String -} - -type GooglePayConfig implements PaymentConfigItem { - """The styles for the GooglePay Button configuration""" - button_styles: GooglePayButtonStyles - """The payment method code as defined in the payment gateway""" - code: String - """Indicates whether the payment method is displayed""" - is_visible: Boolean - """Defines the payment intent (Authorize or Capture""" - payment_intent: String - """The payment source for the payment method""" - payment_source: String - """The PayPal parameters required to load the JS SDK""" - sdk_params: [SDKParams] - """ - The relative order the payment method is displayed on the checkout page - """ - sort_order: String - """3DS mode""" - three_ds_mode: ThreeDSMode - """The name displayed for the payment method""" - title: String -} - -type ButtonStyles { - """The button color""" - color: String - """The button height in pixels""" - height: Int - """The button label""" - label: String - """The button layout""" - layout: String - """The button shape""" - shape: String - """Indicates whether the tagline is displayed""" - tagline: Boolean - """ - Defines if the button uses default height. If the value is false, the value of height is used - """ - use_default_height: Boolean -} - -type GooglePayButtonStyles { - """The button color""" - color: String - """The button height in pixels""" - height: Int - """The button type""" - type: String -} - -type MessageStyles { - """The message layout""" - layout: String - """The message logo""" - logo: MessageStyleLogo -} - -type MessageStyleLogo { - """The type of logo for the PayPal Pay Later messaging""" - type: String -} - -"""Defines the name and value of a SDK parameter""" -type SDKParams { - """The name of the SDK parameter""" - name: String - """The value of the SDK parameter""" - value: String -} - -"""Vault payment inputs""" -input VaultMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String - """The public hash of the token.""" - public_hash: String -} - -"""Smart button payment inputs""" -input SmartButtonMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Apple Pay inputs""" -input ApplePayMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Google Pay inputs""" -input GooglePayMethodInput { - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Hosted Fields payment inputs""" -input HostedFieldsInput { - """Card bin number""" - cardBin: String - """Expiration month of the card""" - cardExpiryMonth: String - """Expiration year of the card""" - cardExpiryYear: String - """Last four digits of the card""" - cardLast4: String - """Name on the card""" - holderName: String - """ - Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the Payment Services payment integration. - """ - is_active_payment_token_enabler: Boolean - """The payment source for the payment method""" - payment_source: String - """The payment services order ID""" - payments_order_id: String - """PayPal order ID""" - paypal_order_id: String -} - -"""Describe the variables needed to create a vault card setup token""" -input CreateVaultCardSetupTokenInput { - """The setup token information""" - setup_token: VaultSetupTokenInput! - """The 3DS mode""" - three_ds_mode: ThreeDSMode -} - -"""The payment source information""" -input VaultSetupTokenInput { - """The payment source information""" - payment_source: PaymentSourceInput! -} - -"""The payment source information""" -input PaymentSourceInput { - """The card payment source information""" - card: CardPaymentSourceInput! -} - -"""The card payment source information""" -input CardPaymentSourceInput { - """The billing address of the card""" - billing_address: BillingAddressPaymentSourceInput! - """The name on the cardholder""" - name: String -} - -"""The billing address information""" -input BillingAddressPaymentSourceInput { - """The first line of the address""" - address_line_1: String - """The second line of the address""" - address_line_2: String - """The city of the address""" - city: String - """The country of the address""" - country_code: String! - """The postal code of the address""" - postal_code: String - """The region of the address""" - region: String -} - -"""The setup token id information""" -type CreateVaultCardSetupTokenOutput { - """The setup token id""" - setup_token: String! -} - -"""Describe the variables needed to create a vault payment token""" -input CreateVaultCardPaymentTokenInput { - """Description of the vaulted card""" - card_description: String - """The setup token obtained by the createVaultCardSetupToken endpoint""" - setup_token_id: String! -} - -"""The vault token id and information about the payment source""" -type CreateVaultCardPaymentTokenOutput { - """The payment source information""" - payment_source: PaymentSourceOutput! - """The vault payment token information""" - vault_token_id: String! -} - -"""The payment source information""" -type PaymentSourceOutput { - """The card payment source information""" - card: CardPaymentSourceOutput! -} - -"""The card payment source information""" -type CardPaymentSourceOutput { - """The brand of the card""" - brand: String - """The expiry of the card""" - expiry: String - """The last digits of the card""" - last_digits: String -} - -"""Retrieves the vault configuration""" -type VaultConfigOutput { - """Credit card vault method configuration""" - credit_card: VaultCreditCardConfig -} - -type VaultCreditCardConfig { - """Is vault enabled""" - is_vault_enabled: Boolean - """The parameters required to load the Paypal JS SDK""" - sdk_params: [SDKParams] - """3DS mode""" - three_ds_mode: ThreeDSMode -} - -""" -Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods. -""" -input PaypalExpressTokenInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! - """The payment method code.""" - code: String! - """ - Indicates whether the buyer selected the quick checkout button. The default value is false. - """ - express_button: Boolean - """ - A set of relative URLs that PayPal uses in response to various actions during the authorization process. - """ - urls: PaypalExpressUrlsInput! - """ - Indicates whether the buyer clicked the PayPal credit button. The default value is false. - """ - use_paypal_credit: Boolean -} - -"""Deprecated. Use `PaypalExpressTokenOutput` instead.""" -type PaypalExpressToken { - """ - A set of URLs that allow the buyer to authorize payment and adjust checkout details. - """ - paypal_urls: PaypalExpressUrlList @deprecated(reason: "Use `PaypalExpressTokenOutput.paypal_urls` instead.") - """The token returned by PayPal.""" - token: String @deprecated(reason: "Use `PaypalExpressTokenOutput.token` instead.") -} - -""" -Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods. -""" -type PaypalExpressTokenOutput { - """ - A set of URLs that allow the buyer to authorize payment and adjust checkout details. - """ - paypal_urls: PaypalExpressUrlList - """The token returned by PayPal.""" - token: String -} - -""" -Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods. -""" -type PayflowLinkToken { - """The mode for the Payflow transaction.""" - mode: PayflowLinkMode - """The PayPal URL used for requesting a Payflow form.""" - paypal_url: String - """The secure token generated by PayPal.""" - secure_token: String - """The secure token ID generated by PayPal.""" - secure_token_id: String -} - -""" -Contains the secure URL used for the Payments Pro Hosted Solution payment method. -""" -type HostedProUrl { - """The secure URL generated by PayPal.""" - secure_form_url: String -} - -""" -Contains the required input to request the secure URL for Payments Pro Hosted Solution payment. -""" -input HostedProUrlInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! -} - -""" -Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method. -""" -input HostedProInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. For example, if the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the final confirmation page that PayPal redirects to upon payment success. For example, if the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! -} - -""" -Contains required input for Express Checkout and Payments Standard payments. -""" -input PaypalExpressInput { - """The unique ID of the PayPal user.""" - payer_id: String! - """The token returned by the `createPaypalExpressToken` mutation.""" - token: String! -} - -"""Contains required input for Payflow Express Checkout payments.""" -input PayflowExpressInput { - """The unique ID of the PayPal user.""" - payer_id: String! - """The token returned by the createPaypalExpressToken mutation.""" - token: String! -} - -""" -Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods. -""" -input PaypalExpressUrlsInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the page that PayPal redirects to when the payment has been put on hold for additional review. This condition mostly applies to ACH transactions, and is not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success_pending.html, the relative URL is paypal/action/success_pending.html. - """ - pending_url: String - """ - The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! - """ - The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. Not applicable to most PayPal solutions. If the full URL to this page is https://www.example.com/paypal/action/success.html, the relative URL is paypal/action/success.html. - """ - success_url: String -} - -""" -Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions. -""" -type PaypalExpressUrlList { - """The PayPal URL that allows the buyer to edit their checkout details.""" - edit: String - """The URL to the PayPal login page.""" - start: String -} - -""" -A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods. -""" -input PayflowLinkInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. - """ - error_url: String! - """ - The relative URL of the order confirmation page that PayPal redirects to when the payment is successful and additional confirmation is not needed. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! -} - -""" -Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods. -""" -input PayflowLinkTokenInput { - """The unique ID that identifies the customer's cart.""" - cart_id: String! -} - -""" -Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods. -""" -enum PayflowLinkMode { - TEST - LIVE -} - -""" -Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods. -""" -input PayflowProTokenInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! - """A set of relative URLs that PayPal uses for callback.""" - urls: PayflowProUrlInput! -} - -"""Contains input for the Payflow Pro and Payments Pro payment methods.""" -input PayflowProInput { - """Required input for credit card related information.""" - cc_details: CreditCardDetailsInput! - """ - Indicates whether details about the shopper's credit/debit card should be tokenized for later usage. Required only if Vault is enabled for the PayPal Payflow Pro payment integration. - """ - is_active_payment_token_enabler: Boolean -} - -"""Required fields for Payflow Pro and Payments Pro credit card payments.""" -input CreditCardDetailsInput { - """The credit card expiration month.""" - cc_exp_month: Int! - """The credit card expiration year.""" - cc_exp_year: Int! - """The last 4 digits of the credit card.""" - cc_last_4: Int! - """The credit card type.""" - cc_type: String! -} - -""" -Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods. -""" -input PayflowProUrlInput { - """ - The relative URL of the page that PayPal redirects to when the buyer cancels the transaction in order to choose a different payment method. If the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html. - """ - cancel_url: String! - """ - The relative URL of the transaction error page that PayPal redirects to upon payment error. If the full URL to this page is https://www.example.com/paypal/action/error.html, the relative URL is paypal/action/error.html. - """ - error_url: String! - """ - The relative URL of the final confirmation page that PayPal redirects to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html. - """ - return_url: String! -} - -""" -Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. -""" -type PayflowProToken { - """ - The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. - """ - response_message: String! - """A non-zero value if any errors occurred.""" - result: Int! - """ - The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. - """ - result_code: Int! - """A secure token generated by PayPal.""" - secure_token: String! - """A secure token ID generated by PayPal.""" - secure_token_id: String! -} - -""" -Contains the secure information used to authorize transaction. Applies to Payflow Pro and Payments Pro payment methods. -""" -type CreatePayflowProTokenOutput { - """ - The RESPMSG returned by PayPal. If the `result` is `0`, then `response_message` is `Approved`. - """ - response_message: String! - """A non-zero value if any errors occurred.""" - result: Int! - """ - The RESULT returned by PayPal. A value of `0` indicates the transaction was approved. - """ - result_code: Int! - """A secure token generated by PayPal.""" - secure_token: String! - """A secure token ID generated by PayPal.""" - secure_token_id: String! -} - -""" -Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods. -""" -input PayflowProResponseInput { - """The unique ID that identifies the shopper's cart.""" - cart_id: String! - """The payload returned from PayPal.""" - paypal_payload: String! -} - -type PayflowProResponseOutput { - """The cart with the updated selected payment method.""" - cart: Cart! -} - -"""Contains required input for payment methods with Vault support.""" -input VaultTokenInput { - """The public hash of the payment token.""" - public_hash: String! -} - -"""Contains the comment to be added to a purchase order.""" -input AddPurchaseOrderCommentInput { - """Comment text.""" - comment: String! - """The unique ID of a purchase order.""" - purchase_order_uid: ID! -} - -"""Contains the successfully added comment.""" -type AddPurchaseOrderCommentOutput { - """The purchase order comment.""" - comment: PurchaseOrderComment! -} - -"""Contains details about a purchase order.""" -type PurchaseOrder { - """The approval flows for each applied rules.""" - approval_flow: [PurchaseOrderRuleApprovalFlow]! - """ - Purchase order actions available to the customer. Can be used to display action buttons on the client. - """ - available_actions: [PurchaseOrderAction]! - """The set of comments applied to the purchase order.""" - comments: [PurchaseOrderComment]! - """The date the purchase order was created.""" - created_at: String! - """The company user who created the purchase order.""" - created_by: Customer - """The log of the events related to the purchase order.""" - history_log: [PurchaseOrderHistoryItem]! - """The purchase order number.""" - number: String! - """The reference to the order placed based on the purchase order.""" - order: CustomerOrder - """The quote related to the purchase order.""" - quote: Cart - """The current status of the purchase order.""" - status: PurchaseOrderStatus! - """A unique identifier for the purchase order.""" - uid: ID! - """The date the purchase order was last updated.""" - updated_at: String! -} - -"""Defines which purchase orders to act on.""" -input PurchaseOrdersActionInput { - """An array of purchase order UIDs.""" - purchase_order_uids: [ID]! -} - -"""Returns a list of updated purchase orders and any error messages.""" -type PurchaseOrdersActionOutput { - """An array of error messages encountered while performing the operation.""" - errors: [PurchaseOrderActionError]! - """A list of purchase orders.""" - purchase_orders: [PurchaseOrder]! -} - -"""Contains details about a failed action.""" -type PurchaseOrderActionError { - """The returned error message.""" - message: String! - """The error type.""" - type: PurchaseOrderErrorType! -} - -enum PurchaseOrderErrorType { - NOT_FOUND - OPERATION_NOT_APPLICABLE - COULD_NOT_SAVE - NOT_VALID_DATA - UNDEFINED -} - -enum PurchaseOrderAction { - REJECT - CANCEL - VALIDATE - APPROVE - PLACE_ORDER -} - -enum PurchaseOrderStatus { - PENDING - APPROVAL_REQUIRED - APPROVED - ORDER_IN_PROGRESS - ORDER_PLACED - ORDER_FAILED - REJECTED - CANCELED - APPROVED_PENDING_PAYMENT -} - -"""Contains details about a comment.""" -type PurchaseOrderComment { - """The user who left the comment.""" - author: Customer - """The date and time when the comment was created.""" - created_at: String! - """The text of the comment.""" - text: String! - """A unique identifier of the comment.""" - uid: ID! -} - -"""Contains details about a status change.""" -type PurchaseOrderHistoryItem { - """The activity type of the event.""" - activity: String! - """The date and time when the event happened.""" - created_at: String! - """The message representation of the event.""" - message: String! - """A unique identifier of the purchase order history item.""" - uid: ID! -} - -"""Defines the criteria to use to filter the list of purchase orders.""" -input PurchaseOrdersFilterInput { - """Include only purchase orders made by subordinate company users.""" - company_purchase_orders: Boolean - """Filter by the creation date of the purchase order.""" - created_date: FilterRangeTypeInput - """ - Include only purchase orders that are waiting for the customer’s approval. - """ - require_my_approval: Boolean - """Filter by the status of the purchase order.""" - status: PurchaseOrderStatus -} - -"""Contains a list of purchase orders.""" -type PurchaseOrders { - """Purchase orders matching the search criteria.""" - items: [PurchaseOrder]! - """Page information of search result's current page.""" - page_info: SearchResultPageInfo - """Total number of purchase orders found matching the search criteria.""" - total_count: Int -} - -"""Specifies the quote to be converted to a purchase order.""" -input PlacePurchaseOrderInput { - """The unique ID of a `Cart` object.""" - cart_id: String! -} - -"""Specifies the purchase order to convert to an order.""" -input PlaceOrderForPurchaseOrderInput { - """The unique ID of a purchase order.""" - purchase_order_uid: ID! -} - -"""Contains the results of the request to place a purchase order.""" -type PlacePurchaseOrderOutput { - """Placed purchase order.""" - purchase_order: PurchaseOrder! -} - -"""Contains the results of the request to place an order.""" -type PlaceOrderForPurchaseOrderOutput { - """Placed order.""" - order: CustomerOrder! -} - -"""Defines the purchase order and cart to act on.""" -input AddPurchaseOrderItemsToCartInput { - """The ID to assign to the cart.""" - cart_id: String! - """Purchase order unique ID.""" - purchase_order_uid: ID! - """Replace existing cart or merge items.""" - replace_existing_cart_items: Boolean! -} - -"""Defines the changes to be made to an approval rule.""" -input UpdatePurchaseOrderApprovalRuleInput { - """ - An updated list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. - """ - applies_to: [ID] - """ - An updated list of B2B user roles that can approve this purchase order approval rule. - """ - approvers: [ID] - """The updated condition of the purchase order approval rule.""" - condition: CreatePurchaseOrderApprovalRuleConditionInput - """The updated approval rule description.""" - description: String - """The updated approval rule name.""" - name: String - """The updated status of the purchase order approval rule.""" - status: PurchaseOrderApprovalRuleStatus - """Unique identifier for the purchase order approval rule.""" - uid: ID! -} - -"""Defines a new purchase order approval rule.""" -input PurchaseOrderApprovalRuleInput { - """ - A list of company user role IDs to which this purchase order approval rule should be applied. When an empty array is provided, the rule is applied to all user roles in the system, including those created in the future. - """ - applies_to: [ID]! - """ - A list of B2B user roles that can approve this purchase order approval rule. - """ - approvers: [ID]! - """The condition of the purchase order approval rule.""" - condition: CreatePurchaseOrderApprovalRuleConditionInput! - """A summary of the purpose of the purchase order approval rule.""" - description: String - """The purchase order approval rule name.""" - name: String! - """The status of the purchase order approval rule.""" - status: PurchaseOrderApprovalRuleStatus! -} - -"""Defines a set of conditions that apply to a rule.""" -input CreatePurchaseOrderApprovalRuleConditionInput { - """ - The amount to be compared in a purchase order approval rule. This field is mutually exclusive with condition quantity. - """ - amount: CreatePurchaseOrderApprovalRuleConditionAmountInput - """The type of approval rule.""" - attribute: PurchaseOrderApprovalRuleType! - """Defines how to evaluate an amount or quantity in a purchase order.""" - operator: PurchaseOrderApprovalRuleConditionOperator! - """ - The quantity to be compared in a purchase order approval rule. This field is mutually exclusive with condition amount. - """ - quantity: Int -} - -"""Specifies the amount and currency to evaluate.""" -input CreatePurchaseOrderApprovalRuleConditionAmountInput { - """Purchase order approval rule condition amount currency.""" - currency: CurrencyEnum! - """Purchase order approval rule condition amount value.""" - value: Float! -} - -"""Contains metadata that can be used to render rule edit forms.""" -type PurchaseOrderApprovalRuleMetadata { - """A list of B2B user roles that the rule can be applied to.""" - available_applies_to: [CompanyRole]! - """ - A list of currencies that can be used to create approval rules based on amounts, for example shipping cost rules. - """ - available_condition_currencies: [AvailableCurrency]! - """ - A list of B2B user roles that can be specified as approvers for the approval rules. - """ - available_requires_approval_from: [CompanyRole]! -} - -""" -Defines the code and symbol of a currency that can be used for purchase orders. -""" -type AvailableCurrency { - """3-letter currency code, for example USD.""" - code: CurrencyEnum! - """Currency symbol, for example $.""" - symbol: String! -} - -"""Contains the approval rules that the customer can see.""" -type PurchaseOrderApprovalRules { - """A list of purchase order approval rules visible to the customer.""" - items: [PurchaseOrderApprovalRule]! - """Result pagination details.""" - page_info: SearchResultPageInfo - """ - The total number of purchase order approval rules visible to the customer. - """ - total_count: Int -} - -"""Contains details about a purchase order approval rule.""" -type PurchaseOrderApprovalRule { - """ - The name of the user(s) affected by the the purchase order approval rule. - """ - applies_to_roles: [CompanyRole]! - """ - The name of the user who needs to approve purchase orders that trigger the approval rule. - """ - approver_roles: [CompanyRole]! - """Condition which triggers the approval rule.""" - condition: PurchaseOrderApprovalRuleConditionInterface - """The date the purchase order rule was created.""" - created_at: String! - """The name of the user who created the purchase order approval rule.""" - created_by: String! - """Description of the purchase order approval rule.""" - description: String - """The name of the purchase order approval rule.""" - name: String! - """The status of the purchase order approval rule.""" - status: PurchaseOrderApprovalRuleStatus! - """The unique identifier for the purchase order approval rule.""" - uid: ID! - """The date the purchase order rule was last updated.""" - updated_at: String! -} - -"""Purchase order rule condition details.""" -interface PurchaseOrderApprovalRuleConditionInterface { - """The type of purchase order approval rule.""" - attribute: PurchaseOrderApprovalRuleType - """The operator to be used for evaluating the approval rule condition.""" - operator: PurchaseOrderApprovalRuleConditionOperator -} - -""" -Contains approval rule condition details, including the amount to be evaluated. -""" -type PurchaseOrderApprovalRuleConditionAmount implements PurchaseOrderApprovalRuleConditionInterface { - """ - The amount to be be used for evaluation of the approval rule condition. - """ - amount: Money! - """The type of purchase order approval rule.""" - attribute: PurchaseOrderApprovalRuleType - """The operator to be used for evaluating the approval rule condition.""" - operator: PurchaseOrderApprovalRuleConditionOperator -} - -""" -Contains approval rule condition details, including the quantity to be evaluated. -""" -type PurchaseOrderApprovalRuleConditionQuantity implements PurchaseOrderApprovalRuleConditionInterface { - """The type of purchase order approval rule.""" - attribute: PurchaseOrderApprovalRuleType - """The operator to be used for evaluating the approval rule condition.""" - operator: PurchaseOrderApprovalRuleConditionOperator - """The quantity to be used for evaluation of the approval rule condition.""" - quantity: Int -} - -enum PurchaseOrderApprovalRuleConditionOperator { - MORE_THAN - LESS_THAN - MORE_THAN_OR_EQUAL_TO - LESS_THAN_OR_EQUAL_TO -} - -enum PurchaseOrderApprovalRuleStatus { - ENABLED - DISABLED -} - -enum PurchaseOrderApprovalRuleType { - GRAND_TOTAL - SHIPPING_INCL_TAX - NUMBER_OF_SKUS -} - -""" -Contains details about approval roles applied to the purchase order and status changes. -""" -type PurchaseOrderRuleApprovalFlow { - """The approval flow event related to the rule.""" - events: [PurchaseOrderApprovalFlowEvent]! - """The name of the applied rule.""" - rule_name: String! -} - -""" -Contains details about a single event in the approval flow of the purchase order. -""" -type PurchaseOrderApprovalFlowEvent { - """A formatted message.""" - message: String - """The approver name.""" - name: String - """The approver role.""" - role: String - """The status related to the event.""" - status: PurchaseOrderApprovalFlowItemStatus - """The date and time the event was updated.""" - updated_at: String -} - -enum PurchaseOrderApprovalFlowItemStatus { - PENDING - APPROVED - REJECTED -} - -"""Defines the purchase orders to be validated.""" -input ValidatePurchaseOrdersInput { - """An array of the purchase order IDs.""" - purchase_order_uids: [ID]! -} - -"""Contains the results of validation attempts.""" -type ValidatePurchaseOrdersOutput { - """An array of error messages encountered while performing the operation.""" - errors: [ValidatePurchaseOrderError]! - """An array of the purchase orders in the request.""" - purchase_orders: [PurchaseOrder]! -} - -"""Contains details about a failed validation attempt.""" -type ValidatePurchaseOrderError { - """The returned error message.""" - message: String! - """Error type.""" - type: ValidatePurchaseOrderErrorType! -} - -enum ValidatePurchaseOrderErrorType { - NOT_FOUND - OPERATION_NOT_APPLICABLE - COULD_NOT_SAVE - NOT_VALID_DATA - UNDEFINED -} - -"""Specifies the IDs of the approval rules to delete.""" -input DeletePurchaseOrderApprovalRuleInput { - """An array of purchase order approval rule IDs.""" - approval_rule_uids: [ID]! -} - -""" -Contains any errors encountered while attempting to delete approval rules. -""" -type DeletePurchaseOrderApprovalRuleOutput { - """An array of error messages encountered while performing the operation.""" - errors: [DeletePurchaseOrderApprovalRuleError]! -} - -""" -Contains details about an error that occurred when deleting an approval rule . -""" -type DeletePurchaseOrderApprovalRuleError { - """The text of the error message.""" - message: String - """The error type.""" - type: DeletePurchaseOrderApprovalRuleErrorType -} - -enum DeletePurchaseOrderApprovalRuleErrorType { - UNDEFINED - NOT_FOUND -} - -"""Assigns a specific `cart_id` to the empty cart.""" -input ClearCartInput { - """The unique ID of a `Cart` object.""" - uid: ID! -} - -"""Output of the request to clear the customer cart.""" -type ClearCartOutput { - """The cart after clear cart items.""" - cart: Cart - """An array of errors encountered while clearing the cart item""" - errors: [ClearCartError] -} - -"""Contains details about errors encountered when a customer clear cart.""" -type ClearCartError { - """A localized error message""" - message: String! - """A cart-specific error type.""" - type: ClearCartErrorType! -} - -enum ClearCartErrorType { - NOT_FOUND - UNAUTHORISED - INACTIVE - UNDEFINED -} - -enum ReCaptchaFormEnum { - PLACE_ORDER - CONTACT - CUSTOMER_LOGIN - CUSTOMER_FORGOT_PASSWORD - CUSTOMER_CREATE - CUSTOMER_EDIT - NEWSLETTER - PRODUCT_REVIEW - SENDFRIEND - BRAINTREE -} - -"""Contains reCAPTCHA V3-Invisible configuration details.""" -type ReCaptchaConfigurationV3 { - """The position of the invisible reCAPTCHA badge on each page.""" - badge_position: String! - """The message that appears to the user if validation fails.""" - failure_message: String! - """ - A list of forms on the storefront that have been configured to use reCAPTCHA V3. - """ - forms: [ReCaptchaFormEnum]! - """Return whether recaptcha is enabled or not""" - is_enabled: Boolean! - """ - A two-character code that specifies the language that is used for Google reCAPTCHA text and messaging. - """ - language_code: String - """ - The minimum score that identifies a user interaction as a potential risk. - """ - minimum_score: Float! - """ - The website key generated when the Google reCAPTCHA account was registered. - """ - website_key: String! -} - -""" -Contains details about configurable products added to a requisition list. -""" -type ConfigurableRequisitionListItem implements RequisitionListItemInterface { - """Selected configurable options for an item in the requisition list.""" - configurable_options: [SelectedConfigurableOption] - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """Details about a requisition list item.""" - product: ProductInterface! - """The quantity of the product added to the requisition list.""" - quantity: Float! - """The unique ID of an item in a requisition list.""" - uid: ID! -} - -"""Contains an array of product reviews.""" -type ProductReviews { - """An array of product reviews.""" - items: [ProductReview]! - """Metadata for pagination rendering.""" - page_info: SearchResultPageInfo! -} - -"""Contains details of a product review.""" -type ProductReview { - """The average of all ratings for this product.""" - average_rating: Float! - """The date the review was created.""" - created_at: String! - """The customer's nickname. Defaults to the customer name, if logged in.""" - nickname: String! - """The reviewed product.""" - product: ProductInterface! - """ - An array of ratings by rating category, such as quality, price, and value. - """ - ratings_breakdown: [ProductReviewRating]! - """The summary (title) of the review.""" - summary: String! - """The review text.""" - text: String! -} - -"""Contains data about a single aspect of a product review.""" -type ProductReviewRating { - """ - The label assigned to an aspect of a product that is being rated, such as quality or price. - """ - name: String! - """ - The rating value given by customer. By default, possible values range from 1 to 5. - """ - value: String! -} - -"""Contains an array of metadata about each aspect of a product review.""" -type ProductReviewRatingsMetadata { - """An array of product reviews sorted by position.""" - items: [ProductReviewRatingMetadata]! -} - -"""Contains details about a single aspect of a product review.""" -type ProductReviewRatingMetadata { - """An encoded rating ID.""" - id: String! - """ - The label assigned to an aspect of a product that is being rated, such as quality or price. - """ - name: String! - """List of product review ratings sorted by position.""" - values: [ProductReviewRatingValueMetadata]! -} - -"""Contains details about a single value in a product review.""" -type ProductReviewRatingValueMetadata { - """A ratings scale, such as the number of stars awarded.""" - value: String! - """An encoded rating value ID.""" - value_id: String! -} - -"""Contains the completed product review.""" -type CreateProductReviewOutput { - """Product review details.""" - review: ProductReview! -} - -"""Defines a new product review.""" -input CreateProductReviewInput { - """The customer's nickname. Defaults to the customer name, if logged in.""" - nickname: String! - """ - The ratings details by category. For example, Price: 5 stars, Quality: 4 stars, etc. - """ - ratings: [ProductReviewRatingInput]! - """The SKU of the reviewed product.""" - sku: String! - """The summary (title) of the review.""" - summary: String! - """The review text.""" - text: String! -} - -"""Contains the reviewer's rating for a single aspect of a review.""" -input ProductReviewRatingInput { - """An encoded rating ID.""" - id: String! - """An encoded rating value ID.""" - value_id: String! -} - -"""Contains details about a customer's reward points.""" -type RewardPoints { - """The current balance of reward points.""" - balance: RewardPointsAmount - """ - The balance history of reward points. If the ability for customers to view the balance history has been disabled in the Admin, this field will be set to null. - """ - balance_history: [RewardPointsBalanceHistoryItem] - """The current exchange rates for reward points.""" - exchange_rates: RewardPointsExchangeRates - """The subscription status of emails related to reward points.""" - subscription_status: RewardPointsSubscriptionStatus -} - -type RewardPointsAmount { - """The reward points amount in store currency.""" - money: Money! - """The reward points amount in points.""" - points: Float! -} - -""" -Lists the reward points exchange rates. The values depend on the customer group. -""" -type RewardPointsExchangeRates { - """How many points are earned for a given amount spent.""" - earning: RewardPointsRate - """ - How many points must be redeemed to get a given amount of currency discount at the checkout. - """ - redemption: RewardPointsRate -} - -"""Contains details about customer's reward points rate.""" -type RewardPointsRate { - """ - The money value for the exchange rate. For earnings, this is the amount spent to earn the specified points. For redemption, this is the amount of money the number of points represents. - """ - currency_amount: Float! - """ - The number of points for an exchange rate. For earnings, this is the number of points earned. For redemption, this is the number of points needed for redemption. - """ - points: Float! -} - -"""Indicates whether the customer subscribes to reward points emails.""" -type RewardPointsSubscriptionStatus { - """ - Indicates whether the customer subscribes to 'Reward points balance updates' emails. - """ - balance_updates: RewardPointsSubscriptionStatusesEnum! - """ - Indicates whether the customer subscribes to 'Reward points expiration notifications' emails. - """ - points_expiration_notifications: RewardPointsSubscriptionStatusesEnum! -} - -enum RewardPointsSubscriptionStatusesEnum { - SUBSCRIBED - NOT_SUBSCRIBED -} - -"""Contain details about the reward points transaction.""" -type RewardPointsBalanceHistoryItem { - """The award points balance after the completion of the transaction.""" - balance: RewardPointsAmount - """The reason the balance changed.""" - change_reason: String! - """The date of the transaction.""" - date: String! - """The number of points added or deducted in the transaction.""" - points_change: Float! -} - -"""Contains the customer cart.""" -type ApplyRewardPointsToCartOutput { - """The customer cart after reward points are applied.""" - cart: Cart! -} - -"""Contains the customer cart.""" -type RemoveRewardPointsFromCartOutput { - """The customer cart after reward points are removed.""" - cart: Cart! -} - -"""Contains information needed to start a return request.""" -input RequestReturnInput { - """ - Text the buyer entered that describes the reason for the refund request. - """ - comment_text: String - """ - The email address the buyer enters to receive notifications about the status of the return. - """ - contact_email: String - """An array of items to be returned.""" - items: [RequestReturnItemInput]! - """The unique ID for a `Order` object.""" - order_uid: ID! -} - -"""Contains details about an item to be returned.""" -input RequestReturnItemInput { - """Details about a custom attribute that was entered.""" - entered_custom_attributes: [EnteredCustomAttributeInput] - """The unique ID for a `OrderItemInterface` object.""" - order_item_uid: ID! - """The quantity of the item to be returned.""" - quantity_to_return: Float! - """ - An array of selected custom option IDs associated with the item to be returned. For example, the IDs for the selected color and size of a configurable product. - """ - selected_custom_attributes: [SelectedCustomAttributeInput] -} - -"""Contains details about a custom text attribute that the buyer entered.""" -input EnteredCustomAttributeInput { - """A string that identifies the entered custom attribute.""" - attribute_code: String! - """The text or other entered value.""" - value: String! -} - -"""Contains details about an attribute the buyer selected.""" -input SelectedCustomAttributeInput { - """A string that identifies the selected attribute.""" - attribute_code: String! - """ - The unique ID for a `CustomAttribute` object of a selected custom attribute. - """ - value: ID! -} - -"""Contains the response to a return request.""" -type RequestReturnOutput { - """Details about a single return request.""" - return: Return - """An array of return requests.""" - returns( - """ - Specifies the maximum number of results to return at once. The default is 20. - """ - pageSize: Int = 20 - """Specifies which page of results to return. The default is 1.""" - currentPage: Int = 1 - ): Returns -} - -"""Defines a return comment.""" -input AddReturnCommentInput { - """The text added to the return request.""" - comment_text: String! - """The unique ID for a `Return` object.""" - return_uid: ID! -} - -"""Contains details about the return request.""" -type AddReturnCommentOutput { - """The modified return.""" - return: Return -} - -"""Defines tracking information to be added to the return.""" -input AddReturnTrackingInput { - """The unique ID for a `ReturnShippingCarrier` object.""" - carrier_uid: ID! - """The unique ID for a `Returns` object.""" - return_uid: ID! - """The shipping tracking number for this return request.""" - tracking_number: String! -} - -"""Contains the response after adding tracking information.""" -type AddReturnTrackingOutput { - """Details about the modified return.""" - return: Return - """Details about shipping for a return.""" - return_shipping_tracking: ReturnShippingTracking -} - -"""Defines the tracking information to delete.""" -input RemoveReturnTrackingInput { - """The unique ID for a `ReturnShippingTracking` object.""" - return_shipping_tracking_uid: ID! -} - -"""Contains the response after deleting tracking information.""" -type RemoveReturnTrackingOutput { - """Contains details about the modified return.""" - return: Return -} - -"""Contains a list of customer return requests.""" -type Returns { - """A list of return requests.""" - items: [Return] - """Pagination metadata.""" - page_info: SearchResultPageInfo - """The total number of return requests.""" - total_count: Int -} - -"""Contains details about a return.""" -type Return { - """A list of shipping carriers available for returns.""" - available_shipping_carriers: [ReturnShippingCarrier] - """A list of comments posted for the return request.""" - comments: [ReturnComment] - """The date the return was requested.""" - created_at: String! - """Data from the customer who created the return request.""" - customer: ReturnCustomer! - """A list of items being returned.""" - items: [ReturnItem] - """A human-readable return number.""" - number: String! - """The order associated with the return.""" - order: CustomerOrder - """Shipping information for the return.""" - shipping: ReturnShipping - """The status of the return request.""" - status: ReturnStatus - """The unique ID for a `Return` object.""" - uid: ID! -} - -"""The customer information for the return.""" -type ReturnCustomer { - """The email address of the customer.""" - email: String! - """The first name of the customer.""" - firstname: String - """The last name of the customer.""" - lastname: String -} - -"""Contains details about a product being returned.""" -type ReturnItem { - """Return item custom attributes that are visible on the storefront.""" - custom_attributes: [ReturnCustomAttribute] @deprecated(reason: "Use custom_attributesV2 instead.") - """Custom attributes that are visible on the storefront.""" - custom_attributesV2: [AttributeValueInterface] - """ - Provides access to the product being returned, including information about selected and entered options. - """ - order_item: OrderItemInterface! - """The quantity of the item the merchant authorized to be returned.""" - quantity: Float! - """The quantity of the item requested to be returned.""" - request_quantity: Float! - """The return status of the item.""" - status: ReturnItemStatus! - """The unique ID for a `ReturnItem` object.""" - uid: ID! -} - -"""Return Item attribute metadata.""" -type ReturnItemAttributeMetadata implements CustomAttributeMetadataInterface { - """ - The unique identifier for an attribute code. This value should be in lowercase letters without spaces. - """ - code: ID! - """Default attribute value.""" - default_value: String - """The type of entity that defines the attribute.""" - entity_type: AttributeEntityTypeEnum! - """The frontend class of the attribute.""" - frontend_class: String - """The frontend input type of the attribute.""" - frontend_input: AttributeFrontendInputEnum - """The template used for the input of the attribute (e.g., 'date').""" - input_filter: InputFilterEnum - """Whether the attribute value is required.""" - is_required: Boolean! - """Whether the attribute value must be unique.""" - is_unique: Boolean! - """The label assigned to the attribute.""" - label: String - """The number of lines of the attribute value.""" - multiline_count: Int - """Attribute options.""" - options: [CustomAttributeOptionInterface]! - """The position of the attribute in the form.""" - sort_order: Int - """The validation rules of the attribute value.""" - validate_rules: [ValidationRule] -} - -"""Contains details about a `ReturnCustomerAttribute` object.""" -type ReturnCustomAttribute { - """A description of the attribute.""" - label: String! - """The unique ID for a `ReturnCustomAttribute` object.""" - uid: ID! - """A JSON-encoded value of the attribute.""" - value: String! -} - -"""Contains details about a return comment.""" -type ReturnComment { - """The name or author who posted the comment.""" - author_name: String! - """The date and time the comment was posted.""" - created_at: String! - """The contents of the comment.""" - text: String! - """The unique ID for a `ReturnComment` object.""" - uid: ID! -} - -"""Contains details about the return shipping address.""" -type ReturnShipping { - """The merchant-defined return shipping address.""" - address: ReturnShippingAddress - """ - The unique ID for a `ReturnShippingTracking` object. If a single UID is specified, the array contains a single tracking record. Otherwise, array contains all tracking information. - """ - tracking(uid: ID): [ReturnShippingTracking] -} - -"""Contains details about the carrier on a return.""" -type ReturnShippingCarrier { - """A description of the shipping carrier.""" - label: String! - """ - The unique ID for a `ReturnShippingCarrier` object assigned to the shipping carrier. - """ - uid: ID! -} - -"""Contains shipping and tracking details.""" -type ReturnShippingTracking { - """Contains details of a shipping carrier.""" - carrier: ReturnShippingCarrier! - """Details about the status of a shipment.""" - status: ReturnShippingTrackingStatus - """A tracking number assigned by the carrier.""" - tracking_number: String! - """ - The unique ID for a `ReturnShippingTracking` object assigned to the tracking item. - """ - uid: ID! -} - -"""Contains the status of a shipment.""" -type ReturnShippingTrackingStatus { - """Text that describes the status.""" - text: String! - """Indicates whether the status type is informational or an error.""" - type: ReturnShippingTrackingStatusType! -} - -enum ReturnShippingTrackingStatusType { - INFORMATION - ERROR -} - -""" -Contains details about the shipping address used for receiving returned items. -""" -type ReturnShippingAddress { - """The city for product returns.""" - city: String! - """The merchant's contact person.""" - contact_name: String - """An object that defines the country for product returns.""" - country: Country! - """The postal code for product returns.""" - postcode: String! - """An object that defines the state or province for product returns.""" - region: Region! - """The street address for product returns.""" - street: [String]! - """The telephone number for product returns.""" - telephone: String -} - -enum ReturnStatus { - PENDING - AUTHORIZED - PARTIALLY_AUTHORIZED - RECEIVED - PARTIALLY_RECEIVED - APPROVED - PARTIALLY_APPROVED - REJECTED - PARTIALLY_REJECTED - DENIED - PROCESSED_AND_CLOSED - CLOSED -} - -enum ReturnItemStatus { - PENDING - AUTHORIZED - RECEIVED - APPROVED - REJECTED - DENIED -} - -"""Defines the wish list visibility types.""" -enum WishlistVisibilityEnum { - PUBLIC - PRIVATE -} - -"""Contains the wish list.""" -type CreateWishlistOutput { - """The newly-created wish list""" - wishlist: Wishlist! -} - -""" -Contains the status of the request to delete a wish list and an array of the customer's remaining wish lists. -""" -type DeleteWishlistOutput { - """Indicates whether the wish list was deleted.""" - status: Boolean! - """A list of undeleted wish lists.""" - wishlists: [Wishlist]! -} - -"""Contains the source and target wish lists after copying products.""" -type CopyProductsBetweenWishlistsOutput { - """The destination wish list containing the copied products.""" - destination_wishlist: Wishlist! - """The wish list that the products were copied from.""" - source_wishlist: Wishlist! - """An array of errors encountered while copying products in a wish list.""" - user_errors: [WishListUserInputError]! -} - -"""Specifies the IDs of items to copy and their quantities.""" -input WishlistItemCopyInput { - """ - The quantity of this item to copy to the destination wish list. This value can't be greater than the quantity in the source wish list. - """ - quantity: Float - """The unique ID of the `WishlistItemInterface` object to be copied.""" - wishlist_item_id: ID! -} - -"""Specifies the IDs of the items to move and their quantities.""" -input WishlistItemMoveInput { - """ - The quantity of this item to move to the destination wish list. This value can't be greater than the quantity in the source wish list. - """ - quantity: Float - """The unique ID of the `WishlistItemInterface` object to be moved.""" - wishlist_item_id: ID! -} - -"""Defines the name and visibility of a new wish list.""" -input CreateWishlistInput { - """The name of the new wish list.""" - name: String! - """Indicates whether the wish list is public or private.""" - visibility: WishlistVisibilityEnum! -} - -"""Contains the name and visibility of an updated wish list.""" -type UpdateWishlistOutput { - """The wish list name.""" - name: String! - """The unique ID of a `Wishlist` object.""" - uid: ID! - """Indicates whether the wish list is public or private.""" - visibility: WishlistVisibilityEnum! -} - -"""Contains the source and target wish lists after moving products.""" -type MoveProductsBetweenWishlistsOutput { - """ - The destination wish list after receiving products moved from the source wish list. - """ - destination_wishlist: Wishlist! - """The source wish list after moving products from it.""" - source_wishlist: Wishlist! - """An array of errors encountered while moving products to a wish list.""" - user_errors: [WishListUserInputError]! -} - -type SearchTerm { - """Containes the popularity of the selected Search Term""" - popularity: Int - """Containes the query_text of the selected Search Term""" - query_text: String - """Containes the Url of the selected Search Term""" - redirect: String -} - -"""Defines the referenced product and the email sender and recipients.""" -input SendEmailToFriendInput { - """The ID of the product that the sender is referencing.""" - product_id: Int! - """An array containing information about each recipient.""" - recipients: [SendEmailToFriendRecipientInput]! - """Information about the customer and the content of the message.""" - sender: SendEmailToFriendSenderInput! -} - -"""Contains details about the sender.""" -input SendEmailToFriendSenderInput { - """The email address of the sender.""" - email: String! - """The text of the message to be sent.""" - message: String! - """The name of the sender.""" - name: String! -} - -"""Contains details about a recipient.""" -input SendEmailToFriendRecipientInput { - """The email address of the recipient.""" - email: String! - """The name of the recipient.""" - name: String! -} - -"""Contains information about the sender and recipients.""" -type SendEmailToFriendOutput { - """An array containing information about each recipient.""" - recipients: [SendEmailToFriendRecipient] - """Information about the customer and the content of the message.""" - sender: SendEmailToFriendSender -} - -"""An output object that contains information about the sender.""" -type SendEmailToFriendSender { - """The email address of the sender.""" - email: String! - """The text of the message to be sent.""" - message: String! - """The name of the sender.""" - name: String! -} - -"""An output object that contains information about the recipient.""" -type SendEmailToFriendRecipient { - """The email address of the recipient.""" - email: String! - """The name of the recipient.""" - name: String! -} - -""" -Contains details about the configuration of the Email to a Friend feature. -""" -type SendFriendConfiguration { - """Indicates whether the Email to a Friend feature is enabled.""" - enabled_for_customers: Boolean! - """Indicates whether the Email to a Friend feature is enabled for guests.""" - enabled_for_guests: Boolean! -} - -""" -Deprecated. Use `TierPrice` instead. Defines a tier price, which is a quantity discount offered to a specific customer group. -""" -type ProductTierPrices { - """The ID of the customer group.""" - customer_group_id: String @deprecated(reason: "Not relevant for the storefront.") - """The percentage discount of the item.""" - percentage_value: Float @deprecated(reason: "Use `TierPrice.discount` instead.") - """ - The number of items that must be purchased to qualify for tier pricing. - """ - qty: Float @deprecated(reason: "Use `TierPrice.quantity` instead.") - """The price of the fixed price item.""" - value: Float @deprecated(reason: "Use `TierPrice.final_price` instead.") - """The ID assigned to the website.""" - website_id: Float @deprecated(reason: "Not relevant for the storefront.") -} - -"""Defines a price based on the quantity purchased.""" -type TierPrice { - """The price discount that this tier represents.""" - discount: ProductDiscount - """The price of the product at this tier.""" - final_price: Money - """ - The minimum number of items that must be purchased to qualify for this price tier. - """ - quantity: Float -} - -interface SwatchLayerFilterItemInterface { - """Data required to render a swatch filter item.""" - swatch_data: SwatchData -} - -type SwatchLayerFilterItem implements LayerFilterItemInterface & SwatchLayerFilterItemInterface { - """The count of items per filter.""" - items_count: Int @deprecated(reason: "Use `AggregationOption.count` instead.") - """The label for a filter.""" - label: String @deprecated(reason: "Use `AggregationOption.label` instead.") - """Data required to render a swatch filter item.""" - swatch_data: SwatchData - """The value of a filter request variable to be used in query.""" - value_string: String @deprecated(reason: "Use `AggregationOption.value` instead.") -} - -"""Describes the swatch type and a value.""" -type SwatchData { - """The type of swatch filter item: 1 - text; 2 - image.""" - type: String - """The value for the swatch item. It could be text or an image link.""" - value: String -} - -interface SwatchDataInterface { - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -type ImageSwatchData implements SwatchDataInterface { - """The URL assigned to the thumbnail of the swatch image.""" - thumbnail: String - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -type TextSwatchData implements SwatchDataInterface { - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -type ColorSwatchData implements SwatchDataInterface { - """The value can be represented as color (HEX code), image link, or text.""" - value: String -} - -"""Swatch attribute metadata input types.""" -enum SwatchInputTypeEnum { - BOOLEAN - DATE - DATETIME - DROPDOWN - FILE - GALLERY - HIDDEN - IMAGE - MEDIA_IMAGE - MULTILINE - MULTISELECT - PRICE - SELECT - TEXT - TEXTAREA - UNDEFINED - VISUAL - WEIGHT -} - -enum TaxWrappingEnum { - DISPLAY_EXCLUDING_TAX - DISPLAY_INCLUDING_TAX - DISPLAY_TYPE_BOTH -} - -""" -Indicates whether the request succeeded and returns the remaining customer payment tokens. -""" -type DeletePaymentTokenOutput { - """A container for the customer's remaining payment tokens.""" - customerPaymentTokens: CustomerPaymentTokens - """Indicates whether the request succeeded.""" - result: Boolean! -} - -"""Contains payment tokens stored in the customer's vault.""" -type CustomerPaymentTokens { - """An array of payment tokens.""" - items: [PaymentToken]! -} - -"""The stored payment method available to the customer.""" -type PaymentToken { - """A description of the stored account details.""" - details: String - """The payment method code associated with the token.""" - payment_method_code: String! - """The public hash of the token.""" - public_hash: String! - """Specifies the payment token type.""" - type: PaymentTokenTypeEnum! -} - -"""The list of available payment token types.""" -enum PaymentTokenTypeEnum { - """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" - card - """phpcs:ignore Magento2.GraphQL.ValidArgumentName""" - account -} - -"""A single FPT that can be applied to a product price.""" -type FixedProductTax { - """The amount of the Fixed Product Tax.""" - amount: Money - """The display label assigned to the Fixed Product Tax.""" - label: String -} - -"""Lists display settings for the Fixed Product Tax.""" -enum FixedProductTaxDisplaySettings { - """ - The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to 'Including FPT only'. - """ - INCLUDE_FPT_WITHOUT_DETAILS - """ - The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to 'Including FPT and FPT description'. - """ - INCLUDE_FPT_WITH_DETAILS - """ - The displayed price does not include the FPT amount. The values of `ProductPrice.fixed_product_taxes` and the price including the FPT are displayed separately. This value corresponds to 'Excluding FPT, Including FPT description and final price.' - """ - EXCLUDE_FPT_AND_INCLUDE_WITH_DETAILS - """ - The displayed price does not include the FPT amount. The values from `ProductPrice.fixed_product_taxes` are not displayed. This value corresponds to 'Excluding FPT'. - """ - EXCLUDE_FPT_WITHOUT_DETAILS - """ - The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query. - """ - FPT_DISABLED -} - -type UiAttributeTypeFixedProductTax implements UiInputTypeInterface { - """Indicates whether the attribute value allowed to have html content.""" - is_html_allowed: Boolean - """The frontend input type of the attribute.""" - ui_input_type: UiInputTypeEnum -} - -"""Contains details about gift cards added to a requisition list.""" -type GiftCardRequisitionListItem implements RequisitionListItemInterface { - """Selected custom options for an item in the requisition list.""" - customizable_options: [SelectedCustomizableOption]! - """An array that defines gift card properties.""" - gift_card_options: GiftCardOptions! - """Details about a requisition list item.""" - product: ProductInterface! - """The amount added.""" - quantity: Float! - """The unique ID for the requisition list item.""" - uid: ID! -} - -input BraintreeInput { - """ - Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway. - """ - device_data: String - """ - States whether the payment details (Credit/Debit Card, PayPal Account) entered by a customer should be tokenized for later usage. Required only if Vault is enabled for the relevant Braintree payment integration. - """ - is_active_payment_token_enabler: Boolean! - """ - The one-time payment token generated by Braintree payment gateway based on payment details (Card, PayPal). Required field to make sale transaction. - """ - payment_method_nonce: String! -} - -input BraintreeCcVaultInput { - device_data: String - public_hash: String! -} - -input BraintreeVaultInput { - device_data: String - public_hash: String! -} \ No newline at end of file diff --git a/.mesh/sources/AdobeCommerceAPI/types.js b/.mesh/sources/AdobeCommerceAPI/types.js deleted file mode 100644 index d7cea79c..00000000 --- a/.mesh/sources/AdobeCommerceAPI/types.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -// @ts-nocheck -Object.defineProperty(exports, "__esModule", { value: true }); From 7953916685b6113cc9bb3653160588e9ebdc8dcd Mon Sep 17 00:00:00 2001 From: Brasewel Noronha <100383619+brasewel@users.noreply.github.com> Date: Wed, 26 Mar 2025 11:33:28 -0500 Subject: [PATCH 11/57] Update src/commands/api-mesh/set-log-forwarding.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/set-log-forwarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index 39c58ae8..fd9a2e71 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -146,6 +146,6 @@ class SetLogForwardingCommand extends Command { SetLogForwardingCommand.description = `Sets the log forwarding destination for API mesh. - Select a log forwarding destination: Choose from available options ( example : newrelic). - Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : If the hosted region of New Relic account is U.S, the base URI can be 'https://log-api.newrelic.com/log/v1'). -- Enter the license key: Provide the INGEST-LICENSE API key type.`; +- Enter the license key - Provide the INGEST-LICENSE API key type.`; module.exports = SetLogForwardingCommand; From 11377c650783fdb21f0c94248c63d2933f9d701a Mon Sep 17 00:00:00 2001 From: Brasewel Noronha <100383619+brasewel@users.noreply.github.com> Date: Wed, 26 Mar 2025 11:33:39 -0500 Subject: [PATCH 12/57] Update src/commands/api-mesh/set-log-forwarding.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/set-log-forwarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index fd9a2e71..9fb533be 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -145,7 +145,7 @@ class SetLogForwardingCommand extends Command { SetLogForwardingCommand.description = `Sets the log forwarding destination for API mesh. - Select a log forwarding destination: Choose from available options ( example : newrelic). -- Enter the base URI: Provide the URI for the log forwarding service. Ensure it includes the protocol ( example : If the hosted region of New Relic account is U.S, the base URI can be 'https://log-api.newrelic.com/log/v1'). +- Enter the base URI - Provide the URI for the log forwarding service. Ensure it includes the protocol (for example, if the hosted region of the New Relic account is the U.S, the base URI could be 'https://log-api.newrelic.com/log/v1'). - Enter the license key - Provide the INGEST-LICENSE API key type.`; module.exports = SetLogForwardingCommand; From 7b6d0b029569d8e02802b77c189ea1c1ba09b61d Mon Sep 17 00:00:00 2001 From: Brasewel Noronha <100383619+brasewel@users.noreply.github.com> Date: Wed, 26 Mar 2025 11:33:50 -0500 Subject: [PATCH 13/57] Update src/commands/api-mesh/set-log-forwarding.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/set-log-forwarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index 9fb533be..f30f28ee 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -144,7 +144,7 @@ class SetLogForwardingCommand extends Command { } SetLogForwardingCommand.description = `Sets the log forwarding destination for API mesh. -- Select a log forwarding destination: Choose from available options ( example : newrelic). +- Select a log forwarding destination - Choose from available options (for example, New Relic). - Enter the base URI - Provide the URI for the log forwarding service. Ensure it includes the protocol (for example, if the hosted region of the New Relic account is the U.S, the base URI could be 'https://log-api.newrelic.com/log/v1'). - Enter the license key - Provide the INGEST-LICENSE API key type.`; From 68b1d6690eadb10d7fb74b068d1731147c3ff644 Mon Sep 17 00:00:00 2001 From: Brasewel Noronha <100383619+brasewel@users.noreply.github.com> Date: Wed, 26 Mar 2025 11:33:56 -0500 Subject: [PATCH 14/57] Update src/commands/api-mesh/set-log-forwarding.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/set-log-forwarding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/set-log-forwarding.js index f30f28ee..65e2a468 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/set-log-forwarding.js @@ -92,7 +92,7 @@ class SetLogForwardingCommand extends Command { return { destinationConfig, imsOrgCode, projectId, workspaceId, workspaceName }; } else { this.error( - `Unable to set log forwarding details. Please try again. RequestId: ${global.requestId}`, + `Unable to set log forwarding details. Try again. RequestId: ${global.requestId}`, ); return; } From e2ac7c0f8be3fc14be13ba13d92a9afe5dceba42 Mon Sep 17 00:00:00 2001 From: Revanth Date: Wed, 2 Apr 2025 13:28:32 -0500 Subject: [PATCH 15/57] Warn if includeHTTPDetails is used in a production workspace while creating or updating a mesh --- src/commands/api-mesh/create.js | 17 +++++++++++++++++ src/commands/api-mesh/update.js | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index 82d862b1..73b83365 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -10,6 +10,8 @@ governing permissions and limitations under the License. */ const { Command } = require('@oclif/core'); +const chalk = require('chalk'); + const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../helpers'); const logger = require('../../classes/logger'); const { @@ -122,6 +124,21 @@ class CreateCommand extends Command { let shouldContinue = true; + if ( + data?.meshConfig?.responseConfig?.includeHTTPDetails && + workspaceName.toLowerCase() === 'production' + ) { + this.warn( + `The mesh config has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( + 'true', + )}. This is a security risk and should not be used in a production workspace.\n` + + 'Setting it to true will expose the HTTP request and response details in the mesh logs. This can lead to sensitive information being exposed.\n' + + `Please consider setting ${chalk.yellowBright( + 'includeHTTPDetails', + )} to ${chalk.greenBright('false')} in the meshConfig.`, + ); + } + if (!autoConfirmAction) { shouldContinue = await promptConfirm(`Are you sure you want to create a mesh?`); } diff --git a/src/commands/api-mesh/update.js b/src/commands/api-mesh/update.js index f8ad8fad..059b8451 100644 --- a/src/commands/api-mesh/update.js +++ b/src/commands/api-mesh/update.js @@ -10,6 +10,7 @@ governing permissions and limitations under the License. */ const { Command } = require('@oclif/command'); +const chalk = require('chalk'); const logger = require('../../classes/logger'); const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../helpers'); @@ -130,6 +131,21 @@ class UpdateCommand extends Command { if (meshId) { let shouldContinue = true; + if ( + data?.meshConfig?.responseConfig?.includeHTTPDetails && + workspaceName.toLowerCase() === 'production' + ) { + this.warn( + `The mesh config has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( + 'true', + )}. This is a security risk and should not be used in a production workspace.\n` + + 'Setting it to true will expose the HTTP request and response details in the mesh logs. This can lead to sensitive information being exposed.\n' + + `Please consider setting ${chalk.yellowBright( + 'includeHTTPDetails', + )} to ${chalk.greenBright('false')} in the meshConfig.`, + ); + } + if (!autoConfirmAction) { shouldContinue = await promptConfirm( `Are you sure you want to update the mesh: ${meshId}?`, From 41a6f4b67b316c7fa1c3de2ec9f177c27dd55c9b Mon Sep 17 00:00:00 2001 From: Revanth Date: Wed, 2 Apr 2025 15:00:21 -0500 Subject: [PATCH 16/57] Initializing metadata and sending it in every sms request --- package.json | 3 ++ src/commands/api-mesh/cache/purge.js | 4 +- src/commands/api-mesh/create.js | 4 +- src/commands/api-mesh/delete.js | 4 +- src/commands/api-mesh/describe.js | 4 +- src/commands/api-mesh/get.js | 4 +- src/commands/api-mesh/log-get-bulk.js | 3 +- src/commands/api-mesh/log-get.js | 4 +- src/commands/api-mesh/log-list.js | 4 +- src/commands/api-mesh/run.js | 10 +--- src/commands/api-mesh/source/discover.js | 11 +---- src/commands/api-mesh/source/get.js | 9 +--- src/commands/api-mesh/source/install.js | 3 +- src/commands/api-mesh/status.js | 3 +- src/commands/api-mesh/update.js | 4 +- src/helpers.js | 58 ++++++++++++++++++++++-- src/hooks/initMetadata.js | 8 ++++ src/lib/devConsole.js | 15 ++++++ 18 files changed, 94 insertions(+), 61 deletions(-) create mode 100644 src/hooks/initMetadata.js diff --git a/package.json b/package.json index 3972ec05..fd6616ae 100644 --- a/package.json +++ b/package.json @@ -142,6 +142,9 @@ "@oclif/plugin-help" ], "hooks": { + "init": [ + "./src/hooks/initMetadata.js" + ], "prerun": [ "./src/hooks/versionCompare.js" ] diff --git a/src/commands/api-mesh/cache/purge.js b/src/commands/api-mesh/cache/purge.js index 25196f9c..44eee970 100644 --- a/src/commands/api-mesh/cache/purge.js +++ b/src/commands/api-mesh/cache/purge.js @@ -12,7 +12,7 @@ governing permissions and limitations under the License. const { Command } = require('@oclif/command'); const logger = require('../../../classes/logger'); -const { initSdk, initRequestId, promptConfirm } = require('../../../helpers'); +const { initSdk, promptConfirm } = require('../../../helpers'); const { ignoreCacheFlag, autoConfirmActionFlag, @@ -30,8 +30,6 @@ class CachePurgeCommand extends Command { }; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(CachePurgeCommand); diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index 82d862b1..7e9a1b7b 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -10,7 +10,7 @@ governing permissions and limitations under the License. */ const { Command } = require('@oclif/core'); -const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../helpers'); +const { initSdk, promptConfirm, importFiles } = require('../../helpers'); const logger = require('../../classes/logger'); const { ignoreCacheFlag, @@ -42,8 +42,6 @@ class CreateCommand extends Command { static enableJsonFlag = true; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { args, flags } = await this.parse(CreateCommand); diff --git a/src/commands/api-mesh/delete.js b/src/commands/api-mesh/delete.js index 7a9a8f7b..5ebaf3a8 100644 --- a/src/commands/api-mesh/delete.js +++ b/src/commands/api-mesh/delete.js @@ -12,7 +12,7 @@ governing permissions and limitations under the License. const { Command } = require('@oclif/command'); const logger = require('../../classes/logger'); -const { initSdk, initRequestId, promptConfirm } = require('../../helpers'); +const { initSdk, promptConfirm } = require('../../helpers'); const { ignoreCacheFlag, autoConfirmActionFlag } = require('../../utils'); const { getMeshId, deleteMesh } = require('../../lib/devConsole'); @@ -25,8 +25,6 @@ class DeleteCommand extends Command { }; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(DeleteCommand); diff --git a/src/commands/api-mesh/describe.js b/src/commands/api-mesh/describe.js index d6295537..f808ebca 100644 --- a/src/commands/api-mesh/describe.js +++ b/src/commands/api-mesh/describe.js @@ -11,7 +11,7 @@ governing permissions and limitations under the License. const { Command } = require('@oclif/command'); const logger = require('../../classes/logger'); -const { initSdk, initRequestId } = require('../../helpers'); +const { initSdk } = require('../../helpers'); const { ignoreCacheFlag } = require('../../utils'); const { describeMesh } = require('../../lib/devConsole'); const { buildMeshUrl } = require('../../urlBuilder'); @@ -24,8 +24,6 @@ class DescribeCommand extends Command { }; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(DescribeCommand); diff --git a/src/commands/api-mesh/get.js b/src/commands/api-mesh/get.js index 1efdc0fd..5931bba2 100644 --- a/src/commands/api-mesh/get.js +++ b/src/commands/api-mesh/get.js @@ -13,7 +13,7 @@ const { Command } = require('@oclif/core'); const { writeFile } = require('fs/promises'); const logger = require('../../classes/logger'); -const { initSdk, initRequestId } = require('../../helpers'); +const { initSdk } = require('../../helpers'); const { ignoreCacheFlag, jsonFlag } = require('../../utils'); const { getMeshId, getMesh } = require('../../lib/devConsole'); const { buildMeshUrl } = require('../../urlBuilder'); @@ -29,8 +29,6 @@ class GetCommand extends Command { static enableJsonFlag = true; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { args, flags } = await this.parse(GetCommand); diff --git a/src/commands/api-mesh/log-get-bulk.js b/src/commands/api-mesh/log-get-bulk.js index 2de68e68..34f48a7c 100644 --- a/src/commands/api-mesh/log-get-bulk.js +++ b/src/commands/api-mesh/log-get-bulk.js @@ -1,7 +1,7 @@ const { Command } = require('@oclif/core'); const path = require('path'); const fs = require('fs'); -const { initRequestId, initSdk, promptConfirm } = require('../../helpers'); +const { initSdk, promptConfirm } = require('../../helpers'); const { getMeshId, getPresignedUrls } = require('../../lib/devConsole'); const logger = require('../../classes/logger'); const axios = require('axios'); @@ -36,7 +36,6 @@ class GetBulkLogCommand extends Command { const columnHeaders = 'EventTimestampMs,Exceptions,Logs,Outcome,MeshId,RayID,URL,Request Method,Response Status,Level'; - await initRequestId(); logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(GetBulkLogCommand); const ignoreCache = await flags.ignoreCache; diff --git a/src/commands/api-mesh/log-get.js b/src/commands/api-mesh/log-get.js index 10ba7219..4bf4ca61 100644 --- a/src/commands/api-mesh/log-get.js +++ b/src/commands/api-mesh/log-get.js @@ -10,7 +10,7 @@ governing permissions and limitations under the License. */ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); -const { initSdk, initRequestId } = require('../../helpers'); +const { initSdk } = require('../../helpers'); const { ignoreCacheFlag } = require('../../utils'); const { getMeshId, getLogsByRayId } = require('../../lib/devConsole'); require('dotenv').config(); @@ -22,8 +22,6 @@ class FetchLogsCommand extends Command { }; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { args, flags } = await this.parse(FetchLogsCommand); diff --git a/src/commands/api-mesh/log-list.js b/src/commands/api-mesh/log-list.js index 06203f36..b756ab37 100644 --- a/src/commands/api-mesh/log-list.js +++ b/src/commands/api-mesh/log-list.js @@ -1,7 +1,7 @@ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); -const { initSdk, initRequestId } = require('../../helpers'); +const { initSdk } = require('../../helpers'); const { ignoreCacheFlag, fileNameFlag } = require('../../utils'); const { getMeshId, listLogs } = require('../../lib/devConsole'); const { appendFileSync, existsSync } = require('fs'); @@ -18,8 +18,6 @@ class ListLogsCommand extends Command { static enableJsonFlag = true; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(ListLogsCommand); diff --git a/src/commands/api-mesh/run.js b/src/commands/api-mesh/run.js index 85402520..7bcfdd0f 100644 --- a/src/commands/api-mesh/run.js +++ b/src/commands/api-mesh/run.js @@ -27,13 +27,7 @@ const { const meshBuilder = require('@adobe-apimesh/mesh-builder'); const fs = require('fs'); const path = require('path'); -const { - initSdk, - initRequestId, - importFiles, - setUpTenantFiles, - writeSecretsFile, -} = require('../../helpers'); +const { initSdk, importFiles, setUpTenantFiles, writeSecretsFile } = require('../../helpers'); const logger = require('../../classes/logger'); const { getMeshId, getMeshArtifact } = require('../../lib/devConsole'); require('dotenv').config(); @@ -67,8 +61,6 @@ class RunCommand extends Command { static examples = []; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { args, flags } = await this.parse(RunCommand); diff --git a/src/commands/api-mesh/source/discover.js b/src/commands/api-mesh/source/discover.js index 5df07d83..71694524 100644 --- a/src/commands/api-mesh/source/discover.js +++ b/src/commands/api-mesh/source/discover.js @@ -10,12 +10,7 @@ governing permissions and limitations under the License. */ const { Command, CliUx, Flags } = require('@oclif/core'); -const { - promptConfirm, - initRequestId, - promptMultiselect, - promptSelect, -} = require('../../../helpers'); +const { promptConfirm, promptMultiselect, promptSelect } = require('../../../helpers'); const SourceRegistryStorage = require('source-registry-storage-adapter'); const config = require('@adobe/aio-lib-core-config'); const logger = require('../../../classes/logger'); @@ -24,8 +19,6 @@ const InstallCommand = require('./install'); class DiscoverCommand extends Command { async run() { try { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(DiscoverCommand); const srs = new SourceRegistryStorage(config.get('api-mesh.sourceRegistry.path')); @@ -58,7 +51,7 @@ class DiscoverCommand extends Command { } catch (error) { logger.error(error); this.error(` - Something went wrong with "discover" command. Please try again later. + Something went wrong with "discover" command. Please try again later. ${error} `); } diff --git a/src/commands/api-mesh/source/get.js b/src/commands/api-mesh/source/get.js index 39150f0a..4f6cc985 100644 --- a/src/commands/api-mesh/source/get.js +++ b/src/commands/api-mesh/source/get.js @@ -12,12 +12,7 @@ governing permissions and limitations under the License. const { Command, Flags } = require('@oclif/core'); const SourceRegistryStorage = require('source-registry-storage-adapter'); -const { - promptMultiselect, - promptSelect, - promptConfirm, - initRequestId, -} = require('../../../helpers'); +const { promptMultiselect, promptSelect, promptConfirm } = require('../../../helpers'); const ncp = require('node-clipboardy'); const chalk = require('chalk'); const config = require('@adobe/aio-lib-core-config'); @@ -33,8 +28,6 @@ class GetCommand extends Command { async run() { try { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); let list; try { diff --git a/src/commands/api-mesh/source/install.js b/src/commands/api-mesh/source/install.js index b7f823d7..01062538 100644 --- a/src/commands/api-mesh/source/install.js +++ b/src/commands/api-mesh/source/install.js @@ -12,7 +12,7 @@ governing permissions and limitations under the License. const { Command, Flags } = require('@oclif/core'); const SourceRegistryStorage = require('source-registry-storage-adapter'); -const { promptConfirm, promptInput, initRequestId, initSdk } = require('../../../helpers'); +const { promptConfirm, promptInput, initSdk } = require('../../../helpers'); const { ignoreCacheFlag } = require('../../../utils'); const config = require('@adobe/aio-lib-core-config'); const logger = require('../../../classes/logger'); @@ -33,7 +33,6 @@ class InstallCommand extends Command { async run() { const { flags, args } = await this.parse(InstallCommand); - await initRequestId(); logger.info(`RequestId: ${global.requestId}`); const ignoreCache = await flags.ignoreCache; const { diff --git a/src/commands/api-mesh/status.js b/src/commands/api-mesh/status.js index d2b587b8..55af48a1 100644 --- a/src/commands/api-mesh/status.js +++ b/src/commands/api-mesh/status.js @@ -1,7 +1,7 @@ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); -const { initRequestId, initSdk } = require('../../helpers'); +const { initSdk } = require('../../helpers'); const { getMeshId, getMesh, getMeshDeployments } = require('../../lib/devConsole'); const { ignoreCacheFlag } = require('../../utils'); @@ -13,7 +13,6 @@ class StatusCommand extends Command { }; async run() { - await initRequestId(); logger.info(`RequestId: ${global.requestId}`); const { flags } = await this.parse(StatusCommand); diff --git a/src/commands/api-mesh/update.js b/src/commands/api-mesh/update.js index f8ad8fad..2706af7a 100644 --- a/src/commands/api-mesh/update.js +++ b/src/commands/api-mesh/update.js @@ -12,7 +12,7 @@ governing permissions and limitations under the License. const { Command } = require('@oclif/command'); const logger = require('../../classes/logger'); -const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../helpers'); +const { initSdk, promptConfirm, importFiles } = require('../../helpers'); const { ignoreCacheFlag, autoConfirmActionFlag, @@ -38,8 +38,6 @@ class UpdateCommand extends Command { }; async run() { - await initRequestId(); - logger.info(`RequestId: ${global.requestId}`); const { args, flags } = await this.parse(UpdateCommand); diff --git a/src/helpers.js b/src/helpers.js index 842ba312..9327b52a 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -437,10 +437,38 @@ async function initSdk(options) { /** * Generates a static global requestid for the lifecycle of this command request */ -async function initRequestId() { +function initRequestId() { global.requestId = UUID.newUuid().toString(); } +/** + * + * This function initializes the metadata headers for the command execution + * + * @param {*} config + */ +function initMetadata(config) { + try { + const { version, plugins, userAgent, platform, arch } = config; + const currentIntalledVersion = getCurrentInstalledPluginVersion(plugins); + + const metadataHeaders = { + 'x-aio-cli-version': version, + 'x-aio-cli-user-agent': userAgent, + 'x-aio-cli-platform': platform, + 'x-aio-cli-arch': arch, + 'x-aio-cli-plugin-api-mesh-installed-version': currentIntalledVersion, + }; + + global.metadataHeaders = metadataHeaders; + } catch (error) { + logger.error('Unable to initialize metadata headers'); + logger.error(error.message); + + global.metadataHeaders = {}; + } +} + /** * Function to run the CLI Y/N prompt to confirm the user's action * @@ -884,17 +912,36 @@ async function writeSecretsFile(secretsData, meshId) { /** * - * This function fetches current installed version the system and the latest version from npm + * This function gets the current installed version of the plugin * * @param {*} installedPlugins - * @returns { currentVersion: string, latestVersion: string } + * @returns {string || null} - current installed version of the plugin */ -async function getPluginVersionDetails(installedPlugins) { +function getCurrentInstalledPluginVersion(installedPlugins) { try { const meshPlugin = installedPlugins.find( ({ name }) => name === '@adobe/aio-cli-plugin-api-mesh', ); - const currentVersion = meshPlugin.version; + + return meshPlugin.version; + } catch (err) { + logger.error('Unable to get current installed version'); + logger.error(err.message); + + return null; + } +} + +/** + * + * This function fetches current installed version the system and the latest version from npm + * + * @param {*} installedPlugins + * @returns { currentVersion: string, latestVersion: string } + */ +async function getPluginVersionDetails(installedPlugins) { + try { + const currentVersion = getCurrentInstalledPluginVersion(installedPlugins); let config = { method: 'get', @@ -953,6 +1000,7 @@ module.exports = { getDevConsoleConfig, initSdk, initRequestId, + initMetadata, promptSelect, promptMultiselect, importFiles, diff --git a/src/hooks/initMetadata.js b/src/hooks/initMetadata.js new file mode 100644 index 00000000..4558a87c --- /dev/null +++ b/src/hooks/initMetadata.js @@ -0,0 +1,8 @@ +const { initMetadata, initRequestId } = require('../helpers'); + +const hook = async function () { + initRequestId(); + initMetadata(this.config); +}; + +module.exports = hook; diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index d25f4e57..93636d97 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -119,6 +119,7 @@ const listLogs = async (organizationCode, projectId, workspaceId, meshId, fileNa method: 'get', url: fileName ? url + `?filename=${fileName}` : url, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, @@ -147,6 +148,7 @@ const getMesh = async (organizationId, projectId, workspaceId, workspaceName, me method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'workspaceName': workspaceName, @@ -238,6 +240,7 @@ const createMesh = async ( method: 'post', url: `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'Content-Type': 'application/json', 'x-request-id': global.requestId, @@ -254,6 +257,8 @@ const createMesh = async ( `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes`, ); + console.log(JSON.stringify(config, null, 2)); + try { const response = await axios(config); @@ -350,6 +355,7 @@ const updateMesh = async ( method: 'put', url: `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'Content-Type': 'application/json', 'x-request-id': global.requestId, @@ -441,6 +447,7 @@ const deleteMesh = async (organizationId, projectId, workspaceId, meshId) => { method: 'delete', url: `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, @@ -527,6 +534,7 @@ const cachePurge = async (organizationId, projectId, workspaceId, meshId) => { method: 'post', url: `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/cache/purge`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'Content-Type': 'application/json', 'x-request-id': global.requestId, @@ -617,6 +625,7 @@ const getMeshId = async (organizationCode, projectId, workspaceId, workspaceName method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/mesh`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'workspaceName': workspaceName, @@ -903,6 +912,7 @@ const getMeshArtifact = async (organizationId, projectId, workspaceId, workspace method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/artifact`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'workspaceName': workspaceName, @@ -961,6 +971,7 @@ const getTenantFeatures = async organizationCode => { method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationCode}/features`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, @@ -1016,6 +1027,7 @@ const getMeshDeployments = async (organizationCode, projectId, workspaceId, mesh method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/deployments/latest`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, @@ -1072,6 +1084,7 @@ const getPublicEncryptionKey = async organizationCode => { method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationCode}/getPublicKey`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, @@ -1117,6 +1130,7 @@ const getPresignedUrls = async ( method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/logs?startDateTime=${startTime}&endDateTime=${endTime}`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, @@ -1156,6 +1170,7 @@ const getLogsByRayId = async (organizationCode, projectId, workspaceId, meshId, method: 'get', url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/logs/${rayId}`, headers: { + ...global?.metadataHeaders, 'Authorization': `Bearer ${accessToken}`, 'x-request-id': global.requestId, 'x-api-key': SMS_API_KEY, From bd96dc8e295b100b893ec0853c96ca7a738e0a28 Mon Sep 17 00:00:00 2001 From: Revanth Date: Wed, 2 Apr 2025 15:02:10 -0500 Subject: [PATCH 17/57] Removing unnecessary console.log --- src/lib/devConsole.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 93636d97..5e4258f3 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -257,8 +257,6 @@ const createMesh = async ( `${SMS_BASE_URL}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes`, ); - console.log(JSON.stringify(config, null, 2)); - try { const response = await axios(config); From fe599e8de873a7e85cfd8571d1d313b252e4f81d Mon Sep 17 00:00:00 2001 From: Revanth Date: Wed, 2 Apr 2025 15:09:58 -0500 Subject: [PATCH 18/57] Minor --- src/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.js b/src/helpers.js index 9327b52a..28cb8093 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -457,7 +457,7 @@ function initMetadata(config) { 'x-aio-cli-user-agent': userAgent, 'x-aio-cli-platform': platform, 'x-aio-cli-arch': arch, - 'x-aio-cli-plugin-api-mesh-installed-version': currentIntalledVersion, + 'x-aio-cli-plugin-api-mesh-version': currentIntalledVersion, }; global.metadataHeaders = metadataHeaders; From 618f5605ff2d8a2c552e6d251c2f1b8a98f22ee9 Mon Sep 17 00:00:00 2001 From: Revanth Date: Wed, 2 Apr 2025 15:13:52 -0500 Subject: [PATCH 19/57] Tests fix --- .../api-mesh/__tests__/cache-purge.test.js | 3 +-- src/commands/api-mesh/__tests__/create.test.js | 17 +---------------- src/commands/api-mesh/__tests__/delete.test.js | 3 +-- .../api-mesh/__tests__/describe.test.js | 10 ++++------ src/commands/api-mesh/__tests__/get.test.js | 4 ++-- .../api-mesh/__tests__/log-get-bulk.test.js | 6 +----- src/commands/api-mesh/__tests__/update.test.js | 9 ++++----- 7 files changed, 14 insertions(+), 38 deletions(-) diff --git a/src/commands/api-mesh/__tests__/cache-purge.test.js b/src/commands/api-mesh/__tests__/cache-purge.test.js index 174b86f2..77eea4a4 100644 --- a/src/commands/api-mesh/__tests__/cache-purge.test.js +++ b/src/commands/api-mesh/__tests__/cache-purge.test.js @@ -29,7 +29,7 @@ const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type const selectedProject = { id: '5678', title: 'Project01' }; const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; const CachePurgeCommand = require('../cache/purge'); -const { initSdk, initRequestId, promptConfirm } = require('../../../helpers'); +const { initSdk, promptConfirm } = require('../../../helpers'); const { getMeshId, deleteMesh, @@ -229,7 +229,6 @@ describe('cache purge command tests', () => { cachePurge.mockResolvedValueOnce({ success: true }); const runResult = await CachePurgeCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(runResult).toMatchInlineSnapshot(` { "success": true, diff --git a/src/commands/api-mesh/__tests__/create.test.js b/src/commands/api-mesh/__tests__/create.test.js index d0243694..da9cb2a7 100644 --- a/src/commands/api-mesh/__tests__/create.test.js +++ b/src/commands/api-mesh/__tests__/create.test.js @@ -32,13 +32,7 @@ jest.mock('../../../lib/devConsole'); const CreateCommand = require('../create'); const sampleCreateMeshConfig = require('../../__fixtures__/sample_mesh.json'); const meshConfigWithComposerFiles = require('../../__fixtures__/sample_mesh_with_composer_files.json'); -const { - initSdk, - initRequestId, - promptConfirm, - interpolateMesh, - importFiles, -} = require('../../../helpers'); +const { initSdk, promptConfirm, interpolateMesh, importFiles } = require('../../../helpers'); const { getMesh, createMesh, @@ -340,7 +334,6 @@ describe('create command tests', () => { test('should create if a valid mesh config file is provided', async () => { const runResult = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "CODE1234@AdobeOrg", @@ -422,7 +415,6 @@ describe('create command tests', () => { const runResult = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "CODE1234@AdobeOrg", @@ -557,7 +549,6 @@ describe('create command tests', () => { await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(promptConfirm).not.toHaveBeenCalled(); expect(initSdk).toHaveBeenCalledWith({ ignoreCache: true, @@ -594,7 +585,6 @@ describe('create command tests', () => { await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(promptConfirm).toHaveBeenCalled(); expect(initSdk).toHaveBeenCalledWith({ ignoreCache: true, @@ -900,7 +890,6 @@ describe('create command tests', () => { const output = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "CODE1234@AdobeOrg", @@ -1158,7 +1147,6 @@ describe('create command tests', () => { const output = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "1234", @@ -1284,7 +1272,6 @@ describe('create command tests', () => { const output = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "1234", @@ -1412,7 +1399,6 @@ describe('create command tests', () => { const output = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "CODE1234@AdobeOrg", @@ -1540,7 +1526,6 @@ describe('create command tests', () => { const output = await CreateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(createMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "CODE1234@AdobeOrg", diff --git a/src/commands/api-mesh/__tests__/delete.test.js b/src/commands/api-mesh/__tests__/delete.test.js index 9725c210..137d42af 100644 --- a/src/commands/api-mesh/__tests__/delete.test.js +++ b/src/commands/api-mesh/__tests__/delete.test.js @@ -34,7 +34,7 @@ const selectedProject = { id: '5678', title: 'Project01' }; const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; const DeleteCommand = require('../delete'); -const { initSdk, initRequestId, promptConfirm } = require('../../../helpers'); +const { initSdk, promptConfirm } = require('../../../helpers'); const { getMeshId, deleteMesh, @@ -203,7 +203,6 @@ describe('delete command tests', () => { test('should delete mesh if correct args are provided', async () => { const runResult = await DeleteCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(runResult).toMatchInlineSnapshot(` { "status": "success", diff --git a/src/commands/api-mesh/__tests__/describe.test.js b/src/commands/api-mesh/__tests__/describe.test.js index 82bf4a70..df1de17d 100644 --- a/src/commands/api-mesh/__tests__/describe.test.js +++ b/src/commands/api-mesh/__tests__/describe.test.js @@ -33,7 +33,7 @@ jest.mock('chalk', () => ({ })); const DescribeCommand = require('../describe'); -const { initSdk, initRequestId } = require('../../../helpers'); +const { initSdk } = require('../../../helpers'); const { describeMesh, getMesh, getTenantFeatures } = require('../../../lib/devConsole'); const sampleCreateMeshConfig = require('../../__fixtures__/sample_mesh.json'); @@ -171,7 +171,7 @@ describe('describe command tests', () => { expect(logSpy.mock.calls).toMatchInlineSnapshot(` [ [ - "Successfully retrieved mesh details + "Successfully retrieved mesh details ", ], [ @@ -202,7 +202,6 @@ describe('describe command tests', () => { test('should return Non TI url if request is Non Ti', async () => { const runResult = await DescribeCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(describeMesh).toHaveBeenCalledWith( selectedOrg.code, selectedProject.id, @@ -223,7 +222,7 @@ describe('describe command tests', () => { expect(logSpy.mock.calls).toMatchInlineSnapshot(` [ [ - "Successfully retrieved mesh details + "Successfully retrieved mesh details ", ], [ @@ -258,7 +257,6 @@ describe('describe command tests', () => { getMesh.mockResolvedValue(fetchedMeshConfig); const runResult = await DescribeCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(describeMesh).toHaveBeenCalledWith( selectedOrg.code, selectedProject.id, @@ -279,7 +277,7 @@ describe('describe command tests', () => { expect(logSpy.mock.calls).toMatchInlineSnapshot(` [ [ - "Successfully retrieved mesh details + "Successfully retrieved mesh details ", ], [ diff --git a/src/commands/api-mesh/__tests__/get.test.js b/src/commands/api-mesh/__tests__/get.test.js index 1f47a328..0751fe2e 100644 --- a/src/commands/api-mesh/__tests__/get.test.js +++ b/src/commands/api-mesh/__tests__/get.test.js @@ -31,7 +31,7 @@ const selectedProject = { id: '5678', title: 'Project01' }; const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; const { writeFile } = require('fs/promises'); -const { initSdk, initRequestId } = require('../../../helpers'); +const { initSdk } = require('../../../helpers'); const GetCommand = require('../get'); const mockGetMeshConfig = require('../../__fixtures__/sample_mesh.json'); const { getMeshId, getMesh } = require('../../../lib/devConsole'); @@ -192,7 +192,7 @@ describe('get command tests', () => { ignoreCache: true, verbose: true, }); - expect(initRequestId).toHaveBeenCalled(); + expect(runResult).toMatchInlineSnapshot(` { "imsOrgId": "1234", diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index f8e32c26..18d8a7bf 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -1,7 +1,7 @@ const fs = require('fs'); const path = require('path'); const GetBulkLogCommand = require('../log-get-bulk'); -const { initRequestId, initSdk, promptConfirm } = require('../../../helpers'); +const { initSdk, promptConfirm } = require('../../../helpers'); const { getMeshId, getPresignedUrls } = require('../../../lib/devConsole'); const { suggestCorrectedDateFormat, @@ -251,7 +251,6 @@ describe('GetBulkLogCommand', () => { const command = new GetBulkLogCommand([], {}); await command.run(); - expect(initRequestId).toHaveBeenCalled(); expect(initSdk).toHaveBeenCalled(); expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); expect(getPresignedUrls).toHaveBeenCalledWith( @@ -355,7 +354,6 @@ describe('GetBulkLogCommand with --past and --from flags', () => { const command = new GetBulkLogCommand([], {}); await command.run(); - expect(initRequestId).toHaveBeenCalled(); expect(initSdk).toHaveBeenCalled(); expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); expect(getPresignedUrls).toHaveBeenCalledWith( @@ -420,7 +418,6 @@ describe('GetBulkLogCommand with --past and --from flags', () => { const command = new GetBulkLogCommand([], {}); await command.run(); - expect(initRequestId).toHaveBeenCalled(); expect(initSdk).toHaveBeenCalled(); expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); expect(getPresignedUrls).toHaveBeenCalledWith( @@ -465,7 +462,6 @@ describe('GetBulkLogCommand with --past and --from flags', () => { const command = new GetBulkLogCommand([], {}); await command.run(); - expect(initRequestId).toHaveBeenCalled(); expect(initSdk).toHaveBeenCalled(); expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); expect(getPresignedUrls).toHaveBeenCalledWith( diff --git a/src/commands/api-mesh/__tests__/update.test.js b/src/commands/api-mesh/__tests__/update.test.js index adb08921..7a1f7181 100644 --- a/src/commands/api-mesh/__tests__/update.test.js +++ b/src/commands/api-mesh/__tests__/update.test.js @@ -35,7 +35,7 @@ const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; const { readFile } = require('fs/promises'); const UpdateCommand = require('../update'); -const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../../helpers'); +const { initSdk, promptConfirm, importFiles } = require('../../../helpers'); const { getMeshId, updateMesh } = require('../../../lib/devConsole'); let logSpy = null; @@ -110,7 +110,7 @@ describe('update command tests', () => { "status": "success", } `); - expect(initRequestId).toHaveBeenCalled(); + expect(initSdk).toHaveBeenCalledWith({ ignoreCache: true, }); @@ -169,7 +169,7 @@ describe('update command tests', () => { "status": "success", } `); - expect(initRequestId).toHaveBeenCalled(); + expect(initSdk).toHaveBeenCalledWith({ ignoreCache: true, }); @@ -228,7 +228,7 @@ describe('update command tests', () => { "status": "success", } `); - expect(initRequestId).toHaveBeenCalled(); + expect(promptConfirm).not.toHaveBeenCalled(); expect(initSdk).toHaveBeenCalledWith({ ignoreCache: true, @@ -552,7 +552,6 @@ describe('update command tests', () => { const output = await UpdateCommand.run(); - expect(initRequestId).toHaveBeenCalled(); expect(updateMesh.mock.calls[0]).toMatchInlineSnapshot(` [ "CODE1234@AdobeOrg", From 5e70c62ce8877595a6330849c6c31e7ef3574cb8 Mon Sep 17 00:00:00 2001 From: ajaz Date: Thu, 3 Apr 2025 16:10:23 +0530 Subject: [PATCH 20/57] chore: updated command format --- .../api-mesh/__tests__/set-log-forwarding.test.js | 2 +- .../set/log-forwarding.js} | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) rename src/commands/api-mesh/{set-log-forwarding.js => config/set/log-forwarding.js} (94%) diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js index e7c46865..b13d8ac2 100644 --- a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag governing permissions and limitations under the License. */ -const SetLogForwardingCommand = require('../set-log-forwarding'); +const SetLogForwardingCommand = require('../config/set/log-forwarding'); const { initSdk, promptConfirm, diff --git a/src/commands/api-mesh/set-log-forwarding.js b/src/commands/api-mesh/config/set/log-forwarding.js similarity index 94% rename from src/commands/api-mesh/set-log-forwarding.js rename to src/commands/api-mesh/config/set/log-forwarding.js index 65e2a468..bdb19e61 100644 --- a/src/commands/api-mesh/set-log-forwarding.js +++ b/src/commands/api-mesh/config/set/log-forwarding.js @@ -17,10 +17,15 @@ const { promptSelect, promptInput, promptInputSecret, -} = require('../../helpers'); -const logger = require('../../classes/logger'); -const { ignoreCacheFlag, autoConfirmActionFlag, jsonFlag, destinations } = require('../../utils'); -const { setLogForwarding, getMeshId } = require('../../lib/devConsole'); +} = require('../../../../helpers'); +const logger = require('../../../../classes/logger'); +const { + ignoreCacheFlag, + autoConfirmActionFlag, + jsonFlag, + destinations, +} = require('../../../../utils'); +const { setLogForwarding, getMeshId } = require('../../../../lib/devConsole'); class SetLogForwardingCommand extends Command { static flags = { From f01edd0f1a68df833aaadb684a9c62b37a409a3d Mon Sep 17 00:00:00 2001 From: ajaz Date: Thu, 3 Apr 2025 07:52:31 -0500 Subject: [PATCH 21/57] chore: update --past to have integer values --- package.json | 1 - .../api-mesh/__tests__/log-get-bulk.test.js | 42 +++++++------------ src/utils.js | 14 ++----- 3 files changed, 20 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 5d886749..055b49ad 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,6 @@ "jsmin": "1.0.1", "json-interpolate": "^1.0.3", "lru-cache": "^7.14.1", - "ms": "^2.1.3", "node-clipboardy": "^1.0.3", "node-fetch": "2.6.1", "pino": "^9.5.0", diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index f8e32c26..8dc056b2 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -307,7 +307,7 @@ describe('GetBulkLogCommand with --past and --from flags', () => { fromDate.setDate(fromDate.getDate() - 29); // Set fromDate to 29 days ago parseSpy = jest.spyOn(GetBulkLogCommand.prototype, 'parse').mockResolvedValue({ flags: { - past: '20mins', + past: '20', from: fromDate.toISOString().slice(0, 10) + ':12:00:00', filename: 'test.csv', ignoreCache: false, @@ -376,7 +376,7 @@ describe('GetBulkLogCommand with --past and --from flags', () => { test('throws an error with invalid --from date components', async () => { parseSpy.mockResolvedValueOnce({ flags: { - past: '20mins', + past: '20', from: fromDate.toISOString().slice(0, 10) + ':25:61:61', filename: 'test.csv', ignoreCache: false, @@ -392,7 +392,7 @@ describe('GetBulkLogCommand with --past and --from flags', () => { test('throws an error with invalid --from date format', async () => { parseSpy.mockResolvedValueOnce({ flags: { - past: '15mins', + past: '15', from: fromDate.toISOString().slice(0, 10).replace(/-/g, ':') + ':15:00:00', filename: 'test.csv', ignoreCache: false, @@ -408,7 +408,7 @@ describe('GetBulkLogCommand with --past and --from flags', () => { test('runs with valid --past flag without --from', async () => { parseSpy.mockResolvedValueOnce({ flags: { - past: '15mins', + past: '15', filename: 'test.csv', ignoreCache: false, }, @@ -436,7 +436,7 @@ describe('GetBulkLogCommand with --past and --from flags', () => { test('throws an error with edge case for --past duration', async () => { parseSpy.mockResolvedValueOnce({ flags: { - past: '0s', + past: '0', from: fromDate.toISOString().slice(0, 10) + ':12:00:00', filename: 'test.csv', ignoreCache: false, @@ -445,14 +445,14 @@ describe('GetBulkLogCommand with --past and --from flags', () => { const command = new GetBulkLogCommand([], {}); await expect(command.run()).rejects.toThrow( - 'Invalid format. The past time window should be in minutes, for example, "20 mins", "15 minutes".', + 'The minimum duration is 1 minutes. The current duration is 0 minutes.', ); }); test('runs with edge case for --from date', async () => { parseSpy.mockResolvedValueOnce({ flags: { - past: '15mins', + past: '15', from: fromDate.toISOString().slice(0, 10) + ':00:00:00', filename: 'test.csv', ignoreCache: false, @@ -528,16 +528,9 @@ describe('validateDateTimeRange', () => { describe('parsePastDuration', () => { const validDurations = [ - ['20m', 20 * 60 * 1000], - ['20 m', 20 * 60 * 1000], - ['20min', 20 * 60 * 1000], - ['20 min', 20 * 60 * 1000], - ['20mins', 20 * 60 * 1000], - ['20 mins', 20 * 60 * 1000], - ['20minute', 20 * 60 * 1000], - ['20 minute', 20 * 60 * 1000], - ['20minutes', 20 * 60 * 1000], - ['20 minutes', 20 * 60 * 1000], + ['20', 20 * 60 * 1000], + ['30', 30 * 60 * 1000], + ['15', 15 * 60 * 1000], ]; test.each(validDurations)( @@ -548,14 +541,11 @@ describe('parsePastDuration', () => { }, ); - const invalidDurations = ['20h', '20 hours', '20s', '20 seconds']; + const invalidDurations = ['minutes', 'NaN', 'abc', '']; - test.each(invalidDurations)( - 'throws an error for invalid past duration format "%s"', - invalidPastDuration => { - expect(() => parsePastDuration(invalidPastDuration)).toThrow( - 'Invalid format. The past time window should be in minutes, for example, "20 mins", "15 minutes".', - ); - }, - ); + test.each(invalidDurations)('throws an error for non-numeric input "%s"', invalidPastDuration => { + expect(() => parsePastDuration(invalidPastDuration)).toThrow( + 'Invalid format. The past time window should be integer, for example, "20", "15".', + ); + }); }); diff --git a/src/utils.js b/src/utils.js index d989dff0..d8e21acb 100644 --- a/src/utils.js +++ b/src/utils.js @@ -6,7 +6,6 @@ const { readFile } = require('fs/promises'); const { interpolateMesh } = require('./helpers'); const dotenv = require('dotenv'); const YAML = require('yaml'); -const ms = require('ms'); const parseEnv = require('envsub/js/envsub-parser'); const os = require('os'); const chalk = require('chalk'); @@ -658,23 +657,18 @@ function suggestCorrectedDateFormat(inputDate) { /** * Parses a duration string representing a past time window and converts it to milliseconds. * - * @param {string} pastTimeWindow - The past time duration to parse, e.g., "20 mins", "15 minutes". + * @param {string} pastTimeWindow - The past time duration to parse, e.g., "20", "15". * @returns {number} The duration in milliseconds. */ function parsePastDuration(pastTimeWindow) { - // Regular expression to match various formats of minute abbreviations - const pastDurationRegex = /^(\d+)\s*(m|mins?|minutes?)$/i; - const match = pastTimeWindow.match(pastDurationRegex); + const durationInMs = parseInt(pastTimeWindow) * 60 * 1000; - if (!match) { + if (isNaN(durationInMs)) { throw new Error( - 'Invalid format. The past time window should be in minutes, for example, "20 mins", "15 minutes".', + 'Invalid format. The past time window should be integer, for example, "20", "15".', ); } - // Convert the matched duration to milliseconds - const durationInMs = ms(pastTimeWindow); - return durationInMs; } From 05fef1819880df27d320c4f0b5bc36b8d0ad34f5 Mon Sep 17 00:00:00 2001 From: ajaz Date: Thu, 3 Apr 2025 08:04:48 -0500 Subject: [PATCH 22/57] updated past TimeWindow duration check --- src/utils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index d8e21acb..8eaf90fc 100644 --- a/src/utils.js +++ b/src/utils.js @@ -661,9 +661,12 @@ function suggestCorrectedDateFormat(inputDate) { * @returns {number} The duration in milliseconds. */ function parsePastDuration(pastTimeWindow) { + // Check if pastTimeWindow contains non-numeric characters + const match = pastTimeWindow.match(/^(\d+)$/); + const durationInMs = parseInt(pastTimeWindow) * 60 * 1000; - if (isNaN(durationInMs)) { + if (isNaN(durationInMs) || !match) { throw new Error( 'Invalid format. The past time window should be integer, for example, "20", "15".', ); From 68397c214eb545983e16a372057d7514f203054d Mon Sep 17 00:00:00 2001 From: Revanth Date: Thu, 3 Apr 2025 11:27:59 -0500 Subject: [PATCH 23/57] Updated snapshots --- src/commands/api-mesh/__tests__/describe.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/api-mesh/__tests__/describe.test.js b/src/commands/api-mesh/__tests__/describe.test.js index df1de17d..4934df3e 100644 --- a/src/commands/api-mesh/__tests__/describe.test.js +++ b/src/commands/api-mesh/__tests__/describe.test.js @@ -171,7 +171,7 @@ describe('describe command tests', () => { expect(logSpy.mock.calls).toMatchInlineSnapshot(` [ [ - "Successfully retrieved mesh details + "Successfully retrieved mesh details ", ], [ @@ -222,7 +222,7 @@ describe('describe command tests', () => { expect(logSpy.mock.calls).toMatchInlineSnapshot(` [ [ - "Successfully retrieved mesh details + "Successfully retrieved mesh details ", ], [ @@ -277,7 +277,7 @@ describe('describe command tests', () => { expect(logSpy.mock.calls).toMatchInlineSnapshot(` [ [ - "Successfully retrieved mesh details + "Successfully retrieved mesh details ", ], [ From 06022125d79f2536f30126855c3c4b8a0469f8b5 Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Fri, 4 Apr 2025 17:35:05 +0530 Subject: [PATCH 24/57] feat: Added config get log-forwording command --- .../__tests__/get-log-forwarding.test.js | 122 ++++++++++++++++++ .../api-mesh/config/get/log-forwarding.js | 78 +++++++++++ src/lib/devConsole.js | 88 +++++++++++++ 3 files changed, 288 insertions(+) create mode 100644 src/commands/api-mesh/__tests__/get-log-forwarding.test.js create mode 100644 src/commands/api-mesh/config/get/log-forwarding.js diff --git a/src/commands/api-mesh/__tests__/get-log-forwarding.test.js b/src/commands/api-mesh/__tests__/get-log-forwarding.test.js new file mode 100644 index 00000000..2d6afd1c --- /dev/null +++ b/src/commands/api-mesh/__tests__/get-log-forwarding.test.js @@ -0,0 +1,122 @@ +/* +Copyright 2021 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +const GetLogForwardingCommand = require('../config/get/log-forwarding'); +const { initSdk, initRequestId } = require('../../../helpers'); +const { getLogForwarding, getMeshId } = require('../../../lib/devConsole'); + +jest.mock('../../../helpers', () => ({ + initSdk: jest.fn().mockResolvedValue({}), + initRequestId: jest.fn().mockResolvedValue({}), +})); +jest.mock('../../../lib/devConsole'); +jest.mock('../../../classes/logger'); + +describe('GetLogForwardingCommand', () => { + let logSpy; + let errorSpy; + + beforeEach(() => { + jest.spyOn(GetLogForwardingCommand.prototype, 'parse').mockResolvedValue({ + flags: { + ignoreCache: false, // Set the default value for ignoreCache + json: false, + }, + args: [], + }); + logSpy = jest.spyOn(GetLogForwardingCommand.prototype, 'log'); + errorSpy = jest.spyOn(GetLogForwardingCommand.prototype, 'error').mockImplementation(() => { + throw new Error(errorSpy.mock.calls[0][0]); + }); + + initRequestId.mockResolvedValue(); + initSdk.mockResolvedValue({ + imsOrgId: 'orgId', + imsOrgCode: 'orgCode', + projectId: 'projectId', + workspaceId: 'workspaceId', + workspaceName: 'workspaceName', + }); + getMeshId.mockResolvedValue('meshId'); + global.requestId = 'dummy_request_id'; + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + test('successfully retrieves log forwarding details', async () => { + const mockResponse = { + data: { destination: 'newrelic', config: { baseUri: 'https://example.com' } }, + }; + getLogForwarding.mockResolvedValue(mockResponse); + + const command = new GetLogForwardingCommand([], {}); + const result = await command.run(); + + expect(initRequestId).toHaveBeenCalled(); + expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); + expect(getLogForwarding).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'meshId'); + expect(logSpy).toHaveBeenCalledWith( + 'Successfully retrieved log forwarding details: \n', + JSON.stringify(mockResponse.data, null, 2), + ); + expect(result).toEqual({ + imsOrgCode: 'orgCode', + projectId: 'projectId', + workspaceId: 'workspaceId', + workspaceName: 'workspaceName', + }); + }); + + test('throws an error when getMeshId fails', async () => { + const errorMessage = 'Failed to fetch mesh ID'; + getMeshId.mockRejectedValue(new Error(errorMessage)); + + const command = new GetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + `Unable to get mesh ID. Check the details and try again. RequestId: dummy_request_id`, + ); + + expect(logSpy).toHaveBeenCalledWith(errorMessage); + }); + + test('throws an error when meshId is null', async () => { + getMeshId.mockResolvedValue(null); + + const command = new GetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + `Unable to get meshId. No mesh found for Org(orgCode) -> Project(projectId) -> Workspace(workspaceId). Check the details and try again.`, + ); + }); + + test('throws an error when getLogForwarding returns null', async () => { + getLogForwarding.mockResolvedValue(null); + + const command = new GetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + 'Unable to get log forwarding details. Try again. RequestId: dummy_request_id', + ); + }); + + test('throws an error when getLogForwarding fails', async () => { + const errorMessage = 'Failed to fetch log forwarding details'; + getLogForwarding.mockRejectedValue(new Error(errorMessage)); + + const command = new GetLogForwardingCommand([], {}); + await expect(command.run()).rejects.toThrow( + `Failed to get log forwarding details. Try again. RequestId: dummy_request_id`, + ); + + expect(logSpy).toHaveBeenCalledWith(errorMessage); + }); +}); diff --git a/src/commands/api-mesh/config/get/log-forwarding.js b/src/commands/api-mesh/config/get/log-forwarding.js new file mode 100644 index 00000000..6e7668bb --- /dev/null +++ b/src/commands/api-mesh/config/get/log-forwarding.js @@ -0,0 +1,78 @@ +/* +Copyright 2021 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +const { Command } = require('@oclif/core'); +const { initSdk, initRequestId } = require('../../../../helpers'); +const logger = require('../../../../classes/logger'); +const { ignoreCacheFlag, jsonFlag } = require('../../../../utils'); +const { getLogForwarding, getMeshId } = require('../../../../lib/devConsole'); + +class GetLogForwardingCommand extends Command { + static flags = { + ignoreCache: ignoreCacheFlag, + json: jsonFlag, + }; + + static enableJsonFlag = true; + + async run() { + await initRequestId(); + + logger.info(`RequestId: ${global.requestId}`); + + const { flags } = await this.parse(GetLogForwardingCommand); + + const ignoreCache = await flags.ignoreCache; + + const { imsOrgCode, projectId, workspaceId, workspaceName } = await initSdk({ + ignoreCache, + }); + + let meshId = null; + + try { + meshId = await getMeshId(imsOrgCode, projectId, workspaceId, workspaceName); + } catch (err) { + this.log(err.message); + this.error( + `Unable to get mesh ID. Check the details and try again. RequestId: ${global.requestId}`, + ); + } + // mesh could not be found + if (!meshId) { + this.error( + `Unable to get meshId. No mesh found for Org(${imsOrgCode}) -> Project(${projectId}) -> Workspace(${workspaceId}). Check the details and try again.`, + ); + } + try { + const response = await getLogForwarding(imsOrgCode, projectId, workspaceId, meshId); + if (response && response.data) { + this.log( + 'Successfully retrieved log forwarding details: \n', + JSON.stringify(response.data, null, 2), + ); + return { imsOrgCode, projectId, workspaceId, workspaceName }; + } else { + this.error( + `Unable to get log forwarding details. Try again. RequestId: ${global.requestId}`, + ); + return; + } + } catch (error) { + this.log(error.message); + this.error(`Failed to get log forwarding details. Try again. RequestId: ${global.requestId}`); + } + } +} + +GetLogForwardingCommand.description = `Get log forwarding details for a given mesh`; + +module.exports = GetLogForwardingCommand; diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 6759c5d2..830106e2 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1291,6 +1291,93 @@ const setLogForwarding = async (organizationCode, projectId, workspaceId, meshId } }; +/** + * @param {string} organizationCode - The IMS org code + * @param {string} projectId - The project ID + * @param {string} workspaceId - The workspace ID + * @param {string} meshId - The mesh ID + */ +const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId) => { + const { accessToken } = await getDevConsoleConfig(); + const config = { + method: 'GET', + url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/log/forwarding`, + headers: { + 'Authorization': `Bearer ${accessToken}`, + 'Content-Type': 'application/json', + 'x-request-id': global.requestId, + 'x-api-key': SMS_API_KEY, + }, + }; + + logger.info( + 'Initiating POST %s', + `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/log/forwarding`, + ); + + try { + const response = await axios(config); + + logger.info('Response from GET %s', response.status); + + if (response?.status === 200) { + logger.info(`Get log forwarding configuration: ${objToString(response, ['data'])}`); + return { + data: response.data, + }; + } else { + // not 200 response + logger.error( + `Something went wrong: ${objToString( + response, + ['data'], + 'Unable to set log forwarding details.', + )}. Received ${response.status}, expected 200`, + ); + throw new Error(response.data.message); + } + } catch (error) { + if (error.response && error.response.status === 400) { + // The request was made and the server responded with a 400 status code + logger.error('Error setting log forwarding configuration: %j', error.response.data); + + throw new Error('Invalid input parameters.'); + } + // request made but no response received + else if (error.request && !error.response) { + logger.error('No response received from server when setting log forwarding configuration'); + throw new Error('Unable to set log forwarding details. Check the details and try again.'); + } + // response received with error + else if (error.response && error.response.data) { + logger.error( + 'Error setting log forwarding configuration: %s', + objToString(error, ['response', 'data'], 'Unable to set log forwarding'), + ); + + // response a message or messages field + + if (error.response.data.message || error.response.data.messages) { + const message = objToString( + error, + ['response', 'data', 'message' || 'messages'], + 'Unable to set log forwarding', + ); + throw new Error(message); + } + // response contains error but no specific message field + else { + const message = objToString(error, ['response', 'data'], 'Unable to set log forwarding'); + throw new Error(message); + } + } else { + // Something else happened while setting up the request + logger.error('Error setting log forwarding configuration: %s', error.message); + throw new Error(`Something went wrong while setting log forwarding. ${error.message}`); + } + } +}; + module.exports = { getApiKeyCredential, describeMesh, @@ -1313,4 +1400,5 @@ module.exports = { getLogsByRayId, cachePurge, setLogForwarding, + getLogForwarding, }; From 0ae9aa0d853699077ed954e2278e9a2964b07013 Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Fri, 4 Apr 2025 17:40:51 +0530 Subject: [PATCH 25/57] feat: bump package version, added alpha --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5d886749..d2a8fa4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.2.1-beta", + "version": "5.2.4-alpha.0", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin" From 55bb5d53a373d5e3b61c25c8cfe025974636242e Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Fri, 4 Apr 2025 18:11:56 +0530 Subject: [PATCH 26/57] feat: minor correction --- src/lib/devConsole.js | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 830106e2..35b0cd71 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1331,7 +1331,7 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId `Something went wrong: ${objToString( response, ['data'], - 'Unable to set log forwarding details.', + 'Unable to get log forwarding details.', )}. Received ${response.status}, expected 200`, ); throw new Error(response.data.message); @@ -1339,20 +1339,25 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } catch (error) { if (error.response && error.response.status === 400) { // The request was made and the server responded with a 400 status code - logger.error('Error setting log forwarding configuration: %j', error.response.data); + logger.error('Error getting log forwarding configuration: %j', error.response.data); throw new Error('Invalid input parameters.'); } + else if (error.response && error.response.status === 404) { + logger.error('Log forwarding details not found'); + + return null; + } // request made but no response received else if (error.request && !error.response) { - logger.error('No response received from server when setting log forwarding configuration'); - throw new Error('Unable to set log forwarding details. Check the details and try again.'); + logger.error('No response received from server when getting log forwarding configuration'); + throw new Error('Unable to get log forwarding details. Check the details and try again.'); } // response received with error else if (error.response && error.response.data) { logger.error( - 'Error setting log forwarding configuration: %s', - objToString(error, ['response', 'data'], 'Unable to set log forwarding'), + 'Error getting log forwarding configuration: %s', + objToString(error, ['response', 'data'], 'Unable to get log forwarding'), ); // response a message or messages field @@ -1361,19 +1366,19 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId const message = objToString( error, ['response', 'data', 'message' || 'messages'], - 'Unable to set log forwarding', + 'Unable to get log forwarding', ); throw new Error(message); } // response contains error but no specific message field else { - const message = objToString(error, ['response', 'data'], 'Unable to set log forwarding'); + const message = objToString(error, ['response', 'data'], 'Unable to get log forwarding'); throw new Error(message); } } else { // Something else happened while setting up the request - logger.error('Error setting log forwarding configuration: %s', error.message); - throw new Error(`Something went wrong while setting log forwarding. ${error.message}`); + logger.error('Error getting log forwarding configuration: %s', error.message); + throw new Error(`Something went wrong while getting log forwarding. ${error.message}`); } } }; From ad9f4683a91e3399f1092b4d971c0228c2022535 Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Fri, 4 Apr 2025 18:14:28 +0530 Subject: [PATCH 27/57] feat: lint fixes --- src/lib/devConsole.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 35b0cd71..00f23460 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -1342,8 +1342,7 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId logger.error('Error getting log forwarding configuration: %j', error.response.data); throw new Error('Invalid input parameters.'); - } - else if (error.response && error.response.status === 404) { + } else if (error.response && error.response.status === 404) { logger.error('Log forwarding details not found'); return null; From 24662d7a25ec3c40a3068bbca747a35086ff93a2 Mon Sep 17 00:00:00 2001 From: ajaz Date: Mon, 7 Apr 2025 15:28:53 +0530 Subject: [PATCH 28/57] fix: removed --from flag --- .../api-mesh/__tests__/log-get-bulk.test.js | 183 ------------------ src/commands/api-mesh/log-get-bulk.js | 28 +-- src/utils.js | 6 +- 3 files changed, 5 insertions(+), 212 deletions(-) diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index 8dc056b2..cab1d2c2 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -296,189 +296,6 @@ describe('GetBulkLogCommand startTime and endTime validation', () => { ); }); -describe('GetBulkLogCommand with --past and --from flags', () => { - let parseSpy; - - let now; - let fromDate; - beforeEach(() => { - now = new Date(); - fromDate = new Date(now); - fromDate.setDate(fromDate.getDate() - 29); // Set fromDate to 29 days ago - parseSpy = jest.spyOn(GetBulkLogCommand.prototype, 'parse').mockResolvedValue({ - flags: { - past: '20', - from: fromDate.toISOString().slice(0, 10) + ':12:00:00', - filename: 'test.csv', - ignoreCache: false, - }, - }); - - initSdk.mockResolvedValue({ - imsOrgId: 'orgId', - imsOrgCode: 'orgCode', - projectId: 'projectId', - workspaceId: 'workspaceId', - workspaceName: 'workspaceName', - }); - getMeshId.mockResolvedValue('meshId'); - getPresignedUrls.mockResolvedValue({ - presignedUrls: [{ key: 'log1.csv', url: 'http://example.com/someHash' }], - totalSize: 2048, - }); - promptConfirm.mockResolvedValue(true); - global.requestId = 'dummy_request_id'; - }); - - afterEach(() => { - jest.clearAllMocks(); - // clear the date objects - now = null; - fromDate = null; - }); - - test('runs with valid --past and --from flags', async () => { - fs.existsSync.mockReturnValue(true); - fs.statSync.mockReturnValue({ size: 0 }); - - const mockWriteStream = { - write: jest.fn(), - end: jest.fn(), - on: jest.fn((event, callback) => { - if (event === 'finish') { - callback(); - } - }), - }; - fs.createWriteStream.mockReturnValue(mockWriteStream); - - const command = new GetBulkLogCommand([], {}); - await command.run(); - - expect(initRequestId).toHaveBeenCalled(); - expect(initSdk).toHaveBeenCalled(); - expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); - expect(getPresignedUrls).toHaveBeenCalledWith( - 'orgCode', - 'projectId', - 'workspaceId', - 'meshId', - expect.any(String), - expect.any(String), - ); - expect(fs.createWriteStream).toHaveBeenCalledWith(path.resolve(process.cwd(), 'test.csv'), { - flags: 'a', - }); - expect(mockWriteStream.write).toHaveBeenCalled(); - expect(mockWriteStream.end).toHaveBeenCalled(); - }); - - test('throws an error with invalid --from date components', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - past: '20', - from: fromDate.toISOString().slice(0, 10) + ':25:61:61', - filename: 'test.csv', - ignoreCache: false, - }, - }); - - const command = new GetBulkLogCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'Invalid date components passed in --from. Correct the date.', - ); - }); - - test('throws an error with invalid --from date format', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - past: '15', - from: fromDate.toISOString().slice(0, 10).replace(/-/g, ':') + ':15:00:00', - filename: 'test.csv', - ignoreCache: false, - }, - }); - - const command = new GetBulkLogCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'Invalid format. Use the format YYYY-MM-DD:HH:MM:SS for --from.', - ); - }); - - test('runs with valid --past flag without --from', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - past: '15', - filename: 'test.csv', - ignoreCache: false, - }, - }); - - fs.existsSync.mockReturnValue(true); - fs.statSync.mockReturnValue({ size: 0 }); - - const command = new GetBulkLogCommand([], {}); - await command.run(); - - expect(initRequestId).toHaveBeenCalled(); - expect(initSdk).toHaveBeenCalled(); - expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); - expect(getPresignedUrls).toHaveBeenCalledWith( - 'orgCode', - 'projectId', - 'workspaceId', - 'meshId', - expect.any(String), - expect.any(String), - ); - }); - - test('throws an error with edge case for --past duration', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - past: '0', - from: fromDate.toISOString().slice(0, 10) + ':12:00:00', - filename: 'test.csv', - ignoreCache: false, - }, - }); - - const command = new GetBulkLogCommand([], {}); - await expect(command.run()).rejects.toThrow( - 'The minimum duration is 1 minutes. The current duration is 0 minutes.', - ); - }); - - test('runs with edge case for --from date', async () => { - parseSpy.mockResolvedValueOnce({ - flags: { - past: '15', - from: fromDate.toISOString().slice(0, 10) + ':00:00:00', - filename: 'test.csv', - ignoreCache: false, - }, - }); - - fs.existsSync.mockReturnValue(true); - fs.statSync.mockReturnValue({ size: 0 }); - - const command = new GetBulkLogCommand([], {}); - await command.run(); - - expect(initRequestId).toHaveBeenCalled(); - expect(initSdk).toHaveBeenCalled(); - expect(getMeshId).toHaveBeenCalledWith('orgCode', 'projectId', 'workspaceId', 'workspaceName'); - expect(getPresignedUrls).toHaveBeenCalledWith( - 'orgCode', - 'projectId', - 'workspaceId', - 'meshId', - expect.any(String), - expect.any(String), - ); - }); -}); - describe('validateDateTimeRange', () => { const testCases = [ { diff --git a/src/commands/api-mesh/log-get-bulk.js b/src/commands/api-mesh/log-get-bulk.js index 2de68e68..69dd23b8 100644 --- a/src/commands/api-mesh/log-get-bulk.js +++ b/src/commands/api-mesh/log-get-bulk.js @@ -11,12 +11,10 @@ const { endTimeFlag, logFilenameFlag, pastFlag, - fromFlag, suggestCorrectedDateFormat, parsePastDuration, validateDateTimeRange, validateDateTimeFormat, - localToUTCTime, } = require('../../utils'); require('dotenv').config(); @@ -28,7 +26,6 @@ class GetBulkLogCommand extends Command { endTime: endTimeFlag, filename: logFilenameFlag, past: pastFlag, - from: fromFlag, }; async run() { @@ -90,26 +87,9 @@ class GetBulkLogCommand extends Command { formattedEndTime = flags.endTime.replace(/-|:|Z/g, '').replace('T', 'T'); } else if (flags.past) { const pastTimeWindow = parsePastDuration(flags.past); - if (flags.from) { - let convertedTime; - const dateTimeRegex = /^\d{4}-\d{2}-\d{2}:\d{2}:\d{2}:\d{2}$/; - if (!dateTimeRegex.test(flags.from)) { - this.error('Invalid format. Use the format YYYY-MM-DD:HH:MM:SS for --from.'); - } else { - try { - convertedTime = await localToUTCTime(flags.from.toString()); - } catch (error) { - this.error(`Invalid date components passed in --from. Correct the date.`); - } - } - // add the past window to the converted time to get the end time to fetch logs from the past - calculatedStartTime = new Date(convertedTime); - calculatedEndTime = new Date(calculatedStartTime.getTime() + pastTimeWindow); - } else { - // subtract the past window from the current time to get the start time to fetch recent logs from now - calculatedEndTime = new Date(); - calculatedStartTime = new Date(calculatedEndTime.getTime() - pastTimeWindow); - } + // Subtract the past window from the current time to get the start time to fetch recent logs from now + calculatedEndTime = new Date(); + calculatedStartTime = new Date(calculatedEndTime.getTime() - pastTimeWindow); // Validate the calculated start and end times range validateDateTimeRange(calculatedStartTime, calculatedEndTime); @@ -121,7 +101,7 @@ class GetBulkLogCommand extends Command { return; } else { this.error( - 'Missing required flags. Provide at least one flag --startTime, --endTime, or --past --from or type `mesh log:get-bulk --help` for more information.', + 'Missing required flags. Provide at least one flag --startTime, --endTime, or --past or type `mesh log:get-bulk --help` for more information.', ); return; } diff --git a/src/utils.js b/src/utils.js index 8eaf90fc..57c85e0b 100644 --- a/src/utils.js +++ b/src/utils.js @@ -89,10 +89,6 @@ const pastFlag = Flags.string({ description: 'Past time window in mins', }); -const fromFlag = Flags.string({ - description: `The from time in YYYY-MM-DD:HH:MM:SS format based on your system's time zone. It is used to fetch logs from the past and is the starting time for the past time duration.`, -}); - const logFilenameFlag = Flags.string({ description: 'Path to the output file for logs', required: true, @@ -759,6 +755,7 @@ function validateDateTimeFormat(time) { return timeString.replace(/-|:|Z/g, '').replace('T', 'T'); } +// can be used later if we want to take --startTime and --endTime in local time /** * Convert a given local time string to UTC time string * @param {string} timeString - The time string in the format YYYY-MM-DD:HH:MM:SS @@ -811,7 +808,6 @@ module.exports = { endTimeFlag, logFilenameFlag, pastFlag, - fromFlag, suggestCorrectedDateFormat, parsePastDuration, validateDateTimeRange, From 1f71b4424e633ed675c515984557e7a0c57ba580 Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Mon, 7 Apr 2025 17:05:46 +0530 Subject: [PATCH 29/57] feat: added 404 related tests --- .../__tests__/get-log-forwarding.test.js | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/commands/api-mesh/__tests__/get-log-forwarding.test.js b/src/commands/api-mesh/__tests__/get-log-forwarding.test.js index 2d6afd1c..c4656213 100644 --- a/src/commands/api-mesh/__tests__/get-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/get-log-forwarding.test.js @@ -119,4 +119,31 @@ describe('GetLogForwardingCommand', () => { expect(logSpy).toHaveBeenCalledWith(errorMessage); }); + + test('handles 404 error when getLogForwarding returns null', async () => { + // Mock getLogForwarding to simulate a 404 error + getLogForwarding.mockImplementation(() => { + const error = new Error('Not Found'); + error.response = { status: 404 }; + throw error; + }); + + const command = new GetLogForwardingCommand([], {}); + + await expect(command.run()).rejects.toThrow( + 'Failed to get log forwarding details. Try again. RequestId: dummy_request_id', + ); + expect(logSpy).toHaveBeenCalledWith('Not Found'); + }); + + test('when getLogForwarding returns null', async () => { + // Mock getLogForwarding to return null + getLogForwarding.mockResolvedValue(null); + + const command = new GetLogForwardingCommand([], {}); + + await expect(command.run()).rejects.toThrow( + 'Unable to get log forwarding details. Try again. RequestId: dummy_request_id', + ); + }); }); From 961f26b1230e666ec8aaf6e4c02de731f7f56bff Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Mon, 7 Apr 2025 17:21:17 +0530 Subject: [PATCH 30/57] feat: renamed devConsole.js to smsClient.js, also updated on all relevant places --- src/commands/api-mesh/__tests__/cache-purge.test.js | 4 ++-- src/commands/api-mesh/__tests__/create.test.js | 6 +++--- src/commands/api-mesh/__tests__/delete.test.js | 4 ++-- src/commands/api-mesh/__tests__/describe.test.js | 4 ++-- src/commands/api-mesh/__tests__/get-log-forwarding.test.js | 4 ++-- src/commands/api-mesh/__tests__/get.test.js | 4 ++-- src/commands/api-mesh/__tests__/log-get-bulk.test.js | 4 ++-- src/commands/api-mesh/__tests__/log-get.test.js | 4 ++-- src/commands/api-mesh/__tests__/log-list.test.js | 4 ++-- src/commands/api-mesh/__tests__/run.test.js | 4 ++-- src/commands/api-mesh/__tests__/set-log-forwarding.test.js | 4 ++-- src/commands/api-mesh/__tests__/status.test.js | 4 ++-- src/commands/api-mesh/__tests__/update.test.js | 4 ++-- src/commands/api-mesh/cache/purge.js | 2 +- src/commands/api-mesh/config/get/log-forwarding.js | 2 +- src/commands/api-mesh/config/set/log-forwarding.js | 2 +- src/commands/api-mesh/create.js | 2 +- src/commands/api-mesh/delete.js | 2 +- src/commands/api-mesh/describe.js | 2 +- src/commands/api-mesh/get.js | 2 +- src/commands/api-mesh/log-get-bulk.js | 2 +- src/commands/api-mesh/log-get.js | 2 +- src/commands/api-mesh/log-list.js | 2 +- src/commands/api-mesh/run.js | 2 +- src/commands/api-mesh/source/__tests__/install.test.js | 4 ++-- src/commands/api-mesh/source/install.js | 2 +- src/commands/api-mesh/status.js | 2 +- src/commands/api-mesh/update.js | 2 +- src/lib/{devConsole.js => smsClient.js} | 0 29 files changed, 43 insertions(+), 43 deletions(-) rename src/lib/{devConsole.js => smsClient.js} (100%) diff --git a/src/commands/api-mesh/__tests__/cache-purge.test.js b/src/commands/api-mesh/__tests__/cache-purge.test.js index 174b86f2..a3bd003a 100644 --- a/src/commands/api-mesh/__tests__/cache-purge.test.js +++ b/src/commands/api-mesh/__tests__/cache-purge.test.js @@ -23,7 +23,7 @@ jest.mock('../../../helpers', () => ({ initRequestId: jest.fn().mockResolvedValue({}), promptConfirm: jest.fn().mockResolvedValue(true), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); const mockConsoleCLIInstance = {}; const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type: 'entp' }; const selectedProject = { id: '5678', title: 'Project01' }; @@ -36,7 +36,7 @@ const { getApiKeyCredential, unsubscribeCredentialFromMeshService, cachePurge, -} = require('../../../lib/devConsole'); +} = require('../../../lib/smsClient'); let logSpy = null; let errorLogSpy = null; let parseSpy = null; diff --git a/src/commands/api-mesh/__tests__/create.test.js b/src/commands/api-mesh/__tests__/create.test.js index d0243694..73464fd2 100644 --- a/src/commands/api-mesh/__tests__/create.test.js +++ b/src/commands/api-mesh/__tests__/create.test.js @@ -27,7 +27,7 @@ jest.mock('../../../helpers', () => ({ interpolateMesh: jest.fn().mockResolvedValue({}), importFiles: jest.fn().mockResolvedValue(), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); const CreateCommand = require('../create'); const sampleCreateMeshConfig = require('../../__fixtures__/sample_mesh.json'); @@ -44,7 +44,7 @@ const { createMesh, getTenantFeatures, getPublicEncryptionKey, -} = require('../../../lib/devConsole'); +} = require('../../../lib/smsClient'); const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type: 'entp' }; @@ -69,7 +69,7 @@ jest.mock('../../../helpers', () => ({ interpolateMesh: jest.fn().mockResolvedValue({}), importFiles: jest.fn().mockResolvedValue(), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('chalk', () => ({ red: jest.fn(text => text), // Return the input text without any color formatting bold: jest.fn(text => text), diff --git a/src/commands/api-mesh/__tests__/delete.test.js b/src/commands/api-mesh/__tests__/delete.test.js index 9725c210..4ef05f15 100644 --- a/src/commands/api-mesh/__tests__/delete.test.js +++ b/src/commands/api-mesh/__tests__/delete.test.js @@ -23,7 +23,7 @@ jest.mock('../../../helpers', () => ({ initRequestId: jest.fn().mockResolvedValue({}), promptConfirm: jest.fn().mockResolvedValue(true), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); const mockConsoleCLIInstance = {}; @@ -40,7 +40,7 @@ const { deleteMesh, getApiKeyCredential, unsubscribeCredentialFromMeshService, -} = require('../../../lib/devConsole'); +} = require('../../../lib/smsClient'); let logSpy = null; let errorLogSpy = null; diff --git a/src/commands/api-mesh/__tests__/describe.test.js b/src/commands/api-mesh/__tests__/describe.test.js index 82bf4a70..400e187e 100644 --- a/src/commands/api-mesh/__tests__/describe.test.js +++ b/src/commands/api-mesh/__tests__/describe.test.js @@ -23,7 +23,7 @@ jest.mock('@adobe/aio-cli-lib-console', () => ({ init: jest.fn().mockResolvedValue(mockConsoleCLIInstance), cleanStdOut: jest.fn(), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('chalk', () => ({ bold: jest.fn(text => text), // Return the input text without any color formatting underline: { @@ -34,7 +34,7 @@ jest.mock('chalk', () => ({ const DescribeCommand = require('../describe'); const { initSdk, initRequestId } = require('../../../helpers'); -const { describeMesh, getMesh, getTenantFeatures } = require('../../../lib/devConsole'); +const { describeMesh, getMesh, getTenantFeatures } = require('../../../lib/smsClient'); const sampleCreateMeshConfig = require('../../__fixtures__/sample_mesh.json'); const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type: 'entp' }; diff --git a/src/commands/api-mesh/__tests__/get-log-forwarding.test.js b/src/commands/api-mesh/__tests__/get-log-forwarding.test.js index c4656213..8db6a20f 100644 --- a/src/commands/api-mesh/__tests__/get-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/get-log-forwarding.test.js @@ -12,13 +12,13 @@ governing permissions and limitations under the License. const GetLogForwardingCommand = require('../config/get/log-forwarding'); const { initSdk, initRequestId } = require('../../../helpers'); -const { getLogForwarding, getMeshId } = require('../../../lib/devConsole'); +const { getLogForwarding, getMeshId } = require('../../../lib/smsClient'); jest.mock('../../../helpers', () => ({ initSdk: jest.fn().mockResolvedValue({}), initRequestId: jest.fn().mockResolvedValue({}), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('../../../classes/logger'); describe('GetLogForwardingCommand', () => { diff --git a/src/commands/api-mesh/__tests__/get.test.js b/src/commands/api-mesh/__tests__/get.test.js index 1f47a328..9a3196d6 100644 --- a/src/commands/api-mesh/__tests__/get.test.js +++ b/src/commands/api-mesh/__tests__/get.test.js @@ -23,7 +23,7 @@ jest.mock('../../../helpers', () => ({ initSdk: jest.fn().mockResolvedValue({}), initRequestId: jest.fn().mockResolvedValue({}), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); const mockConsoleCLIInstance = {}; const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type: 'entp' }; @@ -34,7 +34,7 @@ const { writeFile } = require('fs/promises'); const { initSdk, initRequestId } = require('../../../helpers'); const GetCommand = require('../get'); const mockGetMeshConfig = require('../../__fixtures__/sample_mesh.json'); -const { getMeshId, getMesh } = require('../../../lib/devConsole'); +const { getMeshId, getMesh } = require('../../../lib/smsClient'); let logSpy = null; let errorLogSpy = null; diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index f8e32c26..ce1c4891 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -2,7 +2,7 @@ const fs = require('fs'); const path = require('path'); const GetBulkLogCommand = require('../log-get-bulk'); const { initRequestId, initSdk, promptConfirm } = require('../../../helpers'); -const { getMeshId, getPresignedUrls } = require('../../../lib/devConsole'); +const { getMeshId, getPresignedUrls } = require('../../../lib/smsClient'); const { suggestCorrectedDateFormat, validateDateTimeRange, @@ -16,7 +16,7 @@ jest.mock('../../../helpers', () => ({ initRequestId: jest.fn().mockResolvedValue({}), promptConfirm: jest.fn().mockResolvedValue(true), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('../../../classes/logger'); describe('GetBulkLogCommand', () => { diff --git a/src/commands/api-mesh/__tests__/log-get.test.js b/src/commands/api-mesh/__tests__/log-get.test.js index d853e42c..a387c4aa 100644 --- a/src/commands/api-mesh/__tests__/log-get.test.js +++ b/src/commands/api-mesh/__tests__/log-get.test.js @@ -24,7 +24,7 @@ jest.mock('../../../helpers', () => ({ initRequestId: jest.fn().mockResolvedValue({}), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); const mockConsoleCLIInstance = {}; const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type: 'entp' }; @@ -34,7 +34,7 @@ const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; const { writeFile } = require('fs/promises'); const { initSdk } = require('../../../helpers'); const FetchLogsCommand = require('../log-get'); -const { getLogsByRayId, getMeshId } = require('../../../lib/devConsole'); +const { getLogsByRayId, getMeshId } = require('../../../lib/smsClient'); const os = require('os'); let logSpy = null; let errorLogSpy = null; diff --git a/src/commands/api-mesh/__tests__/log-list.test.js b/src/commands/api-mesh/__tests__/log-list.test.js index a7da3e6c..71ce58c9 100644 --- a/src/commands/api-mesh/__tests__/log-list.test.js +++ b/src/commands/api-mesh/__tests__/log-list.test.js @@ -1,7 +1,7 @@ const fs = require('fs'); const ListLogsCommand = require('../log-list'); const { initSdk, promptConfirm } = require('../../../helpers'); -const { getMeshId, listLogs } = require('../../../lib/devConsole'); +const { getMeshId, listLogs } = require('../../../lib/smsClient'); jest.mock('fs'); jest.mock('axios'); @@ -10,7 +10,7 @@ jest.mock('../../../helpers', () => ({ initRequestId: jest.fn().mockResolvedValue({}), promptConfirm: jest.fn().mockResolvedValue(true), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('../../../classes/logger'); describe('List Logs Command', () => { diff --git a/src/commands/api-mesh/__tests__/run.test.js b/src/commands/api-mesh/__tests__/run.test.js index a5031b7b..9be9f9a9 100644 --- a/src/commands/api-mesh/__tests__/run.test.js +++ b/src/commands/api-mesh/__tests__/run.test.js @@ -20,7 +20,7 @@ const { writeSecretsFile, } = require('../../../helpers'); const { runServer } = require('../../../server'); -const { getMeshId, getMeshArtifact } = require('../../../lib/devConsole'); +const { getMeshId, getMeshArtifact } = require('../../../lib/smsClient'); require('@adobe-apimesh/mesh-builder'); jest.mock('../../../helpers', () => ({ @@ -42,7 +42,7 @@ jest.mock('../../../server', () => ({ runServer: jest.fn().mockResolvedValue(), })); -jest.mock('../../../lib/devConsole', () => ({ +jest.mock('../../../lib/smsClient', () => ({ getMeshId: jest.fn().mockResolvedValue('mockMeshId'), getMeshArtifact: jest.fn().mockResolvedValue(), })); diff --git a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js index b13d8ac2..52973194 100644 --- a/src/commands/api-mesh/__tests__/set-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/set-log-forwarding.test.js @@ -18,7 +18,7 @@ const { promptInput, promptInputSecret, } = require('../../../helpers'); -const { getMeshId, setLogForwarding } = require('../../../lib/devConsole'); +const { getMeshId, setLogForwarding } = require('../../../lib/smsClient'); jest.mock('../../../helpers', () => ({ initSdk: jest.fn().mockResolvedValue({}), @@ -28,7 +28,7 @@ jest.mock('../../../helpers', () => ({ promptInput: jest.fn().mockResolvedValue('https://log-api.newrelic.com/log/v1'), promptInputSecret: jest.fn().mockResolvedValue('abcdef0123456789abcdef0123456789abcdef01'), })); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('../../../classes/logger'); describe('SetLogForwardingCommand', () => { diff --git a/src/commands/api-mesh/__tests__/status.test.js b/src/commands/api-mesh/__tests__/status.test.js index da398440..73b779d4 100644 --- a/src/commands/api-mesh/__tests__/status.test.js +++ b/src/commands/api-mesh/__tests__/status.test.js @@ -8,7 +8,7 @@ const mockMeshId = '00000000-0000-0000-0000-000000000000'; global.requestId = 'dummy_request_id'; // Create mock modules and functions -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); jest.mock('../../../helpers'); const parseSpy = jest.spyOn(StatusCommand.prototype, 'parse'); const logSpy = jest.spyOn(StatusCommand.prototype, 'log'); @@ -16,7 +16,7 @@ const errorLogSpy = jest.spyOn(StatusCommand.prototype, 'error'); // Prepare mocks const { initSdk } = require('../../../helpers'); -const { getMeshId, getMesh, getMeshDeployments } = require('../../../lib/devConsole'); +const { getMeshId, getMesh, getMeshDeployments } = require('../../../lib/smsClient'); initSdk.mockResolvedValue({ imsOrgId: mockOrg.id, imsOrgCode: mockOrg.code, diff --git a/src/commands/api-mesh/__tests__/update.test.js b/src/commands/api-mesh/__tests__/update.test.js index adb08921..f0855527 100644 --- a/src/commands/api-mesh/__tests__/update.test.js +++ b/src/commands/api-mesh/__tests__/update.test.js @@ -24,7 +24,7 @@ jest.mock('@adobe/aio-cli-lib-console', () => ({ cleanStdOut: jest.fn(), })); jest.mock('@adobe/aio-lib-ims'); -jest.mock('../../../lib/devConsole'); +jest.mock('../../../lib/smsClient'); const mockConsoleCLIInstance = {}; @@ -36,7 +36,7 @@ const { readFile } = require('fs/promises'); const UpdateCommand = require('../update'); const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../../helpers'); -const { getMeshId, updateMesh } = require('../../../lib/devConsole'); +const { getMeshId, updateMesh } = require('../../../lib/smsClient'); let logSpy = null; let errorLogSpy = null; diff --git a/src/commands/api-mesh/cache/purge.js b/src/commands/api-mesh/cache/purge.js index 25196f9c..bcabb502 100644 --- a/src/commands/api-mesh/cache/purge.js +++ b/src/commands/api-mesh/cache/purge.js @@ -18,7 +18,7 @@ const { autoConfirmActionFlag, cachePurgeAllActionFlag, } = require('../../../utils'); -const { getMeshId, cachePurge } = require('../../../lib/devConsole'); +const { getMeshId, cachePurge } = require('../../../lib/smsClient'); require('dotenv').config(); diff --git a/src/commands/api-mesh/config/get/log-forwarding.js b/src/commands/api-mesh/config/get/log-forwarding.js index 6e7668bb..dd925225 100644 --- a/src/commands/api-mesh/config/get/log-forwarding.js +++ b/src/commands/api-mesh/config/get/log-forwarding.js @@ -13,7 +13,7 @@ const { Command } = require('@oclif/core'); const { initSdk, initRequestId } = require('../../../../helpers'); const logger = require('../../../../classes/logger'); const { ignoreCacheFlag, jsonFlag } = require('../../../../utils'); -const { getLogForwarding, getMeshId } = require('../../../../lib/devConsole'); +const { getLogForwarding, getMeshId } = require('../../../../lib/smsClient'); class GetLogForwardingCommand extends Command { static flags = { diff --git a/src/commands/api-mesh/config/set/log-forwarding.js b/src/commands/api-mesh/config/set/log-forwarding.js index bdb19e61..6c0db009 100644 --- a/src/commands/api-mesh/config/set/log-forwarding.js +++ b/src/commands/api-mesh/config/set/log-forwarding.js @@ -25,7 +25,7 @@ const { jsonFlag, destinations, } = require('../../../../utils'); -const { setLogForwarding, getMeshId } = require('../../../../lib/devConsole'); +const { setLogForwarding, getMeshId } = require('../../../../lib/smsClient'); class SetLogForwardingCommand extends Command { static flags = { diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index 82d862b1..ceaac028 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -26,7 +26,7 @@ const { validateSecretsFile, encryptSecrets, } = require('../../utils'); -const { createMesh, getPublicEncryptionKey } = require('../../lib/devConsole'); +const { createMesh, getPublicEncryptionKey } = require('../../lib/smsClient'); const { buildMeshUrl } = require('../../urlBuilder'); class CreateCommand extends Command { diff --git a/src/commands/api-mesh/delete.js b/src/commands/api-mesh/delete.js index 7a9a8f7b..fa2f73cf 100644 --- a/src/commands/api-mesh/delete.js +++ b/src/commands/api-mesh/delete.js @@ -14,7 +14,7 @@ const { Command } = require('@oclif/command'); const logger = require('../../classes/logger'); const { initSdk, initRequestId, promptConfirm } = require('../../helpers'); const { ignoreCacheFlag, autoConfirmActionFlag } = require('../../utils'); -const { getMeshId, deleteMesh } = require('../../lib/devConsole'); +const { getMeshId, deleteMesh } = require('../../lib/smsClient'); require('dotenv').config(); diff --git a/src/commands/api-mesh/describe.js b/src/commands/api-mesh/describe.js index d6295537..7402053b 100644 --- a/src/commands/api-mesh/describe.js +++ b/src/commands/api-mesh/describe.js @@ -13,7 +13,7 @@ const { Command } = require('@oclif/command'); const logger = require('../../classes/logger'); const { initSdk, initRequestId } = require('../../helpers'); const { ignoreCacheFlag } = require('../../utils'); -const { describeMesh } = require('../../lib/devConsole'); +const { describeMesh } = require('../../lib/smsClient'); const { buildMeshUrl } = require('../../urlBuilder'); require('dotenv').config(); diff --git a/src/commands/api-mesh/get.js b/src/commands/api-mesh/get.js index 1efdc0fd..c5161c0e 100644 --- a/src/commands/api-mesh/get.js +++ b/src/commands/api-mesh/get.js @@ -15,7 +15,7 @@ const { writeFile } = require('fs/promises'); const logger = require('../../classes/logger'); const { initSdk, initRequestId } = require('../../helpers'); const { ignoreCacheFlag, jsonFlag } = require('../../utils'); -const { getMeshId, getMesh } = require('../../lib/devConsole'); +const { getMeshId, getMesh } = require('../../lib/smsClient'); const { buildMeshUrl } = require('../../urlBuilder'); require('dotenv').config(); diff --git a/src/commands/api-mesh/log-get-bulk.js b/src/commands/api-mesh/log-get-bulk.js index 2de68e68..dc2aac09 100644 --- a/src/commands/api-mesh/log-get-bulk.js +++ b/src/commands/api-mesh/log-get-bulk.js @@ -2,7 +2,7 @@ const { Command } = require('@oclif/core'); const path = require('path'); const fs = require('fs'); const { initRequestId, initSdk, promptConfirm } = require('../../helpers'); -const { getMeshId, getPresignedUrls } = require('../../lib/devConsole'); +const { getMeshId, getPresignedUrls } = require('../../lib/smsClient'); const logger = require('../../classes/logger'); const axios = require('axios'); const { diff --git a/src/commands/api-mesh/log-get.js b/src/commands/api-mesh/log-get.js index 10ba7219..35c92360 100644 --- a/src/commands/api-mesh/log-get.js +++ b/src/commands/api-mesh/log-get.js @@ -12,7 +12,7 @@ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); const { initSdk, initRequestId } = require('../../helpers'); const { ignoreCacheFlag } = require('../../utils'); -const { getMeshId, getLogsByRayId } = require('../../lib/devConsole'); +const { getMeshId, getLogsByRayId } = require('../../lib/smsClient'); require('dotenv').config(); class FetchLogsCommand extends Command { diff --git a/src/commands/api-mesh/log-list.js b/src/commands/api-mesh/log-list.js index 06203f36..94fb0596 100644 --- a/src/commands/api-mesh/log-list.js +++ b/src/commands/api-mesh/log-list.js @@ -3,7 +3,7 @@ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); const { initSdk, initRequestId } = require('../../helpers'); const { ignoreCacheFlag, fileNameFlag } = require('../../utils'); -const { getMeshId, listLogs } = require('../../lib/devConsole'); +const { getMeshId, listLogs } = require('../../lib/smsClient'); const { appendFileSync, existsSync } = require('fs'); const { ux } = require('@oclif/core/lib/cli-ux'); const path = require('path'); diff --git a/src/commands/api-mesh/run.js b/src/commands/api-mesh/run.js index ea55692e..7670a827 100644 --- a/src/commands/api-mesh/run.js +++ b/src/commands/api-mesh/run.js @@ -35,7 +35,7 @@ const { writeSecretsFile, } = require('../../helpers'); const logger = require('../../classes/logger'); -const { getMeshId, getMeshArtifact } = require('../../lib/devConsole'); +const { getMeshId, getMeshArtifact } = require('../../lib/smsClient'); require('dotenv').config(); const { runServer } = require('../../server'); const { fixPlugins } = require('../../fixPlugins'); diff --git a/src/commands/api-mesh/source/__tests__/install.test.js b/src/commands/api-mesh/source/__tests__/install.test.js index 60ac5ab7..b60ff556 100644 --- a/src/commands/api-mesh/source/__tests__/install.test.js +++ b/src/commands/api-mesh/source/__tests__/install.test.js @@ -20,13 +20,13 @@ const mockSources = { '0.0.1-test-03': mockSourceTest03v1Fixture }; jest.mock('source-registry-storage-adapter'); jest.mock('../../../../helpers'); const InstallCommand = require('../install'); -const { getMeshId, getMesh, updateMesh } = require('../../../../lib/devConsole'); +const { getMeshId, getMesh, updateMesh } = require('../../../../lib/smsClient'); const mockGetMeshConfig = require('../../../__fixtures__/sample_mesh.json'); const selectedOrg = { id: '1234', code: 'CODE1234@AdobeOrg', name: 'ORG01', type: 'entp' }; const selectedProject = { id: '5678', title: 'Project01' }; const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; global.requestId = 'dummy_request_id'; -jest.mock('../../../../lib/devConsole'); +jest.mock('../../../../lib/smsClient'); mockAdapter.mockImplementation(() => ({ get: jest.fn().mockResolvedValue(mockSources[`0.0.1-test-03`]), getList: jest.fn().mockImplementation(() => mockMetadataFixture), diff --git a/src/commands/api-mesh/source/install.js b/src/commands/api-mesh/source/install.js index b7f823d7..96d5c1a8 100644 --- a/src/commands/api-mesh/source/install.js +++ b/src/commands/api-mesh/source/install.js @@ -18,7 +18,7 @@ const config = require('@adobe/aio-lib-core-config'); const logger = require('../../../classes/logger'); const { readFile } = require('fs/promises'); const chalk = require('chalk'); -const { getMeshId, getMesh, updateMesh } = require('../../../lib/devConsole'); +const { getMeshId, getMesh, updateMesh } = require('../../../lib/smsClient'); const JsonInterpolate = require('json-interpolate'); class InstallCommand extends Command { diff --git a/src/commands/api-mesh/status.js b/src/commands/api-mesh/status.js index d2b587b8..f79984d0 100644 --- a/src/commands/api-mesh/status.js +++ b/src/commands/api-mesh/status.js @@ -2,7 +2,7 @@ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); const { initRequestId, initSdk } = require('../../helpers'); -const { getMeshId, getMesh, getMeshDeployments } = require('../../lib/devConsole'); +const { getMeshId, getMesh, getMeshDeployments } = require('../../lib/smsClient'); const { ignoreCacheFlag } = require('../../utils'); require('dotenv').config(); diff --git a/src/commands/api-mesh/update.js b/src/commands/api-mesh/update.js index f8ad8fad..1c949cb2 100644 --- a/src/commands/api-mesh/update.js +++ b/src/commands/api-mesh/update.js @@ -26,7 +26,7 @@ const { validateSecretsFile, encryptSecrets, } = require('../../utils'); -const { getMeshId, updateMesh, getPublicEncryptionKey } = require('../../lib/devConsole'); +const { getMeshId, updateMesh, getPublicEncryptionKey } = require('../../lib/smsClient'); class UpdateCommand extends Command { static args = [{ name: 'file' }]; diff --git a/src/lib/devConsole.js b/src/lib/smsClient.js similarity index 100% rename from src/lib/devConsole.js rename to src/lib/smsClient.js From f1b6790db0df1228779ed87f2377f948e9242a82 Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Mon, 7 Apr 2025 17:25:12 +0530 Subject: [PATCH 31/57] feat: minor update --- src/lib/smsClient.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index 00f23460..5411f6c9 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1349,13 +1349,13 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } // request made but no response received else if (error.request && !error.response) { - logger.error('No response received from server when getting log forwarding configuration'); + logger.error('No response from server when getting the log forwarding configuration'); throw new Error('Unable to get log forwarding details. Check the details and try again.'); } // response received with error else if (error.response && error.response.data) { logger.error( - 'Error getting log forwarding configuration: %s', + 'Error getting the log forwarding configuration: %s', objToString(error, ['response', 'data'], 'Unable to get log forwarding'), ); @@ -1376,7 +1376,7 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } } else { // Something else happened while setting up the request - logger.error('Error getting log forwarding configuration: %s', error.message); + logger.error('Error getting the log forwarding configuration: %s', error.message); throw new Error(`Something went wrong while getting log forwarding. ${error.message}`); } } From c904a986a46efdae728bfaa5c0bfa8f7b8614d7e Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Mon, 7 Apr 2025 20:50:24 +0530 Subject: [PATCH 32/57] feat: updated error messageing text --- src/lib/smsClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index 5411f6c9..0e58dd05 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1339,7 +1339,7 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } catch (error) { if (error.response && error.response.status === 400) { // The request was made and the server responded with a 400 status code - logger.error('Error getting log forwarding configuration: %j', error.response.data); + logger.error('Error getting the log forwarding configuration: %j', error.response.data); throw new Error('Invalid input parameters.'); } else if (error.response && error.response.status === 404) { @@ -1377,7 +1377,7 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } else { // Something else happened while setting up the request logger.error('Error getting the log forwarding configuration: %s', error.message); - throw new Error(`Something went wrong while getting log forwarding. ${error.message}`); + throw new Error(`Something went wrong while getting the log forwarding configuration. ${error.message}`); } } }; From 19152d75abd8ec871bb4e944fb69b587abd4b99f Mon Sep 17 00:00:00 2001 From: Narendra Vyas Date: Mon, 7 Apr 2025 20:53:21 +0530 Subject: [PATCH 33/57] feat: lint fixes --- src/lib/smsClient.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index 0e58dd05..84521436 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1377,7 +1377,9 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } else { // Something else happened while setting up the request logger.error('Error getting the log forwarding configuration: %s', error.message); - throw new Error(`Something went wrong while getting the log forwarding configuration. ${error.message}`); + throw new Error( + `Something went wrong while getting the log forwarding configuration. ${error.message}`, + ); } } }; From a34237c7bf9551e0d8c013124d6e4f352d73d0cf Mon Sep 17 00:00:00 2001 From: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com> Date: Tue, 8 Apr 2025 10:10:27 -0500 Subject: [PATCH 34/57] Update src/commands/api-mesh/update.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/update.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/commands/api-mesh/update.js b/src/commands/api-mesh/update.js index 059b8451..54032940 100644 --- a/src/commands/api-mesh/update.js +++ b/src/commands/api-mesh/update.js @@ -136,11 +136,12 @@ class UpdateCommand extends Command { workspaceName.toLowerCase() === 'production' ) { this.warn( - `The mesh config has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( + `Your mesh has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( 'true', - )}. This is a security risk and should not be used in a production workspace.\n` + - 'Setting it to true will expose the HTTP request and response details in the mesh logs. This can lead to sensitive information being exposed.\n' + - `Please consider setting ${chalk.yellowBright( + )}. This is a security risk and should not be used in production.\n` + + 'When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( + 'true' it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n' + + `Consider setting ${chalk.yellowBright( 'includeHTTPDetails', )} to ${chalk.greenBright('false')} in the meshConfig.`, ); From ee76c903f36da1a621f489f11f1d88f670637691 Mon Sep 17 00:00:00 2001 From: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com> Date: Tue, 8 Apr 2025 10:10:34 -0500 Subject: [PATCH 35/57] Update src/commands/api-mesh/create.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/create.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index 73b83365..c1c9d08a 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -129,10 +129,11 @@ class CreateCommand extends Command { workspaceName.toLowerCase() === 'production' ) { this.warn( - `The mesh config has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( + `Your mesh has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( 'true', - )}. This is a security risk and should not be used in a production workspace.\n` + - 'Setting it to true will expose the HTTP request and response details in the mesh logs. This can lead to sensitive information being exposed.\n' + + )}. This is a security risk and should not be used in production.\n` + + 'When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( + 'true' it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n' + `Please consider setting ${chalk.yellowBright( 'includeHTTPDetails', )} to ${chalk.greenBright('false')} in the meshConfig.`, From bd9e953c2452aaac4fcc755bd81b8146a68e3c80 Mon Sep 17 00:00:00 2001 From: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com> Date: Tue, 8 Apr 2025 10:10:42 -0500 Subject: [PATCH 36/57] Update src/commands/api-mesh/create.js Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index c1c9d08a..fdb23df7 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -136,7 +136,7 @@ class CreateCommand extends Command { 'true' it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n' + `Please consider setting ${chalk.yellowBright( 'includeHTTPDetails', - )} to ${chalk.greenBright('false')} in the meshConfig.`, + )} to ${chalk.greenBright('false')} in your mesh configuration file.`, ); } From 561b30300d107153b6a8a0f040ceddd108396a04 Mon Sep 17 00:00:00 2001 From: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com> Date: Tue, 8 Apr 2025 10:12:48 -0500 Subject: [PATCH 37/57] Update src/commands/api-mesh/create.js Co-authored-by: Andrew Molina <44038475+amolina-adobe@users.noreply.github.com> --- src/commands/api-mesh/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index fdb23df7..fcfb85e2 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -134,7 +134,7 @@ class CreateCommand extends Command { )}. This is a security risk and should not be used in production.\n` + 'When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( 'true' it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n' + - `Please consider setting ${chalk.yellowBright( + `Consider setting ${chalk.yellowBright( 'includeHTTPDetails', )} to ${chalk.greenBright('false')} in your mesh configuration file.`, ); From db5087da644718120b7b8834ba24a98f978f9651 Mon Sep 17 00:00:00 2001 From: Revanth Date: Tue, 8 Apr 2025 10:25:56 -0500 Subject: [PATCH 38/57] Fix string lint errors --- src/commands/api-mesh/create.js | 11 ++++++----- src/commands/api-mesh/update.js | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index fcfb85e2..51d440e9 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -132,11 +132,12 @@ class CreateCommand extends Command { `Your mesh has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( 'true', )}. This is a security risk and should not be used in production.\n` + - 'When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( - 'true' it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n' + - `Consider setting ${chalk.yellowBright( - 'includeHTTPDetails', - )} to ${chalk.greenBright('false')} in your mesh configuration file.`, + `When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( + 'true', + )} it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n` + + `Consider setting ${chalk.yellowBright('includeHTTPDetails')} to ${chalk.greenBright( + 'false', + )} in your mesh configuration file.`, ); } diff --git a/src/commands/api-mesh/update.js b/src/commands/api-mesh/update.js index 54032940..1a58a773 100644 --- a/src/commands/api-mesh/update.js +++ b/src/commands/api-mesh/update.js @@ -139,11 +139,12 @@ class UpdateCommand extends Command { `Your mesh has ${chalk.yellowBright('includeHTTPDetails')} set to ${chalk.redBright( 'true', )}. This is a security risk and should not be used in production.\n` + - 'When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( - 'true' it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n' + - `Consider setting ${chalk.yellowBright( - 'includeHTTPDetails', - )} to ${chalk.greenBright('false')} in the meshConfig.`, + `When ${chalk.yellowBright('includeHTTPDetails')} is set to ${chalk.redBright( + 'true', + )} it exposes HTTP request and response details in the mesh logs, which can cause sensitive information to be exposed.\n` + + `Consider setting ${chalk.yellowBright('includeHTTPDetails')} to ${chalk.greenBright( + 'false', + )} in the meshConfig.`, ); } From 34ac6652ad6dc2e4ead99811c20d8e09f6ce9dc3 Mon Sep 17 00:00:00 2001 From: Revanth Date: Tue, 8 Apr 2025 12:26:26 -0500 Subject: [PATCH 39/57] Fixed failing tests --- .../api-mesh/__tests__/log-get-bulk.test.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index 18d8a7bf..99bda846 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -478,8 +478,8 @@ describe('GetBulkLogCommand with --past and --from flags', () => { describe('validateDateTimeRange', () => { const testCases = [ { - startTime: '2025-03-09T12:00:00Z', - endTime: '2025-03-09T12:45:00Z', + startTime: new Date(new Date().getTime() - 45 * 60 * 1000).toISOString(), + endTime: new Date().toISOString(), error: 'The maximum duration between startTime and endTime is 30 minutes. The current duration is 0 hours 45 minutes and 0 seconds.', }, @@ -494,18 +494,18 @@ describe('validateDateTimeRange', () => { error: 'Cannot get logs more than 30 days old. Adjust your time range.', }, { - startTime: '2025-03-09T12:00:00Z', - endTime: '2025-03-09T12:00:00Z', - error: 'The minimum duration is 1 minutes. The current duration is 0 minutes.', + startTime: new Date(new Date().getTime() - 20 * 1000).toISOString(), + endTime: new Date().toISOString(), + error: 'The minimum duration is 1 minute. The current duration is 20 seconds.', }, { - startTime: '2025-03-09T12:30:00Z', - endTime: '2025-03-09T12:00:00Z', + startTime: new Date().toISOString(), + endTime: new Date(new Date().getTime() - 0.5 * 60 * 1000).toISOString(), error: 'endTime must be greater than startTime', }, { - startTime: '2025-03-09T12:00:00Z', - endTime: '2025-03-09T12:20:00Z', + startTime: new Date(new Date().getTime() - 20 * 60 * 1000).toISOString(), + endTime: new Date().toISOString(), error: null, }, ]; From 7fa34b4593891dba135688b63434402a73a2d9de Mon Sep 17 00:00:00 2001 From: Revanth Date: Tue, 8 Apr 2025 13:55:48 -0500 Subject: [PATCH 40/57] Utils fix --- src/utils.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/utils.js b/src/utils.js index cb512280..26802975 100644 --- a/src/utils.js +++ b/src/utils.js @@ -678,14 +678,15 @@ function validateDateTimeRange(startTime, endTime) { throw new Error('endTime cannot be in the future. Provide a valid endTime.'); } - if (start.getTime() === end.getTime()) { - throw new Error('The minimum duration is 1 minutes. The current duration is 0 minutes.'); - } - - // Check if the duration between start and end times is greater than 30 minutes (1800 seconds) const timeDifferenceInSeconds = (end.getTime() - start.getTime()) / 1000; - if (timeDifferenceInSeconds > 1800) { + if (timeDifferenceInSeconds < 60) { + // Check if the duration between start and end times is less than 1 minute (60 seconds) + throw new Error( + `The minimum duration is 1 minute. The current duration is ${timeDifferenceInSeconds} seconds.`, + ); + } else if (timeDifferenceInSeconds > 1800) { + // Check if the duration between start and end times is greater than 30 minutes (1800 seconds) const hours = Math.floor(timeDifferenceInSeconds / 3600); // Hours calculation const minutes = Math.floor((timeDifferenceInSeconds % 3600) / 60); // Minutes calculation const seconds = timeDifferenceInSeconds % 60; // Seconds calculation From 2f1f44bc340ff348415cf0528becb568953560ab Mon Sep 17 00:00:00 2001 From: Sumaiya <108254100+AjazSumaiya@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:00:20 +0530 Subject: [PATCH 41/57] Apply suggestions from code review Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/log-get-bulk.js | 2 +- src/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/api-mesh/log-get-bulk.js b/src/commands/api-mesh/log-get-bulk.js index 69dd23b8..3eb00a13 100644 --- a/src/commands/api-mesh/log-get-bulk.js +++ b/src/commands/api-mesh/log-get-bulk.js @@ -101,7 +101,7 @@ class GetBulkLogCommand extends Command { return; } else { this.error( - 'Missing required flags. Provide at least one flag --startTime, --endTime, or --past or type `mesh log:get-bulk --help` for more information.', + 'Missing required flags. Provide a time range with --startTime and --endTime flags, or use the --past flag for more recent logs. Use the `mesh log:get-bulk --help` command for more information.', ); return; } diff --git a/src/utils.js b/src/utils.js index 57c85e0b..092f9cef 100644 --- a/src/utils.js +++ b/src/utils.js @@ -664,7 +664,7 @@ function parsePastDuration(pastTimeWindow) { if (isNaN(durationInMs) || !match) { throw new Error( - 'Invalid format. The past time window should be integer, for example, "20", "15".', + 'Invalid format. The time window must be an integer, for example "20" or "15".', ); } From 8746fe23adc19f2355ebede281df66704e1d178f Mon Sep 17 00:00:00 2001 From: Sumaiya <108254100+AjazSumaiya@users.noreply.github.com> Date: Wed, 9 Apr 2025 15:52:19 +0530 Subject: [PATCH 42/57] address code review Co-authored-by: Andrew Molina <44038475+amolina-adobe@users.noreply.github.com> --- src/commands/api-mesh/__tests__/log-get-bulk.test.js | 2 +- src/utils.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index cab1d2c2..01a523c3 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -358,7 +358,7 @@ describe('parsePastDuration', () => { }, ); - const invalidDurations = ['minutes', 'NaN', 'abc', '']; + const invalidDurations = ['20h', '20 hours', '20s', '20 seconds','minutes', 'NaN', 'abc', '']; test.each(invalidDurations)('throws an error for non-numeric input "%s"', invalidPastDuration => { expect(() => parsePastDuration(invalidPastDuration)).toThrow( diff --git a/src/utils.js b/src/utils.js index 092f9cef..8f7efd43 100644 --- a/src/utils.js +++ b/src/utils.js @@ -86,7 +86,7 @@ const endTimeFlag = Flags.string({ }); const pastFlag = Flags.string({ - description: 'Past time window in mins', + description: 'Past time window in minutes', }); const logFilenameFlag = Flags.string({ @@ -653,14 +653,14 @@ function suggestCorrectedDateFormat(inputDate) { /** * Parses a duration string representing a past time window and converts it to milliseconds. * - * @param {string} pastTimeWindow - The past time duration to parse, e.g., "20", "15". + * @param {string} pastTimeWindow - The past time duration in minutes, e.g., "20", "15". * @returns {number} The duration in milliseconds. */ function parsePastDuration(pastTimeWindow) { // Check if pastTimeWindow contains non-numeric characters const match = pastTimeWindow.match(/^(\d+)$/); - const durationInMs = parseInt(pastTimeWindow) * 60 * 1000; + const durationInMs = Number(pastTimeWindow) * 60 * 1000; if (isNaN(durationInMs) || !match) { throw new Error( From 0002284899c4fbeecab57304fe433c45596b21d9 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 9 Apr 2025 16:01:59 +0530 Subject: [PATCH 43/57] fix: lint and test --- src/commands/api-mesh/__tests__/log-get-bulk.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index 01a523c3..6ba5d028 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -358,11 +358,11 @@ describe('parsePastDuration', () => { }, ); - const invalidDurations = ['20h', '20 hours', '20s', '20 seconds','minutes', 'NaN', 'abc', '']; + const invalidDurations = ['20h', '20 hours', '20s', '20 seconds', 'minutes', 'NaN', 'abc', '']; test.each(invalidDurations)('throws an error for non-numeric input "%s"', invalidPastDuration => { expect(() => parsePastDuration(invalidPastDuration)).toThrow( - 'Invalid format. The past time window should be integer, for example, "20", "15".', + 'Invalid format. The time window must be an integer, for example "20" or "15".', ); }); }); From 6644639536656ec407baa805625b3e5e85efc338 Mon Sep 17 00:00:00 2001 From: ajaz Date: Wed, 9 Apr 2025 17:43:22 +0530 Subject: [PATCH 44/57] fix: linting --- src/commands/api-mesh/__tests__/describe.test.js | 2 +- src/commands/api-mesh/__tests__/log-get-bulk.test.js | 2 +- src/commands/api-mesh/__tests__/update.test.js | 2 +- src/commands/api-mesh/log-get-bulk.js | 2 +- src/commands/api-mesh/status.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/api-mesh/__tests__/describe.test.js b/src/commands/api-mesh/__tests__/describe.test.js index 746d4ecc..4112d249 100644 --- a/src/commands/api-mesh/__tests__/describe.test.js +++ b/src/commands/api-mesh/__tests__/describe.test.js @@ -33,7 +33,7 @@ jest.mock('chalk', () => ({ })); const DescribeCommand = require('../describe'); -const { initSdk, initRequestId } = require('../../../helpers'); +const { initSdk } = require('../../../helpers'); const { describeMesh, getMesh, getTenantFeatures } = require('../../../lib/smsClient'); const sampleCreateMeshConfig = require('../../__fixtures__/sample_mesh.json'); diff --git a/src/commands/api-mesh/__tests__/log-get-bulk.test.js b/src/commands/api-mesh/__tests__/log-get-bulk.test.js index 6b7855b8..02308a4e 100644 --- a/src/commands/api-mesh/__tests__/log-get-bulk.test.js +++ b/src/commands/api-mesh/__tests__/log-get-bulk.test.js @@ -1,7 +1,7 @@ const fs = require('fs'); const path = require('path'); const GetBulkLogCommand = require('../log-get-bulk'); -const { initRequestId, initSdk, promptConfirm } = require('../../../helpers'); +const { initSdk, promptConfirm } = require('../../../helpers'); const { getMeshId, getPresignedUrls } = require('../../../lib/smsClient'); const { suggestCorrectedDateFormat, diff --git a/src/commands/api-mesh/__tests__/update.test.js b/src/commands/api-mesh/__tests__/update.test.js index 917bf1b0..ffda2d18 100644 --- a/src/commands/api-mesh/__tests__/update.test.js +++ b/src/commands/api-mesh/__tests__/update.test.js @@ -35,7 +35,7 @@ const selectedWorkspace = { id: '123456789', title: 'Workspace01' }; const { readFile } = require('fs/promises'); const UpdateCommand = require('../update'); -const { initSdk, initRequestId, promptConfirm, importFiles } = require('../../../helpers'); +const { initSdk, promptConfirm, importFiles } = require('../../../helpers'); const { getMeshId, updateMesh } = require('../../../lib/smsClient'); let logSpy = null; diff --git a/src/commands/api-mesh/log-get-bulk.js b/src/commands/api-mesh/log-get-bulk.js index 18d139c8..997f1c14 100644 --- a/src/commands/api-mesh/log-get-bulk.js +++ b/src/commands/api-mesh/log-get-bulk.js @@ -1,7 +1,7 @@ const { Command } = require('@oclif/core'); const path = require('path'); const fs = require('fs'); -const { initRequestId, initSdk, promptConfirm } = require('../../helpers'); +const { initSdk, promptConfirm } = require('../../helpers'); const { getMeshId, getPresignedUrls } = require('../../lib/smsClient'); const logger = require('../../classes/logger'); const axios = require('axios'); diff --git a/src/commands/api-mesh/status.js b/src/commands/api-mesh/status.js index 08c78df1..dbc84d56 100644 --- a/src/commands/api-mesh/status.js +++ b/src/commands/api-mesh/status.js @@ -1,7 +1,7 @@ const { Command } = require('@oclif/core'); const logger = require('../../classes/logger'); -const { initRequestId, initSdk } = require('../../helpers'); +const { initSdk } = require('../../helpers'); const { getMeshId, getMesh, getMeshDeployments } = require('../../lib/smsClient'); const { ignoreCacheFlag } = require('../../utils'); From 4864f62ebb2967d0c2d6e68426417308bf755b65 Mon Sep 17 00:00:00 2001 From: Kristopher Maschi Date: Thu, 10 Apr 2025 09:15:39 -0400 Subject: [PATCH 45/57] feat(caching): - Updated dependency to support building mesh with caching. --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c2156f33..9df413ae 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "version": "oclif-dev readme && git add README.md" }, "dependencies": { - "@adobe-apimesh/mesh-builder": "2.1.5", + "@adobe-apimesh/mesh-builder": "2.1.6", "@adobe/aio-cli-lib-console": "^5.0.0", "@adobe/aio-lib-core-config": "^5.0.0", "@adobe/aio-lib-core-logging": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 05d2d867..10b8c1b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,10 +7,10 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@adobe-apimesh/mesh-builder@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@adobe-apimesh/mesh-builder/-/mesh-builder-2.1.5.tgz#6e392c23226bd661d206753efcb0ee834e3f7e2f" - integrity sha512-jztlEcfeRPkZAE+AKgP2AAw/aIGJ3WvMeDlhA9cw2RZYmQN/jBSy6sG8D7J9G2fsQUAepeuj9dX4cYlVDCS9xA== +"@adobe-apimesh/mesh-builder@2.1.6": + version "2.1.6" + resolved "https://registry.yarnpkg.com/@adobe-apimesh/mesh-builder/-/mesh-builder-2.1.6.tgz#75147d6d42406d2740d108ec2fc750538cacc9d1" + integrity sha512-stQ5hwwLMX+jUpSzzvIUhuvTjKMimz1u8aJGzUrepff26jIhfgpZIa4vKt566T3k1fChtlNqf3tNRrDFie3vAQ== dependencies: "@fastify/request-context" "^4.1.0" eslint "^8.39.0" From bbfd32c9ff1802f490b170dbd42b71d1f678bfa2 Mon Sep 17 00:00:00 2001 From: ajaz Date: Fri, 11 Apr 2025 16:58:44 +0530 Subject: [PATCH 46/57] feat: added delete log forwarding command --- .../__tests__/delete-log-forwarding.test.js | 94 ++++++++++++++++ .../api-mesh/config/delete/log-forwarding.js | 80 ++++++++++++++ src/lib/smsClient.js | 104 ++++++++++++++++++ 3 files changed, 278 insertions(+) create mode 100644 src/commands/api-mesh/__tests__/delete-log-forwarding.test.js create mode 100644 src/commands/api-mesh/config/delete/log-forwarding.js diff --git a/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js b/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js new file mode 100644 index 00000000..45e25a5a --- /dev/null +++ b/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js @@ -0,0 +1,94 @@ +const DeleteLogForwardingCommand = require('../config/delete/log-forwarding'); +const { initSdk, promptConfirm } = require('../../../helpers'); +const { getMeshId, deleteLogForwarding } = require('../../../lib/smsClient'); + +jest.mock('../../../helpers', () => ({ + initSdk: jest.fn().mockResolvedValue({}), + initRequestId: jest.fn().mockResolvedValue({}), + promptConfirm: jest.fn().mockResolvedValue(true), +})); +jest.mock('../../../lib/smsClient'); + +let logSpy, errorLogSpy, parseSpy; + +describe('delete log forwarding command tests', () => { + beforeEach(() => { + initSdk.mockResolvedValue({ + imsOrgCode: 'mockOrgCode', + projectId: 'mockProjectId', + workspaceId: 'mockWorkspaceId', + workspaceName: 'mockWorkspaceName', + }); + + getMeshId.mockResolvedValue('mockMeshId'); + deleteLogForwarding.mockResolvedValue(); + + global.requestId = 'dummy_request_id'; + + logSpy = jest.spyOn(DeleteLogForwardingCommand.prototype, 'log'); + errorLogSpy = jest.spyOn(DeleteLogForwardingCommand.prototype, 'error'); + parseSpy = jest.spyOn(DeleteLogForwardingCommand.prototype, 'parse'); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + test('should fail if mesh ID is not found', async () => { + getMeshId.mockResolvedValueOnce(null); + + await expect(DeleteLogForwardingCommand.run()).rejects.toThrow( + 'Unable to delete log forwarding details. No mesh found for Org(mockOrgCode) -> Project(mockProjectId) -> Workspace(mockWorkspaceId). Check the details and try again.', + ); + + expect(logSpy).not.toHaveBeenCalled(); + expect(errorLogSpy).toHaveBeenCalledWith( + 'Unable to delete log forwarding details. No mesh found for Org(mockOrgCode) -> Project(mockProjectId) -> Workspace(mockWorkspaceId). Check the details and try again.', + ); + }); + + test('should skip confirmation if autoConfirmAction is set', async () => { + parseSpy.mockResolvedValueOnce({ + flags: { + ignoreCache: false, + autoConfirmAction: true, + }, + }); + + await DeleteLogForwardingCommand.run(); + + expect(promptConfirm).not.toHaveBeenCalled(); + expect(deleteLogForwarding).toHaveBeenCalledWith( + 'mockOrgCode', + 'mockProjectId', + 'mockWorkspaceId', + 'mockMeshId', + ); + expect(logSpy).toHaveBeenCalledWith('Successfully deleted log forwarding details'); + }); + + test('should fail if deleteLogForwarding throws an error', async () => { + deleteLogForwarding.mockRejectedValueOnce(new Error('Deletion failed')); + + await expect(DeleteLogForwardingCommand.run()).rejects.toThrow( + 'failed to delete log forwarding details. Try again. RequestId: dummy_request_id', + ); + + expect(logSpy).not.toHaveBeenCalledWith('Successfully deleted log forwarding details'); + expect(errorLogSpy).toHaveBeenCalledWith( + 'failed to delete log forwarding details. Try again. RequestId: dummy_request_id', + ); + }); + + test('should delete log forwarding details successfully', async () => { + await DeleteLogForwardingCommand.run(); + + expect(deleteLogForwarding).toHaveBeenCalledWith( + 'mockOrgCode', + 'mockProjectId', + 'mockWorkspaceId', + 'mockMeshId', + ); + expect(logSpy).toHaveBeenCalledWith('Successfully deleted log forwarding details'); + }); +}); diff --git a/src/commands/api-mesh/config/delete/log-forwarding.js b/src/commands/api-mesh/config/delete/log-forwarding.js new file mode 100644 index 00000000..f574416f --- /dev/null +++ b/src/commands/api-mesh/config/delete/log-forwarding.js @@ -0,0 +1,80 @@ +/* +Copyright 2021 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +const { Command } = require('@oclif/core'); +const logger = require('../../../../classes/logger'); +const { initSdk, promptConfirm } = require('../../../../helpers'); +const { ignoreCacheFlag, autoConfirmActionFlag } = require('../../../../utils'); +const { deleteLogForwarding, getMeshId } = require('../../../../lib/smsClient'); + +class DeleteLogForwardingCommand extends Command { + static flags = { + ignoreCache: ignoreCacheFlag, + autoConfirmAction: autoConfirmActionFlag, + }; + + async run() { + logger.info(`RequestId: ${global.requestId}`); + + const { flags } = await this.parse(DeleteLogForwardingCommand); + + const ignoreCache = await flags.ignoreCache; + const autoConfirmAction = await flags.autoConfirmAction; + + const { imsOrgCode, projectId, workspaceId, workspaceName } = await initSdk({ + ignoreCache, + }); + + let meshId = null; + + try { + meshId = await getMeshId(imsOrgCode, projectId, workspaceId, workspaceName); + } catch (err) { + this.error( + `Unable to get mesh ID. Please check the details and try again. RequestId: ${global.requestId}`, + ); + } + + // mesh could not be found + if (!meshId) { + this.error( + `Unable to delete log forwarding details. No mesh found for Org(${imsOrgCode}) -> Project(${projectId}) -> Workspace(${workspaceId}). Check the details and try again.`, + ); + } + + let shouldContinue = true; + + if (!autoConfirmAction) { + shouldContinue = await promptConfirm( + `Are you sure you want to delete the log forwarding details for mesh: ${meshId}?`, + ); + } + + if (shouldContinue) { + try { + await deleteLogForwarding(imsOrgCode, projectId, workspaceId, meshId); + this.log('Successfully deleted log forwarding details'); + } catch (error) { + this.log(error.message); + this.error( + `failed to delete log forwarding details. Try again. RequestId: ${global.requestId}`, + ); + } + } else { + this.log('delete log-forwarding cancelled'); + return 'delete log-forwarding cancelled'; + } + } +} + +DeleteLogForwardingCommand.description = 'Delete log forwarding details for a given mesh'; + +module.exports = DeleteLogForwardingCommand; diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index 83429bd0..d6018681 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1397,6 +1397,109 @@ const getLogForwarding = async (organizationCode, projectId, workspaceId, meshId } }; +/** + * Deletes the log forwarding configuration for a given mesh. + * + * @param {string} organizationCode - The IMS org code + * @param {string} projectId - The project ID + * @param {string} workspaceId - The workspace ID + * @param {string} meshId - The mesh ID + */ +const deleteLogForwarding = async (organizationCode, projectId, workspaceId, meshId) => { + const { accessToken } = await getDevConsoleConfig(); + const config = { + method: 'DELETE', + url: `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/log/forwarding`, + headers: { + 'Authorization': `Bearer ${accessToken}`, + 'x-request-id': global.requestId, + 'x-api-key': SMS_API_KEY, + }, + }; + + logger.info( + 'Initiating DELETE %s', + `${SMS_BASE_URL}/organizations/${organizationCode}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}/log/forwarding`, + ); + + try { + const response = await axios(config); + + logger.info('Response from DELETE %s', response.status); + + if (response && response?.status === 204) { + return response; + } else { + logger.error( + `Something went wrong: ${objToString( + response, + ['data'], + 'Unable to delete log forwarding details.', + )}. Received ${response.status}, expected 204`, + ); + throw new Error( + `something went wrong: ${objToString( + response, + ['data'], + 'Unable to delete log forwarding', + )}`, + ); + } + } catch (error) { + logger.info('Response from DELETE %s', error.response.status); + + if (error.response.status === 404) { + // The request was made and the server responded with a 404 status code + logger.error('log forwarding details not found'); + + throw new Error('log forwarding details not found'); + } else if (error.response && error.response.data) { + // The request was made and the server responded with an unsupported status code + logger.error( + 'Error while deleting log forwarding. Response: %s', + objToString(error, ['response', 'data'], 'Unable to delete log forwarding details'), + ); + + if (error.response.data.messages) { + const message = objToString( + error, + ['response', 'data', 'messages', '0', 'message'], + 'Unable to delete log forwarding details', + ); + + throw new Error(message); + } else if (error.response.data.message) { + const message = objToString( + error, + ['response', 'data', 'message'], + 'Unable to delete log forwarding details', + ); + + throw new Error(message); + } else { + const message = objToString( + error, + ['response', 'data'], + 'Unable to delete log forwarding details', + ); + + throw new Error(message); + } + } else { + // The request was made but no response was received + logger.error( + 'Error while deleting log forwarding details. No response received from the server: %s', + objToString(error, [], 'Unable to delete log forwarding details'), + ); + + throw new Error( + 'Unable to delete log forwarding details from Schema Management Service: %s', + error.message, + ); + } + } +}; + module.exports = { getApiKeyCredential, describeMesh, @@ -1420,4 +1523,5 @@ module.exports = { cachePurge, setLogForwarding, getLogForwarding, + deleteLogForwarding, }; From 7e1ac7e30e7ccac49742657cb954d145ff58c73f Mon Sep 17 00:00:00 2001 From: ajaz Date: Fri, 11 Apr 2025 18:57:45 +0530 Subject: [PATCH 47/57] chore: fix unit test file --- .../api-mesh/__tests__/delete-log-forwarding.test.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js b/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js index 45e25a5a..be874ff2 100644 --- a/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js @@ -1,3 +1,15 @@ +/* +Copyright 2021 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + const DeleteLogForwardingCommand = require('../config/delete/log-forwarding'); const { initSdk, promptConfirm } = require('../../../helpers'); const { getMeshId, deleteLogForwarding } = require('../../../lib/smsClient'); From fdb709f147a4e388f41397e9ee0369613a11c133 Mon Sep 17 00:00:00 2001 From: ajaz Date: Mon, 14 Apr 2025 16:40:31 +0530 Subject: [PATCH 48/57] chore:address review comments --- src/lib/smsClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index d6018681..a794fb92 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1431,10 +1431,10 @@ const deleteLogForwarding = async (organizationCode, projectId, workspaceId, mes return response; } else { logger.error( - `Something went wrong: ${objToString( + `Unable to delete log forwarding config: ${objToString( response, ['data'], - 'Unable to delete log forwarding details.', + 'Error', )}. Received ${response.status}, expected 204`, ); throw new Error( From 9bfc5c31fd4280db39782d682fef1a21a29228ef Mon Sep 17 00:00:00 2001 From: Sumaiya <108254100+AjazSumaiya@users.noreply.github.com> Date: Tue, 15 Apr 2025 14:46:56 +0530 Subject: [PATCH 49/57] Apply suggestions from code review Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/__tests__/delete-log-forwarding.test.js | 4 ++-- src/commands/api-mesh/config/delete/log-forwarding.js | 2 +- src/lib/smsClient.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js b/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js index be874ff2..fd4c05d9 100644 --- a/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js +++ b/src/commands/api-mesh/__tests__/delete-log-forwarding.test.js @@ -83,12 +83,12 @@ describe('delete log forwarding command tests', () => { deleteLogForwarding.mockRejectedValueOnce(new Error('Deletion failed')); await expect(DeleteLogForwardingCommand.run()).rejects.toThrow( - 'failed to delete log forwarding details. Try again. RequestId: dummy_request_id', + 'Unable to delete log forwarding details. Try again. RequestId: dummy_request_id', ); expect(logSpy).not.toHaveBeenCalledWith('Successfully deleted log forwarding details'); expect(errorLogSpy).toHaveBeenCalledWith( - 'failed to delete log forwarding details. Try again. RequestId: dummy_request_id', + 'Unable to delete log forwarding details. Try again. RequestId: dummy_request_id', ); }); diff --git a/src/commands/api-mesh/config/delete/log-forwarding.js b/src/commands/api-mesh/config/delete/log-forwarding.js index f574416f..2bfbe43a 100644 --- a/src/commands/api-mesh/config/delete/log-forwarding.js +++ b/src/commands/api-mesh/config/delete/log-forwarding.js @@ -65,7 +65,7 @@ class DeleteLogForwardingCommand extends Command { } catch (error) { this.log(error.message); this.error( - `failed to delete log forwarding details. Try again. RequestId: ${global.requestId}`, + `Unable to delete log forwarding details. Try again. RequestId: ${global.requestId}`, ); } } else { diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index a794fb92..18fe109b 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1456,7 +1456,7 @@ const deleteLogForwarding = async (organizationCode, projectId, workspaceId, mes } else if (error.response && error.response.data) { // The request was made and the server responded with an unsupported status code logger.error( - 'Error while deleting log forwarding. Response: %s', + 'Error while deleting log forwarding details. Response: %s', objToString(error, ['response', 'data'], 'Unable to delete log forwarding details'), ); @@ -1493,7 +1493,7 @@ const deleteLogForwarding = async (organizationCode, projectId, workspaceId, mes ); throw new Error( - 'Unable to delete log forwarding details from Schema Management Service: %s', + 'Unable to delete log forwarding details: %s', error.message, ); } From 5f0f7719ba1131a9cc69a5eac3b02c7a75a4c3ed Mon Sep 17 00:00:00 2001 From: ajaz Date: Tue, 15 Apr 2025 14:57:27 +0530 Subject: [PATCH 50/57] fix: linting --- src/lib/smsClient.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/smsClient.js b/src/lib/smsClient.js index 18fe109b..5ea90dbc 100644 --- a/src/lib/smsClient.js +++ b/src/lib/smsClient.js @@ -1492,10 +1492,7 @@ const deleteLogForwarding = async (organizationCode, projectId, workspaceId, mes objToString(error, [], 'Unable to delete log forwarding details'), ); - throw new Error( - 'Unable to delete log forwarding details: %s', - error.message, - ); + throw new Error('Unable to delete log forwarding details: %s', error.message); } } }; From 8fb85debd4f60709474e5494de0815cfaa902ceb Mon Sep 17 00:00:00 2001 From: ajaz Date: Tue, 15 Apr 2025 14:58:58 +0530 Subject: [PATCH 51/57] chore: bump up package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 190c9255..572b498a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.2.4-alpha.0", + "version": "5.2.4-alpha.1", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin" From 1781f1604002755519cf85e75f58c88e92999e4b Mon Sep 17 00:00:00 2001 From: Andrew Molina Date: Wed, 16 Apr 2025 17:03:54 -0500 Subject: [PATCH 52/57] chore: bump version for 5.3.0-beta.1 release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b7c5cf03..dab46346 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.2.4-alpha.1", + "version": "5.3.0-beta.1", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin" From 5692c66b6cb02a524eab8fac7292c18c28ab0419 Mon Sep 17 00:00:00 2001 From: ajaz Date: Thu, 17 Apr 2025 15:17:51 +0530 Subject: [PATCH 53/57] feat: added description for topic config --- src/commands/api-mesh/config/index.js | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/commands/api-mesh/config/index.js diff --git a/src/commands/api-mesh/config/index.js b/src/commands/api-mesh/config/index.js new file mode 100644 index 00000000..2951c3e2 --- /dev/null +++ b/src/commands/api-mesh/config/index.js @@ -0,0 +1,29 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +const { Help, Command } = require('@oclif/core'); + +class ConfigCommand extends Command { + async run() { + const help = new Help(this.config); + await help.showHelp(['api-mesh:config', '--help']); + } +} + +ConfigCommand.description = `Manage log configuration for API Mesh. + +The 'config' topic includes the following commands: +- set: Set log forwarding details for a given mesh. +- get: Retrieve log forwarding details for a given mesh. +- delete: Delete log forwarding details for a given mesh.`; + +module.exports = ConfigCommand; From be778601bf81feda9929003b89792528d8be7481 Mon Sep 17 00:00:00 2001 From: Sumaiya <108254100+AjazSumaiya@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:44:19 +0530 Subject: [PATCH 54/57] bump up package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dab46346..5e8efeb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.3.0-beta.1", + "version": "5.3.0-beta.2", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin" From 7fe187ad0a0955eae7f77abfbd77aa798890aa45 Mon Sep 17 00:00:00 2001 From: Sumaiya <108254100+AjazSumaiya@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:47:13 +0530 Subject: [PATCH 55/57] Apply suggestions from code review Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com> --- src/commands/api-mesh/config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/api-mesh/config/index.js b/src/commands/api-mesh/config/index.js index 2951c3e2..85b2556f 100644 --- a/src/commands/api-mesh/config/index.js +++ b/src/commands/api-mesh/config/index.js @@ -19,9 +19,9 @@ class ConfigCommand extends Command { } } -ConfigCommand.description = `Manage log configuration for API Mesh. +ConfigCommand.description = `Manage the configuration for API Mesh. -The 'config' topic includes the following commands: +The 'config' command includes the following options: - set: Set log forwarding details for a given mesh. - get: Retrieve log forwarding details for a given mesh. - delete: Delete log forwarding details for a given mesh.`; From 24528f12ec869411216570da0c27f885fb48e44a Mon Sep 17 00:00:00 2001 From: Brasewel Noronha <100383619+brasewel@users.noreply.github.com> Date: Thu, 17 Apr 2025 17:08:20 -0400 Subject: [PATCH 56/57] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e8efeb8..d350935d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.3.0-beta.2", + "version": "5.4.0", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin" From ba1bad1d31290b82debe5a940152e9973ab83277 Mon Sep 17 00:00:00 2001 From: Brasewel Noronha <100383619+brasewel@users.noreply.github.com> Date: Thu, 17 Apr 2025 17:11:52 -0400 Subject: [PATCH 57/57] Update package.json Co-authored-by: Andrew Molina <44038475+amolina-adobe@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d350935d..691bc6cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/aio-cli-plugin-api-mesh", - "version": "5.4.0", + "version": "5.3.0", "description": "Adobe I/O CLI plugin to develop and manage API mesh sources", "keywords": [ "oclif-plugin"